Meldung von bereitgestelltem Ausschuss

POST

Payload

Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "SessionKey": {
      "type": "string"
    },
    "ProductionCallOffDocNum": {
      "type": "integer"
    },
    "ProductionFrameDocNum": {
      "type": "integer"
    },
    "ScrapReports": {
      "type": "array",
      "items": [
        {
          "type": "object",
          "properties": {
            "ItemCode": {
              "type": "string"
            },
            "RejectionReasonCode": {
              "type": "string"
            },
            "RejectionReasonName": {
              "type": "string"
            },
            "Quantity": {
              "type": "number"
            }
          },
          "required": [
            "ItemCode",
            "RejectionReasonCode",
            "RejectionReasonName",
            "Quantity"
          ]
        }
      ]
    }
  },
  "required": [
    "SessionKey",
    "ProductionCallOffDocNum",
    "ProductionFrameDocNum",
    "ScrapReports"
  ]
}

Beispiel

{
  "SessionKey": "",
  "ProductionCallOffDocNum": 0,
  "ProductionFrameDocNum": 0,
  "ScrapReports": [
    {
      "ItemCode": "",
      "RejectionReasonCode": "",
      "RejectionReasonName": "",
      "Quantity": 0.0
    }
  ]
}

Rückgabe

Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "ErrorMessage": {
      "type": "string"
    }
  },
  "required": [
    "ErrorMessage"
  ]
}

Beispiel

{
  "ErrorMessage": ""
}

Reaktion

War das hilfreich?

Ja Nein
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Hinterlasse einen Kommentar.

Bitte stellen Sie hier keine Supportanfragen.
Kunden-Support

Kommentar senden