Activity suite
Endpoints
Create new activity suite
| /companies/{companycode}/establishments/{establishmentcode}/activity-suites | 
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 | 
Get entity list
| /companies/{companycode}/establishments/{establishmentcode}/activity-suites | 
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 | 
| Query | page | Page index | integer (int32) | |
| Query | size | Entity count per page | integer (int32) | 
Responses
| HTTP Code | Description | Schema | 
|---|---|---|
| 200 | Successfull | < ActivitySuite > array | 
| 400 | Functionnal error | No Content | 
| 500 | Internal server error | No Content | 
Import entity list
| /companies/{companycode}/establishments/{establishmentcode}/activity-suites/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 | 
Get one activity suite
| /companies/{companycode}/establishments/{establishmentcode}/activity-suites/{code} | 
| operation.deprecated | 
Parameters
| Type | Name | Description | Schema | Business Rules | 
|---|---|---|---|---|
| Path | code | Entity code to retrieve | string | 20 characters max | 
| Path | companyCode | Current context company code | string | 2 characters max | 
| Path | establishmentCode | Current context establishment code | string | 2 characters max | 
Delete activity suite
| /companies/{companycode}/establishments/{establishmentcode}/activity-suites/{code} | 
Parameters
| Type | Name | Description | Schema | Business Rules | 
|---|---|---|---|---|
| Path | code | Entity public uuid code to delete | string | 20 characters max | 
| Path | companyCode | Current context company code | string | 2 characters max | 
| Path | establishmentCode | Current context establishment code | string | 2 characters max | 
Data structure
ActivitySuite
Activity suite data structure.
| Name | Description | Value | Business Rules | ||
|---|---|---|---|---|---|
| activities | 
 | < string, list > map | |||
| code | Activity suite code | string | 20 characters max | ||
| companyCode | Current company code | string | 2 characters max | ||
| contexts | Contexts | ContextOfUse list | |||
| establishmentCode | Current establishment code | string | 2 characters max | ||
| familyCode | Family code | string | 10 characters max | ||
| flowType | Flow type | string | IN(PUSH,PULL) | ||
| label | Activity label | string | 50 characters max | ||
| publicUuid | Activity suite public uuid | string | |||
| referenceItemCode | Reference item code | string | 20 characters max | ||
| validityEndDate | Validity end date | datetime | YYYY-MM-DDTHH:MM:SSZ | 
ImportActivitySuiteList
| Name | Value | 
|---|---|
| callback | string | 
| data | ActivitySuite list |