createFeedback
createFeedback
post
createFeedback
Allows customer to provide feedback of the requested service, once service is completed
Resource URL
https://api-sandbox.arity.com/services/roadside/v1/rescue/feedback
Header Parameters
Name | Values | Description |
---|---|---|
Content-Type |
|
|
Authorization
(required) |
Bearer Token generated from OAuth API (client_credentials grant) |
Request Body
This API method is used to rate both the Application and the Provider
{
1
{
2
"actionId": "",
3
"providerId": "",
4
"requestId": "",
5
"sessionId": "",
6
"ratings": [
7
{
8
"rating": 0,
9
"type": ""
10
}
11
]
12
}
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Response Error Details
-
HTTP CodeError CodeDescription
-
400400
Bad Request response
-
401401
Unauthorized response
-
500500
Service Error response
Resource Summary |
|
Security |
None |
Category |
Collect Customer Feedback |
Name | Type | Description |
---|---|---|
actionId | string | (Optional) the ID associated with the action to be taken in the request (e.g. tow, battery, lockout, etc.) |
providerId | string | (Optional) The provider ID for the provider servicing the job |
requestId | string | (Required) The request ID for the rescue |
sessionId | string | (Required) The session ID for the rescue |
ratings | array | The feedback for the provider and the application |
ratings[] .rating | number | (Required) The rating between 0-5 |
ratings[] .type | string | (Required) The type is either PROVIDER or APP based on which one is being rated |
Name | Type | Description |
---|---|---|
messsage | string | The response message from the API request |
Working...