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": ""
}
Post your comment on this topic.