CFL Shipment Method API
APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.0';
EntityName = 'shipmentMethod';
EntitySetName = 'shipmentMethods';
GET
method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/shipmentMethods
Entity:
{
"@odata.etag": "W/\"JzIwOzE0NTM3NzkzNDIyMTEyMjA1OTMyMTswMDsn\"",
"id": "960fbf0a-0de0-ec11-adf8-c90fab2a25c5",
"code": "LEVERING",
"displayName": "Levering",
"systemModifiedAt": "2022-05-30T12:29:49.7Z"
}
CREATE
method: POST
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/shipmentMethods
Body:
{
"code": "TEST",
"displayName": "TEST OMSCHRIJVING"
}
DELETE
method: DELETE
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/shipmentMethods(960fbf0a-0de0-ec11-adf8-c90fab2a25c5)
UPDATE
method: PATCH
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/shipmentMethods(960fbf0a-0de0-ec11-adf8-c90fab2a25c5)
Headers:
"If-Match" : W/"JzIwOzE0NTM3NzkzNDIyMTEyMjA1OTMyMTswMDsn"
Body:
{
"displayName": "test aanpassing"
}