Resource category
Endpoints
Create new resource category
/companies/{companycode}/resource-categories |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Body |
body |
2 characters max |
Get entity list
/companies/{companycode}/resource-categories |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Query |
page |
Page index |
integer (int32) |
|
Query |
size |
Entity count per page |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfull |
< Resource category > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
/companies/{companycode}/resource-categories/import |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Body |
body |
Get one resource category
/companies/{companycode}/resource-categories/{code} |
operation.deprecated |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity code to retrieve |
string |
10 characters max |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Delete resource category
/companies/{companycode}/resource-categories/{code} |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity public uuid code to delete |
string |
10 characters max |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Data structure
Resource category
Resource category data structure.
Name | Description | Value | Business Rules |
---|---|---|---|
code |
Resource category code |
string |
10 characters max |
companyCode |
Current company code |
string |
2 characters max |
label |
Resource category label |
string |
50 characters max |
nature |
Nature |
string |
IN(MACHINE=Machine,LABOR=Labor,STORAGE=Storage) |
publicUuid |
Resource category public uuid |
string |
|
validityEndDate |
Validity end date |
datetime |
AAAA-MM-JJTHH:MM:SSZ |
ImportResourceCategoryList
Name | Value |
---|---|
callback |
string |
data |
Resource category list |