Skip to main content

Submit feedback

POST{{server}}/api/v1/smart/feedbackSubmit

This endpoint allows the customer to submit feedback by providing answers to specific questions along with optional free-text comments.

Request

  • answers (array of objects, required): An array containing objects with the following keys:

    • question (string, required): The unique identifier of the question.

    • answer (string, required): The user's response to the question.

    • comment (string, optional): Free-text comment provided by the user.

Response

It returns status 204, if the submission was successful.

Request​

Authorization​

HeaderValue
AuthorizationSmartToken {{ticketToken}}

Headers​

KeyValue
Acceptapplication/json

Body (json)​

{
"answers": [
{
"question": "00000000-0000-4000-0014-000000000001",
"answer": "00000000-0000-4000-0015-000000000002",
"comment": "Free-text comment"
}
]
}

Code snippets​

curl -X POST '{{server}}/api/v1/smart/feedbackSubmit' \
-H 'Accept: application/json' \
-H 'Authorization: SmartToken {{ticketToken}}' \
-H 'Content-Type: application/json' \
-d '{
"answers": [
{
"question": "00000000-0000-4000-0014-000000000001",
"answer": "00000000-0000-4000-0015-000000000002",
"comment": "Free-text comment"
}
]
}'

Example​

Example request
POST{{server}}/api/v1/smart/feedbackSubmit
Headers (1)
KeyValue
Acceptapplication/json
Body
{
"answers": [
{
"question": "00000000-0000-4000-0014-000000000001",
"answer": "00000000-0000-4000-0015-000000000002",
"comment": "Free-text comment"
}
]
}
Example response 204 No Content
No response body