POST api/NotifyApi/SendNotification

Request Information

URI Parameters

None.

Body Parameters

NotificationServiceRequest
NameDescriptionTypeAdditional information
WebhookRequestType

WebhookRequestType

None.

DocketDetails

DocketDTO

None.

DataTobeSent

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "WebhookRequestType": 0,
  "DocketDetails": {
    "Namecode": "sample string 1",
    "Doctype": 0,
    "Docket": 2,
    "Reference": "sample string 3"
  },
  "DataTobeSent": {}
}

application/xml, text/xml

Sample:
<NotificationServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SCSWebhooks.Domain.Models">
  <DataTobeSent />
  <DocketDetails>
    <Docket>2</Docket>
    <Doctype>A</Doctype>
    <Namecode>sample string 1</Namecode>
    <Reference>sample string 3</Reference>
  </DocketDetails>
  <WebhookRequestType>Adjustments</WebhookRequestType>
</NotificationServiceRequest>

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.