API of event channel
message broker for MAS/SE ADS exercise
Accepts one of the following messages:
{
"eventId": "string",
"eventType": "string",
"eventTime": "2019-08-24T14:15:22Z",
"reference": "string",
"externalRef": "string",
"siteName": "string",
"deliveryStatus": "unavailable",
"estimatedDelivery": "2019-08-24T14:15:22Z",
"latestInfo": "string"
}
{
"eventId": "string",
"eventType": "string",
"eventTime": "2019-08-24T14:15:22Z",
"transportId": "string",
"transportStatus": "unavailable",
"externalRef": "string",
"currentLocation": {
"longitude": 0,
"latitude": 0,
"siteSpecifics": "string"
}
}
{
"eventId": "string",
"eventType": "string",
"eventTime": "2019-08-24T14:15:22Z",
"stockId": "string",
"stockStatus": "unavailable",
"externalRef": "string"
}
{
"eventId": "string",
"eventType": "string",
"eventTime": "2019-08-24T14:15:22Z",
"reference": "string",
"externalRef": "string",
"deliveryStatus": "unavailable",
"estimatedDelivery": "2019-08-24T14:15:22Z",
"latestInfo": "string"
}
General error response which can be emitted by all services alike
Status changes emitted by the greenhouse
a status and location of the refered transport
a status and location of the refered stock place
Status changes emitted by the planning