| GET | /Webhooks/Subscribers/{SubscriberID} | Retrieves a Webhook subscriber. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SubscriberID | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Subscriptions | form | List<SY_WebhookSubscription> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecID | form | Guid | No | |
| Name | form | string | No | |
| IsEnabled | form | bool | No | |
| ItemNo | form | int | No | |
| LastSavedDateTime | form | DateTime | No | |
| RowHash | form | byte[] | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecID | form | Guid | No | |
| SY_WebhookSubscriber_RecID | form | Guid | No | |
| EventName | form | string | No | |
| URL | form | string | No | |
| ItemNo | form | int | No | |
| LastSavedDateTime | form | DateTime | No | |
| RowHash | form | byte[] | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Webhooks/Subscribers/{SubscriberID} HTTP/1.1
Host: localhost
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Subscriptions":[{"EventName":"String","URL":"String","RowHash":"AA=="}],"Name":"String","RowHash":"AA=="}