POST api/Webhook

Request Information

URI Parameters

None.

Body Parameters

WebhookReceiverModel
NameDescriptionTypeAdditional information
Delivery_Id

integer

None.

Subscription_Id

string

None.

Program_Id

string

None.

Events

Collection of WebhookEventModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Delivery_Id": 1,
  "Subscription_Id": "sample string 2",
  "Program_Id": "sample string 3",
  "Events": [
    {
      "Id": "4ee88e0b-b401-4b95-b9ab-984b2249228f",
      "Timestamp": "2024-12-14T23:41:46.5945649-08:00",
      "Name": "sample string 3",
      "Version": "sample string 4",
      "Content_Id": 5,
      "Channel_Ids": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "Id": "4ee88e0b-b401-4b95-b9ab-984b2249228f",
      "Timestamp": "2024-12-14T23:41:46.5945649-08:00",
      "Name": "sample string 3",
      "Version": "sample string 4",
      "Content_Id": 5,
      "Channel_Ids": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<WebhookReceiverModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstUpAPI.Models">
  <Delivery_Id>1</Delivery_Id>
  <Events>
    <WebhookEventModel>
      <Channel_Ids xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Channel_Ids>
      <Content_Id>5</Content_Id>
      <Id>4ee88e0b-b401-4b95-b9ab-984b2249228f</Id>
      <Name>sample string 3</Name>
      <Timestamp>2024-12-14T23:41:46.5945649-08:00</Timestamp>
      <Version>sample string 4</Version>
    </WebhookEventModel>
    <WebhookEventModel>
      <Channel_Ids xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Channel_Ids>
      <Content_Id>5</Content_Id>
      <Id>4ee88e0b-b401-4b95-b9ab-984b2249228f</Id>
      <Name>sample string 3</Name>
      <Timestamp>2024-12-14T23:41:46.5945649-08:00</Timestamp>
      <Version>sample string 4</Version>
    </WebhookEventModel>
  </Events>
  <Program_Id>sample string 3</Program_Id>
  <Subscription_Id>sample string 2</Subscription_Id>
</WebhookReceiverModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.