POST api/CDCWebHookNot

Request Information

URI Parameters

None.

Body Parameters

CDC_WebHookRequest
NameDescriptionTypeAdditional information
events

Collection of Event

None.

nonce

string

None.

timestamp

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "events": [
    {
      "type": "sample string 1",
      "id": "sample string 2",
      "timestamp": 3,
      "callId": "sample string 4",
      "version": "sample string 5",
      "apiKey": "sample string 6",
      "data": {
        "accountType": "sample string 1",
        "uid": "sample string 2"
      }
    },
    {
      "type": "sample string 1",
      "id": "sample string 2",
      "timestamp": 3,
      "callId": "sample string 4",
      "version": "sample string 5",
      "apiKey": "sample string 6",
      "data": {
        "accountType": "sample string 1",
        "uid": "sample string 2"
      }
    }
  ],
  "nonce": "sample string 1",
  "timestamp": 2
}

text/html

Sample:
{"events":[{"type":"sample string 1","id":"sample string 2","timestamp":3,"callId":"sample string 4","version":"sample string 5","apiKey":"sample string 6","data":{"accountType":"sample string 1","uid":"sample string 2"}},{"type":"sample string 1","id":"sample string 2","timestamp":3,"callId":"sample string 4","version":"sample string 5","apiKey":"sample string 6","data":{"accountType":"sample string 1","uid":"sample string 2"}}],"nonce":"sample string 1","timestamp":2}

application/xml, text/xml

Sample:
<CDC_WebHookRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApolloAPI.dto">
  <events>
    <CDC_WebHookRequest.Event>
      <apiKey>sample string 6</apiKey>
      <callId>sample string 4</callId>
      <data>
        <accountType>sample string 1</accountType>
        <uid>sample string 2</uid>
      </data>
      <id>sample string 2</id>
      <timestamp>3</timestamp>
      <type>sample string 1</type>
      <version>sample string 5</version>
    </CDC_WebHookRequest.Event>
    <CDC_WebHookRequest.Event>
      <apiKey>sample string 6</apiKey>
      <callId>sample string 4</callId>
      <data>
        <accountType>sample string 1</accountType>
        <uid>sample string 2</uid>
      </data>
      <id>sample string 2</id>
      <timestamp>3</timestamp>
      <type>sample string 1</type>
      <version>sample string 5</version>
    </CDC_WebHookRequest.Event>
  </events>
  <nonce>sample string 1</nonce>
  <timestamp>2</timestamp>
</CDC_WebHookRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CDC_WebHoobResponse
NameDescriptionTypeAdditional information
status

integer

None.

message

string

None.

errorLogId

string

None.

apolloErrorLogId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "message": "sample string 2",
  "errorLogId": "sample string 3",
  "apolloErrorLogId": "sample string 4"
}

text/html

Sample:
{"status":1,"message":"sample string 2","errorLogId":"sample string 3","apolloErrorLogId":"sample string 4"}

application/xml, text/xml

Sample:
<CDC_WebHoobResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApolloAPI.dto">
  <apolloErrorLogId>sample string 4</apolloErrorLogId>
  <errorLogId>sample string 3</errorLogId>
  <message>sample string 2</message>
  <status>1</status>
</CDC_WebHoobResponse>