Feedback

Create a new Feedback

OAuth Scope

This endpoint requires the following OAuth scope manage_feedback.

Record UUID

UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.

post/feedback.json

Request body

timestampstring

Date and time when the feedback was submitted

related_objectstring

Type of object this feedback relates to (usually 'job' or 'vendor')

related_object_uuidstring uuid

UUID of the specific object this feedback is about, corresponding to the object type specified in related_object

ratingstring

Numeric rating value for the feedback, between 1-5 where higher values represent more positive feedback

commentstring

Text comments provided with the feedback

uuidstring uuid

Unique identifier for this record

Example request

{
  "related_object_uuid": "123e4567-6c64-482a-a93f-23482825520b",
  "uuid": "123e4567-028e-4e07-811c-234827ce664b"
}

Response

Success

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes