Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourGreen
title3.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.
Note

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.

Panel
borderColorgrey
bgColorwhitesmoke

On this page:

Table of Contents
maxLevel2

Related pages:

Resource URL Summary

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

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

Status
colourGrey
title3.17.0

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

Include Page
_URI Default Headers
_URI Default Headers

 


API Specifics

Panel
borderColor#D3D3D3

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

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

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. 

Include Page
_Inventory Load Object Formats
_Inventory Load Object Formats

Panel
borderColor#D3D3D3

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

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

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:

Panel
borderColor#D3D3D3

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

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

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.

Panel
borderColor#D3D3D3

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

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

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.