POST api/WhatsAppOrderBot/SaveBusinessLocation
Request Information
URI Parameters
None.
Body Parameters
WhatsAppBusinessLocationName | Description | Type | Additional information |
---|---|---|---|
businessId | integer |
None. |
|
userId | integer |
None. |
|
countryId | integer |
None. |
|
phoneNo | string |
None. |
|
channel | string |
None. |
|
businessName | string |
None. |
|
firstName | string |
None. |
|
lastName | string |
None. |
|
address | string |
None. |
|
state | string |
None. |
|
stateId | integer |
None. |
|
lcda | string |
None. |
|
lcdaId | integer |
None. |
|
latitude | string |
None. |
|
longitude | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "businessId": 1, "userId": 2, "countryId": 3, "phoneNo": "sample string 4", "channel": "sample string 5", "businessName": "sample string 6", "firstName": "sample string 7", "lastName": "sample string 8", "address": "sample string 9", "state": "sample string 10", "stateId": 11, "lcda": "sample string 12", "lcdaId": 13, "latitude": "sample string 14", "longitude": "sample string 15" }
application/xml, text/xml
Sample:
<WhatsAppBusinessLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <businessId>1</businessId> <userId>2</userId> <countryId>3</countryId> <phoneNo>sample string 4</phoneNo> <channel>sample string 5</channel> <businessName>sample string 6</businessName> <firstName>sample string 7</firstName> <lastName>sample string 8</lastName> <address>sample string 9</address> <state>sample string 10</state> <stateId>11</stateId> <lcda>sample string 12</lcda> <lcdaId>13</lcdaId> <latitude>sample string 14</latitude> <longitude>sample string 15</longitude> </WhatsAppBusinessLocation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/28 14:13:24", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>