Resource group
Endpoints
Create new resource group
|
/companies/{companycode}/resource-groups |
Parameters
| Type | Name | Description | Schema | Business Rules |
|---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Body |
body |
Get entity list
|
/companies/{companycode}/resource-groups |
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 |
< Group > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
|
/companies/{companycode}/resource-groups/import |
Parameters
| Type | Name | Description | Schema | Business Rules |
|---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Body |
body |
Get one resource group
|
/companies/{companycode}/resource-groups/{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 group
|
/companies/{companycode}/resource-groups/{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 group
The data structure is composed with Group with a particular business rule for the code :
10 characters max
All characters in uppercase accepted except characters \ ; | " < > µ and spaces at the beginning and at the end
ImportResourceGroupList
| Name | Value |
|---|---|
callback |
string |
data |
Group list with a particular business rule for the code : |