Get a orderlist by id
GET/v1/orderlists/:id
Get a orderlist by id
Request
Path Parameters
id integerrequired
Orderlist identifier
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Get a orderlist by id
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id integerrequired
Orderlist primary identifier
createdAt date-timerequired
Orderlist creation date
lastModifiedAt date-timerequired
Orderlist last modified date
descriptions
object[]
Orderlist description per language
language stringrequired
Possible values: >= 2 characters
and <= 2 characters
Language is set as 2 character country code.
value string
Localized field value
type stringrequired
Possible values: [POSITIVE
, NEGATIVE
]
Orderlist type
productIds array[]required
List of product ids
clusterIds array[]required
List of cluster ids
userIds array[]required
List of user ids
companyIds array[]required
List of company ids
{
"id": 1234,
"createdAt": "2022-01-01T00:00:00.000Z",
"lastModifiedAt": "2022-01-02T00:00:00.000Z",
"descriptions": [
{
"language": "NL",
"value": "Dutch desc."
},
{
"language": "DE",
"value": "German desc."
}
],
"type": "POSITIVE",
"productIds": [
1111,
2222,
3333
],
"clusterIds": [
1111,
2222,
3333
],
"userIds": [
1111,
2222,
3333
],
"companyIds": [
1111,
2222,
3333
]
}
Bad request
Unauthorized
- application/json
- Schema
- invalid_client_id
- invalid_client_cred
Schema
any
{
"ErrorCode": "invalid_client",
"Error": "ClientId is Invalid"
}
{
"ErrorCode": "invalid_client",
"Error": "Client credentials are invalid"
}
Forbidden
Orderlist not found
Unknown get orderlist error
Loading...