URL

https://devwebapi.leadmaster.com/api/LMWebAPI/GetWebhookSubscriptions?accesstoken={accesstoken}

Description

Get All Webhook subscriptions

HttpMethod

GET

Request Information

Parameters

NameDescriptionAdditional information
accesstoken
accesstoken for the given logon.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "SubscriptionID": 1,
    "WebhookURL": "sample string 2",
    "SubscriptionEvent": "sample string 3",
    "OtherResource": "sample string 4"
  },
  {
    "SubscriptionID": 1,
    "WebhookURL": "sample string 2",
    "SubscriptionEvent": "sample string 3",
    "OtherResource": "sample string 4"
  },
  {
    "SubscriptionID": 1,
    "WebhookURL": "sample string 2",
    "SubscriptionEvent": "sample string 3",
    "OtherResource": "sample string 4"
  }
]

application/xml, text/xml

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