POST api/WhatsAppOrderBot/SaveBusinessLocation
Request Information
URI Parameters
None.
Body Parameters
WhatsAppBusinessLocation| Name | 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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <address>sample string 9</address> <businessId>1</businessId> <businessName>sample string 6</businessName> <channel>sample string 5</channel> <countryId>3</countryId> <firstName>sample string 7</firstName> <lastName>sample string 8</lastName> <latitude>sample string 14</latitude> <lcda>sample string 12</lcda> <lcdaId>13</lcdaId> <longitude>sample string 15</longitude> <phoneNo>sample string 4</phoneNo> <state>sample string 10</state> <stateId>11</stateId> <userId>2</userId> </WhatsAppBusinessLocation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | 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/11/03 16:00:53",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>