Import parameters

Directory

/data/resource-categories

Files reference

  • filename : header

Other parameters

Import mode

Imports can be done with "full" or "update" mode.

  • Full mode : All entities in the file but not in the target application are created. All entities present in the target application but not in the file are deleted. The others are updated.

  • Update mode : same as "full" mode except that the entities present in the target application but not in the file are not deleted.

Files content

Data structure

Field Column Data type Required Business rules

Code

code

String

X

10 characters max

Company code

companyCode

String

X

2 characters max

Label

label

String

X

50 characters max

Nature

nature

String

X

IN(MACHINE=Machine,LABOR=Labor,STORAGE=Storage)

Validity end date

validityEndDate

String (ISO-8601)

AAAA-MM-JJTHH:MM:SSZ Set a passed date to make the entity inactive.

Example

code;companyCode;establishmentCode;label;nature;validityEndDate
01;02;03;TEST;MACHINE;2014-05-28T12:00:00Z
01;02;03;PREPARATION;LABOR;
01;02;03;PRODUCTION;STORAGE;2015-05-28T12:00:00Z