POST api/Webhook/800go

Use this API, find out the webhook payload JSON structure for 800go.

Request Information

URI Parameters

None.

Body Parameters

WebhookModel
NameDescriptionTypeAdditional information
event

you can parse here event name.

string

Required

payload

you can parse here event payload json.

Object

Required

Request Formats

application/json, text/json

Sample:
{
  "event": "sample string 1",
  "payload": {}
}

application/xml, text/xml

Sample:
<WebhookModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObject.ViewModel">
  <event>sample string 1</event>
  <payload />
</WebhookModel>

Response Information

Resource Description

APIResponseBaseOfWebhookModel
NameDescriptionTypeAdditional information
StatusCode

integer

None.

IsSuccess

boolean

None.

Message

string

None.

Result

WebhookModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "IsSuccess": true,
  "Message": "sample string 3",
  "Result": {
    "event": "sample string 1",
    "payload": {}
  }
}

application/xml, text/xml

Sample:
<APIResponseBaseOfWebhookModel1mpfSM9h xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObject.Other">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessObject.ViewModel">
    <d2p1:event>sample string 1</d2p1:event>
    <d2p1:payload />
  </Result>
  <StatusCode>1</StatusCode>
</APIResponseBaseOfWebhookModel1mpfSM9h>