Skip to main content

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_MCI
  • author : client Id as provided in the ìnitialisation message
  • recipients : SDK Id as provided in the ìnitialisation message
  • status : SENT

payload

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"
}