Transfer
The Transfer API is where item transfers for venues originate. It pulls and shares data with our other cloud services such as Data Management and the Portal.
Security
jwt-bearer-token
apiKey | API Key |
|---|---|
Name | Authorization |
In | header |
Endpoints
GET /transfer/schema
Summary
The schema of the transfer.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company to manage data for |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
GET /transfer/{id}
Summary
Get the transfer detail.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company to manage data for |
path |
| string | Yes | Transfer's document |
query |
| boolean | No | Get updated items |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
PATCH /transfer/{id}
Summary
Update the transfer.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company to manage data for |
path |
| string | Yes | Transfer's document |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
204 | No content | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
GET /transfer
Summary
Get the transfer list.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company who owns the document. |
query |
| string | No | |
query |
| number | No | The maximum documents to return. For example, if |
query |
| number | No | The documents to skip before returning. For example, if |
query |
| string | No | |
query |
| string | No |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
POST /transfer
Summary
Create the transfer.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company to manage data for |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
201 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
PATCH /transfer/{id}/acknowledge
Summary
Acknowledgement to remove the Data Management sync result reminder information in the Transfer module.
Requirements
Remove fields updated_items/unavailable_items in the transfer document.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company to manage data for |
path |
| string | Yes |
|
Responses
Code | Description | Schema |
|---|---|---|
204 | No content |
|
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
PATCH /transfer/bulk-change-status
Summary
Request a bulk change of the status of a given transfer.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
PATCH /transfer/dm-sync
Summary
Check inventory items for changes.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
POST /transfer/validate-change
Summary
Validate whether transfers can be changed.
Request Parameters
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The identifier (ID) of the company that owns the document |
body |
| Yes | The JSON formatted request |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success | |
400 | Bad request, for more information look at body error | |
401 | Unauthorized error | |
403 | Forbidden error | |
404 | Not Found | |
422 | Unprocessable error | |
500 | Internal Server Error |
Data Models
transfer_get_response_1
Field Name | Type | Description |
|---|---|---|
| object | The definition of the transfer schema |
transfer_get_response_2
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string | The transfer from site identifier (ID) |
| string | The transfer from site name |
| string | The transfer store number from |
| string | The transfer to site ID |
| string | The transfer to site name |
| string | The transfer to site department code |
| string | The transfer store number to |
| string | The type of transaction |
| string | The type of transfer |
| string | The status of transaction |
| The reference schema | |
| The status changed history | |
| date/time | |
| number | |
| number | The request cost of |
| number | The received cost of |
| number | The reversed cost of |
| object | |
| object | |
| string | The transfer group entity ID |
transfer_get_response_2_inventory_items
Field Name | Type | Description |
|---|---|---|
| object |
transfer_get_response_2_status_history
Field Name | Type | Description |
|---|---|---|
| object |
transfer_get_response_3
Field Name | Type | Description |
|---|---|---|
| ||
| number | |
| number | |
| number | |
| number |
transfer_get_response_3_items
Field Name | Type | Description |
|---|---|---|
| string | |
| string | The type of transaction |
| string | The type of transfer |
| string | The transfer from site identifier (ID) |
| string | The transfer to site ID |
| string | The transfer from site name |
| string | The transfer to site name |
| string | The transfer to site department code |
| string | The transfer store number from |
| string | The transfer store number to |
| date/time | |
| ||
| number | The total cost of |
| number | The request cost of |
| number | The received cost of |
| number | The reversed cost of |
| string | The status of transaction |
| string | The transfer group entity ID |
transfer_get_response_3_items_inventory_items
Field Name | Type | Description |
|---|---|---|
| object |
transfer_patch_body_5
Field Name | Type | Required | Description |
|---|---|---|---|
| [string] | Yes | A list of the transfer identifiers (IDs) |
| string | Yes | The |
| boolean | Yes | The flag that indicates whether to return results synchronously |
transfer_patch_response_5
Field Name | Type | Description |
|---|---|---|
| string |
|
| string |
|
| string | The task type of bulk-change-status |
| string | The task status including |
| string | The error message if the task fails |
| ||
| date/time | |
| date/time |
transfer_patch_response_5_sub_tasks
Field Name | Type | Description |
|---|---|---|
| string |
|
| string |
|
| string | The task type of bulk-change-status |
| string | The task status including |
| string | The error message if the task fails |
| ||
| date/time | |
| date/time |
transfer_patch_response_5_sub_tasks_value
Field Name | Type | Description |
|---|---|---|
| string | The transfer document identifier (ID) |
| string | The transfer status after task execution |
transfer_patch_body_6
Field Name | Type | Required | Description |
|---|---|---|---|
| [string] | Yes | A list of transfer identifiers (IDs) |
| boolean | No | The flag that indicates whether to return results synchronously |
transfer_patch_response_6
Field Name | Type | Description |
|---|---|---|
| string |
|
| string |
|
| string | The transfer-dm-sync type |
| string | The transfer-dm-sync status including |
| string | The transfer-dm-sync error message |
| ||
| date/time | |
| date/time |
transfer_patch_response_6_sub_tasks
Field Name | Type | Description |
|---|---|---|
| string |
|
| string |
|
| string | The transfer-dm-sync type |
| string | The transfer-dm-sync status including |
| string | The transfer-dm-sync error message |
| ||
| date/time | |
| date/time |
transfer_patch_response_6_sub_tasks_value
Field Name | Type | Description |
|---|---|---|
| string | The transfer document identifier (ID) |
| boolean | The flag that indicates whether to call the acknowledge |
transfer_patch_body_7
Field Name | Type | Description |
|---|---|---|
| string | The transaction identifier (ID) |
| string | |
| string | The transfer site ID (from) |
| string | The transfer site ID (to) |
| string | The type is transfer. Enum: |
| string | The type of transfer |
| string | The transfer status |
| The inventory items to be transferred | |
| date/time | The date of the transfer |
transfer_patch_body_7_inventory_items
Field Name | Type | Required | Description |
|---|---|---|---|
| string | No | |
| string | Yes | |
| string | Yes | |
| number | No | |
| number | No |
transfer_post_body_8
Field Name | Type | Required | Description |
|---|---|---|---|
| string | No | The transaction identifier (ID) |
| string | No | |
| string | Yes | The transfer site ID (from) |
| string | Yes | The transfer site ID (to) |
| string | No | The type is transfer. Enum: |
| string | No | The type of transfer |
| string | No | The transfer status |
| No | The inventory items to be transferred | |
| date/time | No | The date of the transfer |
| string | No | The transfer group entity ID |
transfer_post_body_8_inventory_items
Field Name | Type | Required | Description |
|---|---|---|---|
| string | No | |
| string | Yes | |
| string | Yes | |
| number | Yes |
transfer_post_response_8
Field Name | Type | Description |
|---|---|---|
| string | |
| string | |
| string | The transfer from site identifier (ID) |
| string | The transfer from site name |
| string | The transfer store number from |
| string | The transfer to site ID |
| string | The transfer to site name |
| string | The transfer to site department code |
| string | The transfer store number to |
| string | The type of transaction |
| string | The status of transaction |
| ||
| date/time | |
| number | |
| number | |
| number | |
| number | |
| string | The transfer group entity ID |
| string | The company ID of the user |
| date/time | The date of the creation |
| string | The |
| date/time | The date of the update |
| string | The |
transfer_post_response_8_inventory_items
Field Name | Type | Description |
|---|---|---|
| object |
transfer_post_body_9
Field Name | Type | Required | Description |
|---|---|---|---|
| [string] | Yes | The transfer document identifier (ID) list |
| Yes |
transfer_post_body_9__change
Field Name | Type | Description |
|---|---|---|
| string | The transfer status. Enum: |
transfer_post_response_9_item
Field Name | Type | Description |
|---|---|---|
| string | The transfer document identifier (ID) |
| boolean |