Create Rating
X-API-Key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/ratings" \ -H "Content-Type: application/json" \ -d '{ "searchId": "string", "proProfilId": "string", "average": 0, "profilId": "string", "scores": { "courtesy": 0, "cleanliness": 0, "quality": 0, "punctuality": 0, "communication": 0, "value": 0 } }'{ "type": "success", "code": "string", "status": 0, "message": "string", "data": { "id": "string", "search": {}, "proProfil": {}, "profil": {}, "scores": { "courtesy": 1, "cleanliness": 1, "quality": 1, "punctuality": 1, "communication": 1, "value": 1 }, "average": 1, "comment": "string", "createdAt": "2019-08-24T14:15:22Z" }}