URL

https://webapi.leadmaster.com/api/LMWebAPI/AddWebhookSubscriptions?accesstoken={accesstoken}

Description

Add Webhook subscriptions

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
accesstoken
for the given subscription.

Define this parameter in the request URI.

ws
No documentation available.

Define this parameter in the request body.

Request body formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<WebhookSubscriptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects">
  <OtherResource>sample string 4</OtherResource>
  <SubscriptionEvent>sample string 3</SubscriptionEvent>
  <SubscriptionID>1</SubscriptionID>
  <WebhookURL>sample string 2</WebhookURL>
</WebhookSubscriptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<TypeWebhookSubscriptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects">
  <SubscriptionID>1</SubscriptionID>
</TypeWebhookSubscriptions>