transfer
GET /transfer
To get a specific transfer.
/transfer?token=XXXXX&transfer_code_365=00100001
POST /transfer
To create a new transfer.
{
"api_credentials": {
"token": "XXXXX"
},
"transfer": {
"transfer_header": {
"transfer_code": "DEVICEID_05052016101500",
"from_store_code_365": "100",
"to_store_code_365": "001",
"transfer_reason_code_365": "NT",
"transfer_issued_date_utc0": "2016-05-05 08:25:10",
"transfer_comments": "transfer from API as test",
"user_code_365":"C84900.usercode"
},
"list_transfer_details": [
{
"line_number": "1",
"item_code_365_or_barcode": "ARTICLE01-AZURE-240",
"line_quantity": "3",
"line_picked_quantity": 3
},
{
"line_number": "1",
"item_code_365_or_barcode": "ARTICLE01-BLK-290",
"line_quantity": "1",
"line_picked_quantity": 1
}
],
}
}
| field |
type |
description |
|
api_credentials
|
| token |
string |
Credentials provided by Powersoft that allow access to the API |
|
transfer
|
|
transfer_header
|
| transfer_code |
string |
The unique number of the transfer in your system |
| from_store_code_365 |
string |
365 store code FROM where the stock is transferred |
| to_store_code_365 |
string |
365 store code where the stock is transferred TO |
| transfer_reason_code_365 |
string |
365 transfer reason code |
| transfer_issued_date_utc0 |
datetime |
This is the Coordinated Universal Time (UTC). ie at time zone +0 when the transfer has been issued |
| transfer_comments |
string |
Any notes about the transfer, eg special requirements. Pass "" if none. |
| user_code_365 |
string |
365 user code that created the transfer. Not required. |
|
list_transfer_details
|
| line_number |
int |
The position of this line in the transfer list. eg 1 |
| item_code_365_or_barcode |
string |
The barcode or code of the item in 365 |
| line_quantity |
decimal |
The number of pieces of the item for this transfer line |
Returns
Returns the standard api_response object. The transfer Powersoft365 code is returned in the response_id field.
PUT /transfer
To modify the status of a transfer.
{
"api_credentials": {
"token": "XXXXX"
},
"transfer": {
"transfer_code_365":"004000006",
"transfer_status_code_365":"TBD"
}
}
| field |
type |
description |
|
api_credentials
|
| token |
string |
Credentials provided by Powersoft that allow access to the API |
|
transfer
|
| transfer_code_365 |
string |
The unique number of the transfer in 365 |
| transfer_status_code_365 |
string |
365 transfer status code |
Returns
Returns the standard api_response object. The transfer Powersoft365 code is returned in the response_id field.