This document is used for:
material receipt
Prerequisites:
In order to use this API Method for PUT there must be accomplished the following requirements in SocrateCloud:
to have an Organization active
to have an Role active
Material Receipt Stock Lines/Details/Response
Field Name
InOutLine_ID
Locator_ID
SerialNumber_ID
Barcode1Name
Barcode1
Barcode2Name
Barcode2
Barcode3Name
Barcode3
Barcode4Name
Barcode4
StockLine_ID
Description
Data type
Numeric
(whole)
Numeric
(whole)
Numeric
(whole)
String(40)
String(40)
String(40)
String(40)
String(40)
String(40)
String(40)
String(40)
Numeric
(whole)
Action
Mandatory
Y
Y
Stock Lines (This segment is optional for non-WMS warehouse
The unique ID of the reception line.
The unique ID of the locator of warehouse
Stock Line Details(This segment is optional for non-WMS warehouses).
The unique ID of the WMS module unique serial.
The name of the first barcode
The first barcode
The name of the second barcode
The second barcode
The name of the third barcode
The third barcode
The name of the forth barcode
The forth barcode
Response
The unique ID of the WMS module stock line
Attached serial numbers of one confimation line
URL: https://api.socratecloud.com/scwi/rest/stock_line/full/supplier_receipt/{version}?startRow={0}&endRow={100}&accessToken={access_token}&LocationWarehouse_ID={warehouse_ID}
Mandatory parameter:
LocationWarehouse_ID - generic warehouse ID or WMS warehouse ID from login. For using generic warehouse in login, role must have "Generic Warehouse" = true
Warehouse_ID - the warehouse where the stock movement is done. The Organization is determined on base of this warehouse definition.
Method: POST
Return: stockline ID for success or error message (start with "ERROR: ")
Data format:
{
"InOutLine_ID": 1044147,
"Locator_ID": 1000173,
"SerialNumbers":
[
{
"Barcode1": 1010101
}
]
}
Attached serial numbers of more confimation lines
URL: https://api.socratecloud.com/scwi/rest/stock_line/full/supplier_receipt_array/{version}?startRow={0}&endRow={100}&accessToken={access_token}&LocationWarehouse_ID={warehouse_ID}
Mandatory parameter:
LocationWarehouse_ID - generic warehouse ID or WMS warehouse ID from login. For using generic warehouse in login, role must have "Generic Warehouse" = true
Warehouse_ID - the warehouse where the stock movement is done. The Organization is determined on base of this warehouse definition.
Method: POST
Return: stockline IDs for success or error message (start with "ERROR: ")
Data format:
{
"StockLines":
[
{
"InOutLine_ID": 1041349,
"Locator_ID": 1000173,
"SerialNumbers":
[
{
"Barcode1": 1010104
}
]
},
{
"InOutLine_ID": 1041350,
"Locator_ID": 1000173,
"SerialNumbers":
[
{
"Barcode1": 1010105
}
]
}
]
}