Supplier capacities plan

Endpoints

Import entity list

/supplier-capacities-plans/import

Parameters

Type Name Schema

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

ImportSupplierCapacitiesPlanList

Name Value

callback
optional

string

data
optional

parameters
optional

SupplierCapacitiesPlan

Supplier capacities plan data structure.

Name Description Value Business rules

companyCode
required

Current company code

string

2 characters max

depositCode
optional

Deposit code

string

10 characters max

endDate
required

End date

datetime (ISO-8601)

establishmentCode
required

Current establishment code

string

2 characters max

itemCode

Item code

string

20 characters max
required if itemGroupCode is empty

itemGroupCode

Item group code

string

10 characters max
required if itemCode is empty

itemGroupLevel

Item group level

integer

required if itemGroupCode is filled in

itemGroupValueCode

Item group value code

string

20 characters max
required if itemGroupCode is filled in

quantity
required

Quantity

double

startDate
required

Start date

datetime (ISO-8601)

supplierCode
optional

Supplier code

string

10 characters max

unitCode
required

Unit code

PlanParameters

Plan parameters structure.

Name Description Value

deleteBeforeImport
optional

Delete plan details of the scope before import ?

boolean

planId
required

Plan ID

string