Expedition site
Endpoints
Create new expedition site
| /expedition-sites | 
Get entity list
| /expedition-sites | 
Parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
| Query | page | Page index | integer (int32) | 
| Query | size | Entity count per page | integer (int32) | 
Responses
| HTTP Code | Description | Schema | 
|---|---|---|
| 200 | Successfull | < ExpeditionSite > array | 
| 400 | Functionnal error | No Content | 
| 500 | Internal server error | No Content | 
Import entity list
| /expedition-sites/import | 
Get one expedition site
| /expedition-sites/{code} | 
| operation.deprecated | 
Parameters
| Type | Name | Description | Schema | Business Rules | 
|---|---|---|---|---|
| Path | code | Entity code to retrieve | string | 10 characters max | 
Delete expedition site
| /expedition-sites/{code} | 
Parameters
| Type | Name | Description | Schema | Business Rules | 
|---|---|---|---|---|
| Path | code | Entity public uuid code to delete | string | 10 characters max | 
Data structure
ExpeditionSite
Description of an expedition site.
| Name | Description | Value | Business Values | 
|---|---|---|---|
| code | Expedition site code | string | 10 characters max | 
| companyCode | Current company code | string | 2 characters max | 
| depositCode | Expedition site deposit code | string | |
| establishmentCode | Current establishment code | string | 2 characters max | 
| label | Expedition site label | string | 50 characters max | 
| publicUuid | Expedition site public uuid | string | |
| validityEndDate | datetime | AAAA-MM-JJTHH:MM:SSZ | 
ImportExpeditionSiteList
| Name | Value | 
|---|---|
| callback | string | 
| data | ExpeditionSite list |