Authorizations
API key for authentication. Contact your administrator to get an API key.
Body
application/json
Response
Successfully created deliverys
The response is of type object[]
.
curl --request POST \
--url http://localhost:8080/delivery/many \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"deliverys": [
{
"code": "<string>",
"shipment": {
"value": "550e8400-e29b-41d4-a716-446655440000",
"label": "SHIP-001"
},
"carrier": {
"value": "550e8400-e29b-41d4-a716-446655440001",
"label": "DHL Express"
},
"receiver": {
"value": "550e8400-e29b-41d4-a716-446655440002",
"label": "Customer Inc."
},
"route_code": "<string>",
"route_name": "<string>",
"transport_mode": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"site_id": "<string>"
}
]
}'
[
{
"code": "<string>",
"shipment": {
"value": "550e8400-e29b-41d4-a716-446655440000",
"label": "SHIP-001"
},
"carrier": {
"value": "550e8400-e29b-41d4-a716-446655440001",
"label": "DHL Express"
},
"receiver": {
"value": "550e8400-e29b-41d4-a716-446655440002",
"label": "Customer Inc."
},
"route_code": "<string>",
"route_name": "<string>",
"transport_mode": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"site_id": "<string>"
}
]
curl --request POST \
--url http://localhost:8080/delivery/many \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"deliverys": [
{
"code": "<string>",
"shipment": {
"value": "550e8400-e29b-41d4-a716-446655440000",
"label": "SHIP-001"
},
"carrier": {
"value": "550e8400-e29b-41d4-a716-446655440001",
"label": "DHL Express"
},
"receiver": {
"value": "550e8400-e29b-41d4-a716-446655440002",
"label": "Customer Inc."
},
"route_code": "<string>",
"route_name": "<string>",
"transport_mode": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"site_id": "<string>"
}
]
}'
[
{
"code": "<string>",
"shipment": {
"value": "550e8400-e29b-41d4-a716-446655440000",
"label": "SHIP-001"
},
"carrier": {
"value": "550e8400-e29b-41d4-a716-446655440001",
"label": "DHL Express"
},
"receiver": {
"value": "550e8400-e29b-41d4-a716-446655440002",
"label": "Customer Inc."
},
"route_code": "<string>",
"route_name": "<string>",
"transport_mode": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"site_id": "<string>"
}
]
API key for authentication. Contact your administrator to get an API key.
Successfully created deliverys
The response is of type object[]
.