POST api/WhatsAppOrderBot/WatchList
Request Information
URI Parameters
None.
Body Parameters
WhatsAppWatchListName | Description | Type | Additional information |
---|---|---|---|
userId | integer |
None. |
|
phoneNo | string |
None. |
|
customerId | integer |
None. |
|
channel | string |
None. |
|
state | string |
None. |
|
lcda | string |
None. |
|
stockPointId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "userId": 1, "phoneNo": "sample string 2", "customerId": 3, "channel": "sample string 4", "state": "sample string 5", "lcda": "sample string 6", "stockPointId": 7 }
application/xml, text/xml
Sample:
<WhatsAppWatchList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <channel>sample string 4</channel> <customerId>3</customerId> <lcda>sample string 6</lcda> <phoneNo>sample string 2</phoneNo> <state>sample string 5</state> <stockPointId>7</stockPointId> <userId>1</userId> </WhatsAppWatchList>
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/05/03 02:50:40", "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>