Authorization: Bearer ********************
{
"subject": "Update Case",
"customerCode": "C000154",
"categoryId": 2140016585,
"dateCase": "2025-02-05T17:35:53.693+0700",
"dateDue": "2025-02-05T17:35:53.693+0700",
"activityNos": [
"A20250200028",
"A20250200029"
],
"dealNos": [
"D241200044",
"D241200047"
],
"note": "description",
"assignedToUserId": "6d473b8f-a6b3-4536-b1e6-f4b7688414e2"
}
curl --location --request PUT 'https://api.gofive.co.th/v1/case/T250200010' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscriptin-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"subject": "Update Case",
"customerCode": "C000154",
"categoryId": 2140016585,
"dateCase": "2025-02-05T17:35:53.693+0700",
"dateDue": "2025-02-05T17:35:53.693+0700",
"activityNos": [
"A20250200028",
"A20250200029"
],
"dealNos": [
"D241200044",
"D241200047"
],
"note": "description",
"assignedToUserId": "6d473b8f-a6b3-4536-b1e6-f4b7688414e2"
}'
{
"status": {
"code": "1000",
"description": "Success"
},
"data": {
"data": {
"feedbackId": 67941,
"companyId": 507,
"customerId": 705693,
"feedbackNo": "T250200010",
"subject": "Create new case (Edit)",
"statusId": 201,
"feedbackTypeId": 592,
"feedbackFromId": 50642,
"feedbackFromName": "𝗢𝗮𝘀𝗶𝘀 𝗦𝗽𝗮 Thailand",
"note": "Bff description",
"assignedToUserId": "6d473b8f-a6b3-4536-b1e6-f4b7688414e2",
"dateAssigned": "2025-02-06T09:41:33+0700",
"dateCase": "2025-02-05T17:35:53+0700",
"dateDue": "2025-02-05T17:35:53+0700",
"createdByUserId": "23108b99-ee24-43c4-b9e7-58dc6a4e16a2",
"dateCreated": "2025-02-06T09:41:33+0700",
"updatedByUserId": "23108b99-ee24-43c4-b9e7-58dc6a4e16a2",
"dateUpdated": "2025-02-06T09:55:04+0700",
"dateLatestAnswer": "2025-02-06T09:41:33+0700"
},
"statusCode": 1000,
"httpStatusCode": 200
}
}