POST api/payCallRegister/setWebHook
Request Information
URI Parameters
None.
Body Parameters
modelPayCallWebHook| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| url_webhook | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"url_webhook": "sample string 2"
}
text/xml
Sample:
<modelPayCallWebHook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/whatsAppServer.Models.PayCall"> <token>sample string 1</token> <url_webhook>sample string 2</url_webhook> </modelPayCallWebHook>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>