curl --location --request PUT '/api/agent/0/rating' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"vote_type": "upvote"
}'
{
"success": true,
"message": "status code 201: Agent Rating updated successfully",
"data": [
{
"id": 10,
"created_by": "user@example.com",
"created_on": "2024-09-23T19:43:54.389097Z",
"modified_by": "",
"modified_on": "2024-09-23T19:43:54.389141Z",
"is_upvote": false,
"user": 3,
"agent": 3
}
]
}