Standard cost
Endpoints
Import entity list
/companies/{companycode}/establishments/{establishmentcode}/standard-cost-components/import |
Parameters
Type | Name | Description | Schema | Business rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Body |
body |
Import entity list
/companies/{companycode}/establishments/{establishmentcode}/standard-costs/import |
Parameters
Type | Name | Description | Schema | Business rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Body |
body |
Data structure
ImportStandardCostComponentList
Name | Value |
---|---|
callback |
string |
data |
|
parameters |
StandardCostComponent
Standard cost component data structure.
Name | Description | Value | Business rules |
---|---|---|---|
companyCode |
string |
2 characters max |
|
componentDefinitionCode |
Component definition code |
string |
|
cost |
Cost |
double |
|
currencyCode |
Currency code |
string |
3 characters max |
effectiveDate |
Effective date |
datetime (ISO-8601) |
YYYY-MM-DDTHH:MM:SSZ |
establishmentCode |
string |
2 characters max |
|
itemCode |
Item code |
string |
20 characters max |
unitCode |
Unit code |
string |
5 characters max |
StandardCostParameters
Standard cost parameters structure.
Name | Description | Value |
---|---|---|
costTypeCode |
Cost type code |
string |
deleteBeforeImport |
Delete standard costs of the scope before import ? |
boolean |
ImportStandardCostList
Name | Value |
---|---|
callback |
string |
data |
StandardCost list |
parameters |
StandardCost
Standard cost data structure.
Name | Description | Value | Business rules |
---|---|---|---|
companyCode |
string |
2 characters max |
|
cost |
Cost |
double |
|
currencyCode |
Currency code |
string |
3 characters max |
effectiveDate |
Effective date |
datetime (ISO-8601) |
YYYY-MM-DDTHH:MM:SSZ |
establishmentCode |
string |
2 characters max |
|
itemCode |
Item code |
string |
20 characters max |
unitCode |
Unit code |
string |
5 characters max |