---
agentTools:
  projectIndex: https://docs.gazoop.com/llms.txt
---

# booking_feedback

This allows you to submit feedback against a booking on behalf of a customer, including commendations and complaints.

This chapter describes how to provide booking feedback using the BOOKING\_FEEDBACK command. This by default requires a rating from 1 to 5, 1 being awful and 5 being excellent. There is an optional notes field which will escalate the booking to the fleet operator’s attention to review (for example, for complaints or lost property).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://cp.gazoop.com/public_api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/booking_feedback.json": {
      "post": {
        "summary": "booking_feedback",
        "description": "This allows you to submit feedback against a booking on behalf of a customer, including commendations and complaints.",
        "operationId": "booking_feedback",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "api_key",
                  "phone_number",
                  "job_id",
                  "rating"
                ],
                "properties": {
                  "api_key": {
                    "type": "string",
                    "description": "This is a 25 alphanumeric hash code provided to you by the fleet."
                  },
                  "phone_number": {
                    "type": "integer",
                    "description": "This is the mobile number for the customer account.",
                    "format": "int32"
                  },
                  "customer_pin": {
                    "type": "integer",
                    "description": "You can also send the customers PIN number for verification, if this fails, the API command will fail. If left blank, no validation is done on the authenticity of the customer ID.",
                    "format": "int32"
                  },
                  "job_id": {
                    "type": "integer",
                    "description": "This is the booking reference for the job that is being provided feedback,",
                    "format": "int32"
                  },
                  "rating": {
                    "type": "integer",
                    "description": "This is a numerical rating from 1 through to 5. If no rating is provided, please set this to 0.",
                    "format": "int32"
                  },
                  "notes": {
                    "type": "string",
                    "description": "This is a text-based note that will flag the job for review by the fleet operator. This can be used for complaints, lost property, or any other important information after, before, or during the job."
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "62fe83058235aa481652e198:543f0e8415d056080050281b"
}
```