Authorization: Bearer ********************
curl --location --request GET 'https://api.gofive.co.th/v1/deals/reason-categories' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json'
{
"data": [
{
"dealCategoryId": 6066,
"dealCategoryName": "ข้อตกลงและเงื่อนไข",
"dateCreated": "2023-02-07T16:51:40+0700",
"createdByUserId": "00000000-0000-0000-0000-000000000000"
},
{
"dealCategoryId": 6069,
"dealCategoryName": "ถูกยกเลิก",
"dateCreated": "2023-02-07T16:51:40+0700",
"createdByUserId": "00000000-0000-0000-0000-000000000000"
},
{
"dealCategoryId": 6063,
"dealCategoryName": "ราคา",
"dateCreated": "2023-02-07T16:51:40+0700",
"createdByUserId": "00000000-0000-0000-0000-000000000000"
}
],
"statusCode": 1000,
"httpStatusCode": 200
}