Hi @Davy de Kerf we noticed that the documentation is lacking in this matter and we will update it soon, thanks for point this out.
Until then, I hope the example bellow that showcases the address/location functionality for both shifts and items will help you:
{
"agents": [
{
"name": "Agent location",
"shifts": [
{
"StartTime": "2019-11-09T08:00:00",
"StartLocation": {
"Latitude": 47.694117204371,
"Longitude": -122.378188970181
},
"EndTime": "2019-11-09T20:00:00",
"EndLocation": {
"Latitude": 47.7070790545669,
"Longitude": -122.355226696231
}
}
]
},
{
"name": "Agent address",
"shifts": [
{
"StartTime": "2019-11-09T08:00:00",
"StartAddress": "1317 E Republican St, Seattle, WA 98102",
"EndTime": "2019-11-09T20:00:00",
"EndAddress": "1317 E Republican St, Seattle, WA 98102"
}
]
}
],
"itineraryItems": [
{
"Name": "With address",
"OpeningTime": "2019-11-09T09:00:00",
"ClosingTime": "2019-11-09T18:00:00",
"DwellTime": "01:31:08.3850000",
"Priority": 1,
"Address": "1317 E Republican St, Seattle, WA 98102"
},
{
"Name": "With coordinates",
"OpeningTime": "2019-11-09T09:00:00",
"ClosingTime": "2019-11-09T18:00:00",
"DwellTime": "01:00:32.6770000",
"Priority": 1,
"Location": {
"Latitude": 47.6798098928389,
"Longitude": -122.383036445391
}
}
]
}