POST api/Webhook

Request Information

URI Parameters

None.

Body Parameters

Collection of WebhookEvent
NameDescriptionTypeAdditional information
eventId

integer

None.

subscriptionId

integer

None.

portalId

integer

None.

appId

integer

None.

occurredAt

integer

None.

subscriptionType

string

None.

attemptNumber

integer

None.

objectId

integer

None.

changeFlag

string

None.

changeSource

string

None.

sourceId

string

None.

propertyName

string

None.

propertyValue

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "eventId": 1,
    "subscriptionId": 2,
    "portalId": 3,
    "appId": 4,
    "occurredAt": 5,
    "subscriptionType": "sample string 6",
    "attemptNumber": 7,
    "objectId": 8,
    "changeFlag": "sample string 9",
    "changeSource": "sample string 10",
    "sourceId": "sample string 11",
    "propertyName": "sample string 12",
    "propertyValue": "sample string 13"
  },
  {
    "eventId": 1,
    "subscriptionId": 2,
    "portalId": 3,
    "appId": 4,
    "occurredAt": 5,
    "subscriptionType": "sample string 6",
    "attemptNumber": 7,
    "objectId": 8,
    "changeFlag": "sample string 9",
    "changeSource": "sample string 10",
    "sourceId": "sample string 11",
    "propertyName": "sample string 12",
    "propertyValue": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWebhookEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHCycle_API.Controllers">
  <WebhookEvent>
    <appId>4</appId>
    <attemptNumber>7</attemptNumber>
    <changeFlag>sample string 9</changeFlag>
    <changeSource>sample string 10</changeSource>
    <eventId>1</eventId>
    <objectId>8</objectId>
    <occurredAt>5</occurredAt>
    <portalId>3</portalId>
    <propertyName>sample string 12</propertyName>
    <propertyValue>sample string 13</propertyValue>
    <sourceId>sample string 11</sourceId>
    <subscriptionId>2</subscriptionId>
    <subscriptionType>sample string 6</subscriptionType>
  </WebhookEvent>
  <WebhookEvent>
    <appId>4</appId>
    <attemptNumber>7</attemptNumber>
    <changeFlag>sample string 9</changeFlag>
    <changeSource>sample string 10</changeSource>
    <eventId>1</eventId>
    <objectId>8</objectId>
    <occurredAt>5</occurredAt>
    <portalId>3</portalId>
    <propertyName>sample string 12</propertyName>
    <propertyValue>sample string 13</propertyValue>
    <sourceId>sample string 11</sourceId>
    <subscriptionId>2</subscriptionId>
    <subscriptionType>sample string 6</subscriptionType>
  </WebhookEvent>
</ArrayOfWebhookEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.