Feedback

Update a Feedback

Changed on

OAuth Scope

This endpoint requires the following OAuth scope manage_feedback.

post/feedback/{uuid}.json

Request

  • Base URL
    https://api.servicem8.com/api_1.0
  • URL
    https://api.servicem8.com/api_1.0/feedback/{uuid}.json
  • Auth
    • API key in header X-Api-Key
    • or OAuth 2
      Authorization code: https://api.servicem8.com/oauth/authorize
      Token URL: https://api.servicem8.com/oauth/access_token scopes: manage_feedback

Path parameters

uuidstring uuid required

UUID of the Feedback

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-6c6e-4c0e-aa59-23f9417e4cdb",
  "uuid": "123e4567-edbc-4eb4-bc22-23f942892c9b"
}

Response

Success - The record was updated successfully

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes

    • warning

      removed the request property

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status