Introduction
How to invoke a procedure
You invoke a procedure by calling an endpoint subordinate to the /invocations endpoint. So for instance to call the Pack procedure, you should call this endpoint:
https://api.thetis-ims.com/2/invocations/pack
You should pass a x-api-key and an access token. This is described in the REST API section of this document.
Each procedure takes a parameter object. You should pass this object in the request body as JSON.
Each procedure returns a result object. This object is passed to you in the response body as JSON.
Postman
Our Postman documentation contains example calls for all the procedures mentioned below. You can find it here.
Procedures
Pack
Invoke this procedure to pack designated items.
- Endpoint: pack
- Takes Pack parameters
- Returns Packed Items
Receive
Invoke this procedure to receive items.
- Endpoint: receiveToNewLot
- Takes Receive parameters
- Returns Inventory transaction
Receive returned
Invoke this procedure to receive returned items.
- Endpoint: receiveReturnedToNewLot
- Takes Receive returned parameters
- Returns Inventory transaction
Count item lot
Invoke this procedure to do a count of an item lot.
- Endpoint: countGlobalTradeItemLot
- Takes Count item lot parameters
- Returns Stock taking line
Create delivery note
Invoke this procedure to create a delivery note for a shipment that you have finished packing.
- Endpoint: createDeliveryNote
- Takes Create delivery note parameters
- Returns Document
Create goods receipt
Invoke this procedure to create a goods receipt for a shipment that you have finished receiving.
- Endpoint: createGoodsReceipt
- Takes Create goods receipt parameters
- Returns Document
Create return receipt
Invoke this procedure to create a return receipt for a return shipment that you have finished receiving.
- Endpoint: createReturnReceipt
- Takes Create return receipt parameters
- Returns Document
Create adjustment list
Invoke this procedure to create an adjustment list for a done stock taking.
- Endpoint: createAdjustmentList
- Takes Create adjustment list parameters
- Returns Document