POST api/v1/webhooks/notification/customerpartnercoupon
Request Information
URI Parameters
None.
Body Parameters
WHMessageBody| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| OrganizationCode | string |
None. |
|
| TargetId | globally unique identifier |
None. |
|
| TargetsId | Collection of globally unique identifier |
None. |
|
| ExtraData | Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"message": "sample string 1",
"organizationCode": "sample string 2",
"targetId": "c3ab07d9-5b8b-4be2-8826-74eeda6980e8",
"targetsId": [
"e57ec01f-b96a-422e-afda-e2df265d31f4",
"69f6ae89-f58e-4665-9044-8e9b6f48d3a9"
],
"extraData": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
application/xml, text/xml
Sample:
<WHMessageBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.WebHooks">
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</ExtraData>
<Message>sample string 1</Message>
<OrganizationCode>sample string 2</OrganizationCode>
<TargetId>c3ab07d9-5b8b-4be2-8826-74eeda6980e8</TargetId>
<TargetsId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e57ec01f-b96a-422e-afda-e2df265d31f4</d2p1:guid>
<d2p1:guid>69f6ae89-f58e-4665-9044-8e9b6f48d3a9</d2p1:guid>
</TargetsId>
</WHMessageBody>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.