Hinzufügen von MHU
POST
Payload
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"SessionKey": {
"type": "string"
},
"LocationCode": {
"type": "string"
},
"PackagingItemCode": {
"type": "string"
},
"ContainedItemCode": {
"type": "string"
},
"Quantity": {
"type": "number"
},
"BookGeneralEntry": {
"type": "boolean"
},
"Print": {
"type": "boolean"
},
"Message": {
"type": "string"
},
"ErrorFlag": {
"type": "integer"
}
},
"required": [
"SessionKey",
"LocationCode",
"PackagingItemCode",
"ContainedItemCode",
"Quantity",
"BookGeneralEntry",
"Print",
"Message",
"ErrorFlag"
]
}
Beispiel
{
"SessionKey": "",
"LocationCode": "",
"PackagingItemCode": "",
"ContainedItemCode": "",
"Quantity": 0.0,
"BookGeneralEntry": true,
"Print": true,
"Message": "",
"ErrorFlag": 1
}
Rückgabe
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"ErrorMessage": {
"type": "string"
},
"CreatedNumber": {
"type": "string"
}
},
"required": [
"ErrorMessage",
"CreatedNumber"
]
}
Beispiel
{
"ErrorMessage": "",
"CreatedNumber": ""
}
Post your comment on this topic.