Inventory

Endpoints

Import entity list

/companies/{companycode}/inventories/import

Parameters

Type Name Description Schema

Path

companyCode
required

Current context company code

string

Body

body
required

Responses

HTTP Code Description Schema

202

Accepted

No Content

400

Functionnal error

No Content

500

Internal server error

No Content

Consumes

  • application/json

Produces

  • application/json

Data structure

ImportInventoryList

Name Value

callback
optional

string

data
optional

Inventory list

parameters
optional

Inventory

Inventory data structure.

Name Description Value Business rules

batchCode
optional

Batch code

string

20 characters max

companyCode
required

Current company code

string

2 characters max

depositCode
required

Deposit code

string

10 characters max

establishmentCode
required

Current establishment code

string

2 characters max

inventoryDate
required

Inventory date

datetime (ISO-8601)

AAAA-MM-JJTHH:MM:SSZ

itemCode
required

Item code

string

20 characters max

quantity1
required

Quantity 1

double

quantity2
optional

Quantity 2

double

quantity3
optional

Quantity 3

double

unitCode1
required

Unit code 1

string

5 characters max

unitCode2
optional

Unit code 2

string

5 characters max

unitCode3
optional

Unit code 3

string

5 characters max

InventoryParameters

Inventory parameters structure.

Name Description Value

depositCodes
optional

List of deposit codes

list

establishmentCode
optional

Establishment code

string