List all subscribe webhook
Request Header | Authorization | |
Authentication | Yes |
List all subscribe webhook
Request Header | Authorization | |
Authentication | Yes |
Request Parameter
Field | DataType | Required | Description |
isActive | boolean | active status | |
filter | string | search filter | |
page | Integer | Yes | page index |
size | Integer | Yes | record per page |
orderBy | OrderBy[] | No | order by colums |
column | String | Yes | order column |
orderType | String | Yes | order type (asc, desc) |
Response Parameter
Field | DataType | Description | |
status | string | response status | |
message | string | response message | |
payload | |||
id | string | id | |
webhookName | string | webhook name | |
partnerId | integer | partner id | |
partnerName | string | partner name | |
webhookType | string | webhook type | |
targetUrl | string | target url | |
isActive | boolean | is active |
{
"isActive":null,
"filter":"",
"page":0,
"size":100,
"orderBy": [
{
"column": "id",
"orderType": "Desc"
}
]
}
Status Code | Error Description |
000 | Success |
Status Code | Error Description |
101 | General/Process error (see message) |
301 | Permission denined |
401 | Unauthorized |
500 | Internal server error (see message) |
{
"status": "000",
"message": "Success",
"payload": {
"total": 1,
"data": [
{
"id": 14,
"webhookName": "model.PartnerName-TRANS",
"partnerId": 11,
"partnerName": "Uat012222",
"webhookType": "TRANS",
"targetUrl": "https://webhook.site/0916c69c-7e2a-4b34-a9f3-a394d9724596",
"isActive": true,
"isDeleted": false,
"createdOn": "2024-09-03T08:32:02.07521Z",
"createdBy": 67,
"createdByName": "Uat01 Api",
"modifiedOn": null,
"modifiedBy": null,
"modifiedByName": null
}
]
}
}