Otter · JSON Structure

Public Api Get Report Status Response Structure

GetReportStatusResponse schema from Public API (Otter Public API).

Type: object Properties: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

GetReportStatusResponse is a JSON Structure definition published by Otter, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

status payload

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-get-report-status-response-structure.json",
  "name": "GetReportStatusResponse",
  "description": "GetReportStatusResponse schema from Public API (Otter Public API).",
  "type": "object",
  "properties": {
    "status": {
      "description": "Report export status",
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "READY",
        "ERROR",
        "EXPIRED"
      ],
      "example": "IN_PROGRESS"
    },
    "payload": {
      "type": "object",
      "properties": {
        "reportUrl": {
          "type": "string",
          "nullable": true,
          "description": "Url to download the report. It will be available only if status is \"READY\"",
          "example": "https://example.com/path/to/report.csv.gz"
        },
        "errorMessage": {
          "type": "string",
          "nullable": true,
          "description": "Error message. It will be available only if status is \"ERROR\"",
          "example": "Report generation error. Please reach out to support and provide jobId"
        }
      }
    }
  }
}