Itinerary calculation
When the calculation is launched, in progress or finished, some messages will be sent by the SDK
- JOB_PROGRESS to follow the calculation progression, until it is finished
Headers
type
: RUN_MCIauthor
: client Id as provided in theìnitialisation
messagerecipients
: SDK Id as provided in theìnitialisation
messagestatus
: SENT
payload
problem
: ProblemMCI
Example
Example of itinerary calculation
{
"type": "RUN_MCI",
"payload": {
"problem": {
"sitePoints": [
{
"id": "<SitePoint id 1>",
"longitude": -0.561688,
"latitude": 47.462483
},
{
"id": "<SitePoint id 2>",
"longitude": -0.562665,
"latitude": 47.463878
}
],
"itineraryStartDates": [
"2024-01-09T08:00:07.575+01:00"
]
}
},
"author": "<author id>",
"recipients": [
"<recipient id>"
],
"status": "SENT"
}