Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

3.0.0

The Inventory Load REST API is used for creating and deleting inventory load objects. An inventory load, also referred to as an inventory shipment, is used to restock an inventory location such as a vehicle. The inventory load contains a list of items, their expected quantities and, if required, serial and batch control numbers. 

  • The actual inventory object will not be adjusted until the load is received and accepted by the mobile user.
  • Each inventory load object can only target a single inventory storage location.

An inventory load object, once created, can not be modified by the back-office. If a change is required the load must be delete and a new load created.

Resource URL Summary

Retrieve the details of a specific Inventory Load

GET /seiapi/v3/trans/Load/${LoadNum}

Create a new Inventory Load

POST /seiapi/v3/trans/Load

Insert the details of a specific Inventory Load for a specific Load Number

PUT /seiapi/v3/trans/Load/${LoadNum}

Delete a specific Inventory Load

DELETE /seiapi/v3/trans/Load/${LoadNum}

API Specific Parameters

Supported HTTP Methods

MethodDescription
PUTCreates a new Inventory Load object identified by the ${LoadNum} URL parameter.

POST

3.17.0

Creates a new Inventory Load object. Server will auto generate ${LoadNum} and will return it in HTTP response.

HTTP Headers

This API uses the default ServiceMobility HTTP Headers.

 


API Specifics

Retrieve the details of a specific Inventory Load

This REST API will return an Inventory Load with the specified ID. The Inventory Load with the specified ID must already exist in the system.

URL

GET /seiapi/v3/trans/Load/${LoadNum}

HTTP Request Body

This request does not require a request body. 

HTTP Response Body

On success, an HTTP response code of 200 will be returned, and the response body will contain an REST Object Definitions Inventory Related Objects Inventory Load Object. Otherwise, on error, the response body will contain a descriptive reason for the error. 

JSON Format
{
    "CreatedUTC": "2013-01-01 12:00:00Z", 
    "Description": "", 
	"DueDateUTC": "2013-01-01 12:00:00Z", 
    "Items": [
        {
            "BatchNum": "", 
            "OriginalQty": 1.0, 
            "ProdAttrs": {
                "IsBatch": false, 
                "IsInvCtrl" : false,
                "IsSerialized": false, 
                "Desc": ""
            }, 
            "ProdNum": "", 
            "Qty": 1.0, 
            "SerialNum": ""
        }, 
    ], 
    "ExpectedDeliveryUTC": "2013-01-01 12:00:00Z", 
    "LoadNum": "", 
    "LoadType": "", 
    "ModifiedUTC" : "2013-01-01 12:00:00Z",
    "Status": "", 
    "StorageLocationID": "", 
	"TechCreated": false,
    "XRef": ""
}

Create a new Inventory Load

This REST API will insert a new Inventory Load, returning the ID for the created object.

(warning) Once created, the Inventory Load object can no longer be updated by the backend system.

URL

POST /seiapi/v3/trans/Load

HTTP Request Body

The HTTP request body must contain a valid REST Object Definitions Inventory Related Objects Inventory Load Object.

HTTP Response

On success, an HTTP response code of 201 will be returned, and:

Insert the details of a specific Inventory Load for a specific Load Number

This REST API will insert a new Inventory Load with the specified ID into the system, if a Inventory Load with the specified ID does not already exist in the system.

(warning) Once created, the Inventory Load object can no longer be updated by the backend system.

URL

PUT /seiapi/v3/trans/Load/${LoadNum}

HTTP Request Body

The HTTP request body must contain a valid REST Object Definitions Inventory Related Objects Inventory Load Object.

HTTP Response

On success the API will return a response code of 200.

Delete a specific Inventory Load

This REST API will delete an Inventory Load with the specified ID from the system. The Inventory Load with the specified ID must already exist in the system.

URL

DELETE /seiapi/v3/trans/Load/${LoadNum}

HTTP Request Body

This request does not require a request body.

HTTP Response

On success an HTTP response code of 200 will be returned. The system will return HTTP response code 410 in case of non-existent REST Object Definitions Inventory Related Objects Inventory Load Object.

  • No labels