How to: Manage Ledger
For information about prerequisites, see Integrate with Dispatch.
To apply CustodyIn Scan, call the Apply CustodyIn Scan endpoint and pass the following required members in the request body:
Member | Description | Remarks |
dispatchId | ID of the Dispatch | string minLength: 1 maxLength: 64 |
custodyEntity | Type of Entity | string Enum: [ CONTAINER, CASH, DOCUMENT ] |
The JSON request body should be similar to the following:
To apply CustodyIn Scan in Batch, call the Apply CustodyIn Scan endpoint and pass the following required members in the request body:
Member | Description | Remarks |
dispatchId | ID of the Dispatch | string minLength: 1 maxLength: 64 |
data > custodyEntity | Type of Entity | string Enum: [ CONTAINER, CASH, DOCUMENT ] |
The JSON request body should be similar to the following:
To apply CustodyOut Scan, call the Apply CustodyOut Scan endpoint and pass the following required members in the request body:
Member | Description | Remarks |
dispatchId | ID of the Dispatch | string minLength: 1 maxLength: 64 |
custodyEntity | Type of Entity | string Enum: [ CONTAINER, CASH, DOCUMENT ] |
The JSON request body should be similar to the following:
To apply CustodyOut Scan in Batch, call the Apply CustodyOut Scan endpoint and pass the following required members in the request body:
Member | Description | Remarks |
dispatchId | ID of the Dispatch | string minLength: 1 maxLength: 64 |
data > custodyEntity | Type of Entity | string Enum: [ CONTAINER, CASH, DOCUMENT ] |
The JSON request body should be similar to the following: