POST api/Item/AddFromExternalSource
Create new items from external source as specified in input parameter
Request Information
URI Parameters
None.
Body Parameters
NewExternalItemParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | globally unique identifier |
None. |
|
| CreatedBy | string |
None. |
|
| Items | Collection of ExternalItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": "6f8f460d-d369-46d9-bb9e-4a942e80b091",
"CreatedBy": "sample string 2",
"Items": [
{
"SSCCNumber": "sample string 1",
"LocationNo": "sample string 2",
"SeqNoInLocation": 3,
"Comment": "sample string 4",
"Topload": 5.0,
"ProductionLineNo": 6,
"ProductionDate": "2026-06-25T11:36:41.7767312+02:00",
"ProductionOrderId": "0a811364-2180-4b18-917d-61fc3a026a42",
"Unfinished": true,
"RestrictedLevel": 10,
"ArticleNo": "sample string 11",
"PackingTypeId": "73c8de51-01ee-440a-b56d-e5f33f67a6e2",
"PackingTypeWeight": 13.0,
"SlaughterDate": "2026-06-25T11:36:41.7767312+02:00",
"MaturationDate": "2026-06-25T11:36:41.7767312+02:00",
"PackingDate": "2026-06-25T11:36:41.7767312+02:00",
"FreezeDate": "2026-06-25T11:36:41.7767312+02:00",
"CatchDate": "2026-06-25T11:36:41.7767312+02:00",
"Lines": [
{
"BestBefore": "2026-06-25T11:36:41.7767312+02:00",
"BatchNumber": "sample string 2",
"GTIN": "sample string 3",
"Quantity": 4.0,
"BaseQuantity": 5.0,
"LineID": 6,
"CostPrice": 7.0,
"SerialNumber": "sample string 8"
},
{
"BestBefore": "2026-06-25T11:36:41.7767312+02:00",
"BatchNumber": "sample string 2",
"GTIN": "sample string 3",
"Quantity": 4.0,
"BaseQuantity": 5.0,
"LineID": 6,
"CostPrice": 7.0,
"SerialNumber": "sample string 8"
}
]
},
{
"SSCCNumber": "sample string 1",
"LocationNo": "sample string 2",
"SeqNoInLocation": 3,
"Comment": "sample string 4",
"Topload": 5.0,
"ProductionLineNo": 6,
"ProductionDate": "2026-06-25T11:36:41.7767312+02:00",
"ProductionOrderId": "0a811364-2180-4b18-917d-61fc3a026a42",
"Unfinished": true,
"RestrictedLevel": 10,
"ArticleNo": "sample string 11",
"PackingTypeId": "73c8de51-01ee-440a-b56d-e5f33f67a6e2",
"PackingTypeWeight": 13.0,
"SlaughterDate": "2026-06-25T11:36:41.7767312+02:00",
"MaturationDate": "2026-06-25T11:36:41.7767312+02:00",
"PackingDate": "2026-06-25T11:36:41.7767312+02:00",
"FreezeDate": "2026-06-25T11:36:41.7767312+02:00",
"CatchDate": "2026-06-25T11:36:41.7767312+02:00",
"Lines": [
{
"BestBefore": "2026-06-25T11:36:41.7767312+02:00",
"BatchNumber": "sample string 2",
"GTIN": "sample string 3",
"Quantity": 4.0,
"BaseQuantity": 5.0,
"LineID": 6,
"CostPrice": 7.0,
"SerialNumber": "sample string 8"
},
{
"BestBefore": "2026-06-25T11:36:41.7767312+02:00",
"BatchNumber": "sample string 2",
"GTIN": "sample string 3",
"Quantity": 4.0,
"BaseQuantity": 5.0,
"LineID": 6,
"CostPrice": 7.0,
"SerialNumber": "sample string 8"
}
]
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ExternalItemMessages| Name | Description | Type | Additional information |
|---|---|---|---|
| SuccessfulRegistrations | Collection of ExternalItemMessage |
None. |
|
| CriticalProcedureError | string |
None. |
|
| PreregistrationErrors | Collection of ExternalItemMessage |
None. |
|
| RegisterIntoItemStockErrors | Collection of ExternalItemMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.