POST api/webhook/set

Request Information

URI Parameters

None.

Body Parameters

RequestWebHookSet
NameDescriptionTypeAdditional information
WebHook

Webhook

None.

Request Formats

application/json, text/json

Sample:
{
  "WebHook": {
    "aliado": "sample string 1",
    "objecto": "sample string 2",
    "evento": "sample string 3",
    "url": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<RequestWebHookSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiContler.Models">
  <WebHook>
    <aliado>sample string 1</aliado>
    <evento>sample string 3</evento>
    <objecto>sample string 2</objecto>
    <url>sample string 4</url>
  </WebHook>
</RequestWebHookSet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />