---
updatedAt: 2026-04-23T13:29:19.000Z
agentTools:
  projectIndex: https://developer.xentral.com/llms.txt
---

# View production

View a production

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Xentral API",
    "version": "v0.1",
    "description": "Xentral is an ERP platform.",
    "contact": {
      "name": "Xentral",
      "url": "https://xentral.com",
      "email": "api@xentral.com"
    }
  },
  "tags": [
    {
      "name": "Production",
      "description": "Production resource management"
    }
  ],
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Bearer token obtained in POST /tokens endpoint or pregenerated in the system."
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://{xentralId}.xentral.biz",
      "description": "Your Xentral Instance",
      "variables": {
        "xentralId": {
          "default": "xentral"
        }
      }
    },
    {
      "url": "https://{domain}",
      "description": "Xentral at a custom domain",
      "variables": {
        "domain": {
          "default": "xentral.com"
        }
      }
    }
  ],
  "x-readme": {
    "samples-languages": []
  },
  "paths": {
    "/api/v1/productions/{id}": {
      "get": {
        "tags": [
          "Production"
        ],
        "operationId": "production.view",
        "summary": "View production",
        "description": "View a production",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "description": "The resource's identifier.",
            "schema": {
              "type": "string",
              "pattern": "\\d+",
              "example": "17",
              "description": "Resource identifier."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Productions view based on id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "description": "An entity of production response",
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "documentNumber",
                        "bodyOutroduction",
                        "date",
                        "dateDelivery",
                        "dateProvision",
                        "dateProduction",
                        "dateProductionEnd",
                        "status",
                        "customer",
                        "project",
                        "salesOrder",
                        "batch",
                        "internalDesignation",
                        "preferredWarehouse",
                        "reservationType",
                        "retrievalType",
                        "explodeSublists",
                        "functionalTest",
                        "displayWorkingStepTexts",
                        "createSerialNumbers",
                        "captureComponentSerialnumbers",
                        "internalComment",
                        "completed",
                        "finalRemark",
                        "customerCheckOk",
                        "depletingOk",
                        "positions",
                        "partialProductionNumber",
                        "partialProductionOf",
                        "stockingOk",
                        "stockOk",
                        "log"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "\\d+",
                          "example": "17",
                          "description": "Resource identifier."
                        },
                        "documentNumber": {
                          "type": "string",
                          "description": "documentNumber",
                          "example": "DOC-123456"
                        },
                        "bodyOutroduction": {
                          "type": "string",
                          "description": "BodyOutroduction of the production",
                          "example": "This is the conclusion section of the production document."
                        },
                        "date": {
                          "type": "string",
                          "format": "date",
                          "description": "Production Date",
                          "example": "2024-09-18"
                        },
                        "dateDelivery": {
                          "type": "string",
                          "format": "date",
                          "nullable": true,
                          "description": "Production Delivery Date",
                          "example": "2024-09-25"
                        },
                        "dateProvision": {
                          "type": "string",
                          "format": "date",
                          "nullable": true,
                          "description": "Provision Date",
                          "example": "2024-09-20"
                        },
                        "dateProduction": {
                          "type": "string",
                          "format": "date",
                          "nullable": true,
                          "description": "Production Date",
                          "example": "2024-09-21"
                        },
                        "dateProductionEnd": {
                          "type": "string",
                          "format": "date",
                          "nullable": true,
                          "description": "Production End Date",
                          "example": "2024-09-22"
                        },
                        "status": {
                          "type": "string",
                          "description": "Production Status",
                          "example": "In Progress"
                        },
                        "customer": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "\\d+",
                              "example": "17",
                              "description": "Resource identifier."
                            }
                          },
                          "nullable": true,
                          "description": "Customer of the production",
                          "example": {
                            "id": "17"
                          }
                        },
                        "project": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "\\d+",
                              "example": "17",
                              "description": "Resource identifier."
                            }
                          },
                          "nullable": true,
                          "description": "Project of the production",
                          "example": {
                            "id": "17"
                          }
                        },
                        "salesOrder": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "\\d+",
                              "example": "17",
                              "description": "Resource identifier."
                            }
                          },
                          "nullable": true,
                          "description": "Sales Order of the production",
                          "example": {
                            "id": "17"
                          }
                        },
                        "batch": {
                          "type": "string",
                          "description": "Batch of the production",
                          "nullable": true,
                          "example": "BATCH-001"
                        },
                        "internalDesignation": {
                          "type": "string",
                          "description": "Internal Designation of the production",
                          "example": "Batch A-123"
                        },
                        "positions": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "id": {
                                "type": "string",
                                "pattern": "\\d+",
                                "example": "17",
                                "description": "Resource identifier."
                              },
                              "sort": {
                                "type": "integer",
                                "description": "Sort order of the position",
                                "example": 1
                              },
                              "quantity": {
                                "type": "number",
                                "format": "float",
                                "description": "Quantity of the position",
                                "example": 10
                              },
                              "unit": {
                                "type": "string",
                                "description": "Unit of the position",
                                "example": "pcs"
                              },
                              "product": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "\\d+",
                                    "example": "17",
                                    "description": "Resource identifier."
                                  },
                                  "number": {
                                    "type": "string",
                                    "description": "Product number",
                                    "example": "PROD-12345"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Product name",
                                    "example": "Sample Product"
                                  },
                                  "description": {
                                    "type": "string",
                                    "description": "Product description",
                                    "example": "This is a sample product."
                                  },
                                  "project": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "pattern": "\\d+",
                                        "example": "17",
                                        "description": "Resource identifier."
                                      }
                                    }
                                  },
                                  "freeFields": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "pattern": "\\d+",
                                          "example": "17",
                                          "description": "Resource identifier."
                                        },
                                        "value": {
                                          "type": "string",
                                          "description": "Value of the free field",
                                          "example": "12"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "remark": {
                                "type": "string",
                                "description": "Remark for the product",
                                "example": "test"
                              },
                              "billOfMaterialLevel": {
                                "type": "integer",
                                "nullable": true,
                                "description": "Bill of Material Level of the product",
                                "example": 10
                              },
                              "hasChildren": {
                                "type": "boolean",
                                "description": "Indicates if the product has children",
                                "example": false
                              },
                              "parent": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "\\d+",
                                    "example": "17",
                                    "description": "Resource identifier."
                                  }
                                },
                                "nullable": true,
                                "description": "Parent ID of the product"
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "description": "Time when the position was created",
                                "example": "2025-05-05 00:00:00"
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "description": "Time when the position was last updated",
                                "example": "2025-06-06 00:00:00"
                              }
                            }
                          },
                          "description": "Positions of the production",
                          "example": [
                            {
                              "id": "1",
                              "sort": 2,
                              "quantity": 10,
                              "unit": "pcs",
                              "product": {
                                "id": "1",
                                "number": "PROD-12345",
                                "name": "Sample Product",
                                "description": "This is a sample product.",
                                "project": {
                                  "id": "1"
                                },
                                "freeFields": [
                                  {
                                    "id": "1",
                                    "value": "23"
                                  },
                                  {
                                    "id": "2",
                                    "value": "31"
                                  },
                                  {
                                    "id": "3",
                                    "value": ""
                                  },
                                  {
                                    "id": "4",
                                    "value": ""
                                  },
                                  {
                                    "id": "5",
                                    "value": ""
                                  },
                                  {
                                    "id": "6",
                                    "value": ""
                                  },
                                  {
                                    "id": "7",
                                    "value": ""
                                  },
                                  {
                                    "id": "8",
                                    "value": ""
                                  },
                                  {
                                    "id": "9",
                                    "value": ""
                                  },
                                  {
                                    "id": "10",
                                    "value": ""
                                  },
                                  {
                                    "id": "11",
                                    "value": ""
                                  },
                                  {
                                    "id": "12",
                                    "value": ""
                                  },
                                  {
                                    "id": "13",
                                    "value": ""
                                  },
                                  {
                                    "id": "14",
                                    "value": ""
                                  },
                                  {
                                    "id": "15",
                                    "value": ""
                                  },
                                  {
                                    "id": "16",
                                    "value": ""
                                  },
                                  {
                                    "id": "17",
                                    "value": ""
                                  },
                                  {
                                    "id": "18",
                                    "value": ""
                                  },
                                  {
                                    "id": "19",
                                    "value": ""
                                  },
                                  {
                                    "id": "20",
                                    "value": ""
                                  },
                                  {
                                    "id": "21",
                                    "value": ""
                                  },
                                  {
                                    "id": "22",
                                    "value": ""
                                  },
                                  {
                                    "id": "23",
                                    "value": ""
                                  },
                                  {
                                    "id": "24",
                                    "value": ""
                                  },
                                  {
                                    "id": "25",
                                    "value": ""
                                  },
                                  {
                                    "id": "26",
                                    "value": ""
                                  },
                                  {
                                    "id": "27",
                                    "value": ""
                                  },
                                  {
                                    "id": "28",
                                    "value": ""
                                  },
                                  {
                                    "id": "29",
                                    "value": ""
                                  },
                                  {
                                    "id": "30",
                                    "value": ""
                                  },
                                  {
                                    "id": "31",
                                    "value": ""
                                  },
                                  {
                                    "id": "32",
                                    "value": ""
                                  },
                                  {
                                    "id": "33",
                                    "value": ""
                                  },
                                  {
                                    "id": "34",
                                    "value": ""
                                  },
                                  {
                                    "id": "35",
                                    "value": ""
                                  },
                                  {
                                    "id": "36",
                                    "value": ""
                                  },
                                  {
                                    "id": "37",
                                    "value": ""
                                  },
                                  {
                                    "id": "38",
                                    "value": ""
                                  },
                                  {
                                    "id": "39",
                                    "value": ""
                                  },
                                  {
                                    "id": "40",
                                    "value": "42"
                                  }
                                ]
                              },
                              "remark": "",
                              "billOfMaterialLevel": 1,
                              "hasChildren": false,
                              "parent": {
                                "id": "7"
                              },
                              "createdAt": "2025-06-05 00:00:00",
                              "updatedAt": "2025-06-06 00:00:00"
                            }
                          ]
                        },
                        "preferredWarehouse": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "\\d+",
                              "example": "17",
                              "description": "Resource identifier."
                            }
                          },
                          "nullable": true,
                          "description": "Preferred Warehouse of the production",
                          "example": {
                            "id": "17"
                          }
                        },
                        "reservationType": {
                          "type": "string",
                          "description": "Reservation Type of the production",
                          "example": "Standard"
                        },
                        "retrievalType": {
                          "type": "string",
                          "description": "Retrieval Type of the production",
                          "example": "Automated"
                        },
                        "explodeSublists": {
                          "type": "boolean",
                          "description": "Explode Sublists of the production",
                          "example": true
                        },
                        "functionalTest": {
                          "type": "boolean",
                          "description": "Functional Test of the production",
                          "example": true
                        },
                        "displayWorkingStepTexts": {
                          "type": "boolean",
                          "description": "Display Working Step Texts of the production",
                          "example": true
                        },
                        "createSerialNumbers": {
                          "type": "boolean",
                          "description": "Create Serial Numbers of the production",
                          "example": true
                        },
                        "captureComponentSerialnumbers": {
                          "type": "boolean",
                          "description": "Capture Component Serialnumbers of the production",
                          "example": true
                        },
                        "internalComment": {
                          "type": "string",
                          "description": "Internal Comment of the production",
                          "example": "Process is completed"
                        },
                        "completed": {
                          "type": "boolean",
                          "description": "Completed of the production",
                          "example": true
                        },
                        "finalRemark": {
                          "type": "string",
                          "description": "Final Remark of the production",
                          "example": "Production is done"
                        },
                        "customerCheckOk": {
                          "type": "boolean",
                          "description": "Customer Check Ok of the production",
                          "example": true
                        },
                        "depletingOk": {
                          "type": "boolean",
                          "description": "Depleting Ok of the production",
                          "example": true
                        },
                        "partialProductionNumber": {
                          "type": "integer",
                          "description": "Partial Production Number of the production",
                          "example": 121
                        },
                        "partialProductionOf": {
                          "type": "integer",
                          "description": "Partial Production of the production",
                          "example": 1
                        },
                        "stockingOk": {
                          "type": "boolean",
                          "description": "Stocking Ok of the production",
                          "example": true
                        },
                        "stockOk": {
                          "type": "boolean",
                          "description": "Stock Ok of the production",
                          "example": true
                        },
                        "log": {
                          "type": "object",
                          "properties": {
                            "createdAt": {
                              "type": "string",
                              "format": "date",
                              "example": "2024-09-18"
                            },
                            "createdBy": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "example": "USR123456"
                                },
                                "name": {
                                  "type": "string",
                                  "example": "John Doe"
                                }
                              }
                            }
                          },
                          "example": {
                            "createdAt": "2024-09-18",
                            "createdBy": {
                              "id": "USR123456",
                              "name": "John Doe"
                            }
                          },
                          "description": "log of the production"
                        }
                      },
                      "example": {
                        "id": "17",
                        "documentNumber": "DOC-123456",
                        "bodyOutroduction": "This is the conclusion section of the production document.",
                        "date": "2024-09-18",
                        "dateDelivery": "2024-09-25",
                        "dateProvision": "2024-09-20",
                        "dateProduction": "2024-09-21",
                        "dateProductionEnd": "2024-09-22",
                        "status": "In Progress",
                        "customer": {
                          "id": "17"
                        },
                        "project": {
                          "id": "17"
                        },
                        "salesOrder": {
                          "id": "17"
                        },
                        "batch": "BATCH-001",
                        "internalDesignation": "Batch A-123",
                        "preferredWarehouse": {
                          "id": "17"
                        },
                        "positions": [
                          {
                            "id": "1",
                            "sort": 2,
                            "quantity": 10,
                            "unit": "pcs",
                            "product": {
                              "id": "1",
                              "number": "PROD-12345",
                              "name": "Sample Product",
                              "description": "This is a sample product.",
                              "project": {
                                "id": "1"
                              },
                              "freeFields": [
                                {
                                  "id": "1",
                                  "value": "23"
                                },
                                {
                                  "id": "2",
                                  "value": "31"
                                },
                                {
                                  "id": "3",
                                  "value": ""
                                },
                                {
                                  "id": "4",
                                  "value": ""
                                },
                                {
                                  "id": "5",
                                  "value": ""
                                },
                                {
                                  "id": "6",
                                  "value": ""
                                },
                                {
                                  "id": "7",
                                  "value": ""
                                },
                                {
                                  "id": "8",
                                  "value": ""
                                },
                                {
                                  "id": "9",
                                  "value": ""
                                },
                                {
                                  "id": "10",
                                  "value": ""
                                },
                                {
                                  "id": "11",
                                  "value": ""
                                },
                                {
                                  "id": "12",
                                  "value": ""
                                },
                                {
                                  "id": "13",
                                  "value": ""
                                },
                                {
                                  "id": "14",
                                  "value": ""
                                },
                                {
                                  "id": "15",
                                  "value": ""
                                },
                                {
                                  "id": "16",
                                  "value": ""
                                },
                                {
                                  "id": "17",
                                  "value": ""
                                },
                                {
                                  "id": "18",
                                  "value": ""
                                },
                                {
                                  "id": "19",
                                  "value": ""
                                },
                                {
                                  "id": "20",
                                  "value": ""
                                },
                                {
                                  "id": "21",
                                  "value": ""
                                },
                                {
                                  "id": "22",
                                  "value": ""
                                },
                                {
                                  "id": "23",
                                  "value": ""
                                },
                                {
                                  "id": "24",
                                  "value": ""
                                },
                                {
                                  "id": "25",
                                  "value": ""
                                },
                                {
                                  "id": "26",
                                  "value": ""
                                },
                                {
                                  "id": "27",
                                  "value": ""
                                },
                                {
                                  "id": "28",
                                  "value": ""
                                },
                                {
                                  "id": "29",
                                  "value": ""
                                },
                                {
                                  "id": "30",
                                  "value": ""
                                },
                                {
                                  "id": "31",
                                  "value": ""
                                },
                                {
                                  "id": "32",
                                  "value": ""
                                },
                                {
                                  "id": "33",
                                  "value": ""
                                },
                                {
                                  "id": "34",
                                  "value": ""
                                },
                                {
                                  "id": "35",
                                  "value": ""
                                },
                                {
                                  "id": "36",
                                  "value": ""
                                },
                                {
                                  "id": "37",
                                  "value": ""
                                },
                                {
                                  "id": "38",
                                  "value": ""
                                },
                                {
                                  "id": "39",
                                  "value": ""
                                },
                                {
                                  "id": "40",
                                  "value": "42"
                                }
                              ]
                            },
                            "remark": "",
                            "billOfMaterialLevel": 1,
                            "hasChildren": false,
                            "parent": {
                              "id": "7"
                            },
                            "createdAt": "2025-06-05 00:00:00",
                            "updatedAt": "2025-06-06 00:00:00"
                          }
                        ],
                        "reservationType": "Standard",
                        "retrievalType": "Automated",
                        "explodeSublists": true,
                        "functionalTest": true,
                        "displayWorkingStepTexts": true,
                        "createSerialNumbers": true,
                        "captureComponentSerialnumbers": true,
                        "internalComment": "Process is completed",
                        "completed": true,
                        "finalRemark": "Production is done",
                        "customerCheckOk": true,
                        "depletingOk": true,
                        "partialProductionNumber": 121,
                        "partialProductionOf": 1,
                        "stockingOk": true,
                        "stockOk": true,
                        "log": {
                          "createdAt": "2024-09-18",
                          "createdBy": {
                            "id": "USR123456",
                            "name": "John Doe"
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "data": {
                      "id": "1",
                      "documentNumber": "",
                      "bodyOutroduction": "",
                      "date": "2024-03-13",
                      "dateDelivery": null,
                      "dateProvision": null,
                      "dateProduction": null,
                      "dateProductionEnd": null,
                      "status": "created",
                      "customer": null,
                      "project": {
                        "id": "1"
                      },
                      "salesOrder": null,
                      "batch": null,
                      "internalDesignation": "",
                      "positions": [
                        {
                          "id": "1",
                          "sort": 2,
                          "quantity": 10,
                          "unit": "",
                          "product": {
                            "id": "1",
                            "number": "",
                            "name": "",
                            "description": "",
                            "project": {
                              "id": "1"
                            },
                            "freeFields": [
                              {
                                "id": "1",
                                "value": "23"
                              },
                              {
                                "id": "2",
                                "value": "31"
                              },
                              {
                                "id": "3",
                                "value": ""
                              },
                              {
                                "id": "4",
                                "value": "12"
                              },
                              {
                                "id": "5",
                                "value": ""
                              },
                              {
                                "id": "6",
                                "value": ""
                              },
                              {
                                "id": "7",
                                "value": ""
                              },
                              {
                                "id": "8",
                                "value": ""
                              },
                              {
                                "id": "9",
                                "value": ""
                              },
                              {
                                "id": "10",
                                "value": ""
                              },
                              {
                                "id": "11",
                                "value": ""
                              },
                              {
                                "id": "12",
                                "value": ""
                              },
                              {
                                "id": "13",
                                "value": ""
                              },
                              {
                                "id": "14",
                                "value": ""
                              },
                              {
                                "id": "15",
                                "value": ""
                              },
                              {
                                "id": "16",
                                "value": ""
                              },
                              {
                                "id": "17",
                                "value": ""
                              },
                              {
                                "id": "18",
                                "value": ""
                              },
                              {
                                "id": "19",
                                "value": ""
                              },
                              {
                                "id": "20",
                                "value": ""
                              },
                              {
                                "id": "21",
                                "value": ""
                              },
                              {
                                "id": "22",
                                "value": ""
                              },
                              {
                                "id": "23",
                                "value": ""
                              },
                              {
                                "id": "24",
                                "value": ""
                              },
                              {
                                "id": "25",
                                "value": ""
                              },
                              {
                                "id": "26",
                                "value": ""
                              },
                              {
                                "id": "27",
                                "value": ""
                              },
                              {
                                "id": "28",
                                "value": ""
                              },
                              {
                                "id": "29",
                                "value": ""
                              },
                              {
                                "id": "30",
                                "value": ""
                              },
                              {
                                "id": "31",
                                "value": ""
                              },
                              {
                                "id": "32",
                                "value": ""
                              },
                              {
                                "id": "33",
                                "value": ""
                              },
                              {
                                "id": "34",
                                "value": ""
                              },
                              {
                                "id": "35",
                                "value": ""
                              },
                              {
                                "id": "36",
                                "value": ""
                              },
                              {
                                "id": "37",
                                "value": ""
                              },
                              {
                                "id": "38",
                                "value": ""
                              },
                              {
                                "id": "39",
                                "value": ""
                              },
                              {
                                "id": "40",
                                "value": ""
                              }
                            ]
                          },
                          "remark": "",
                          "billOfMaterialLevel": 1,
                          "hasChildren": false,
                          "parent": {
                            "id": "7"
                          },
                          "createdAt": "2025-06-05 00:00:00",
                          "updatedAt": "2025-06-06 00:00:00"
                        }
                      ],
                      "preferredWarehouse": null,
                      "reservationType": "abschluss",
                      "retrievalType": "sammel",
                      "explodeSublists": true,
                      "functionalTest": false,
                      "displayWorkingStepTexts": true,
                      "createSerialNumbers": true,
                      "captureComponentSerialnumbers": false,
                      "internalComment": "",
                      "completed": false,
                      "finalRemark": "",
                      "customerCheckOk": true,
                      "depletingOk": false,
                      "partialProductionNumber": 0,
                      "partialProductionOf": 0,
                      "stockingOk": false,
                      "stockOk": true,
                      "log": {
                        "createdAt": "2024-03-13",
                        "createdBy": {
                          "id": "1",
                          "name": "admin"
                        }
                      }
                    }
                  }
                }
              },
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "IETF RFC 9457 Problem API compliant response",
            "content": {
              "application/problem+json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "type",
                        "title",
                        "violations"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "https://api.xentral.biz/problems/request-validation"
                          ]
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1,
                          "example": "Request payload validation failed."
                        },
                        "violations": {
                          "oneOf": [
                            {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "example": {
                                  "username": [
                                    "This value should not be blank."
                                  ],
                                  "email": [
                                    "This value is not a valid email address."
                                  ]
                                }
                              },
                              "description": "This field will be a mirrored request payload with only invalid fields and values replaced by error messages."
                            },
                            {
                              "type": "object",
                              "example": {
                                "_": [
                                  "This value should contain at most `9` elements."
                                ]
                              },
                              "description": "This field will be a mirrored request payload with only invalid fields and values replaced by error messages."
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "type",
                        "title",
                        "messages"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "https://api.xentral.biz/problems/generic-validation"
                          ]
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1
                        },
                        "messages": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "type",
                        "title",
                        "messages"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "https://api.xentral.biz/problems/conflict"
                          ]
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1
                        },
                        "messages": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "type",
                        "title",
                        "items"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "https://api.xentral.biz/problems/conflictItems"
                          ]
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "id",
                              "title",
                              "messages"
                            ],
                            "properties": {
                              "id": {
                                "type": "integer"
                              },
                              "title": {
                                "type": "string",
                                "minLength": 1
                              },
                              "messages": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "type",
                        "title",
                        "scopes"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "https://developer.xentral.com/reference/problems#token-scopes"
                          ]
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1
                        },
                        "scopes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "type",
                        "title",
                        "messages"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "https://api.xentral.biz/problems/generic-validation"
                          ]
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1
                        },
                        "messages": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unable to authenticate the client",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Error message explaining why the request failed.",
                      "example": "Missing required scopes: customer:create."
                    }
                  }
                },
                "example": {
                  "message": "Missing required scopes: customer:create."
                }
              },
              "text/html": {
                "schema": {
                  "type": "string",
                  "example": "Unauthorized"
                }
              }
            }
          },
          "404": {
            "description": "Resource was not found or not enough access privileges"
          },
          "406": {
            "description": "Requested resource representation does not exist."
          },
          "429": {
            "description": "Too many API calls made."
          }
        }
      }
    }
  }
}
```