# Service time on first stop not calculating?

**URL:** <https://support.routexl.com/t/service-time-on-first-stop-not-calculating/1895>\
**Category:** API\
**Created:** [April 25, 2021, 2:13pm UTC](https://support.routexl.com/t/service-time-on-first-stop-not-calculating/1895 "2021-04-25T14:13:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwin](https://support.routexl.com/letter_avatar_proxy/v4/letter/e/73ab20/32.png) [@edwin](https://support.routexl.com/u/edwin)\
**Post date:** [April 25, 2021, 2:13pm UTC](https://support.routexl.com/t/service-time-on-first-stop-not-calculating/1895/1 "2021-04-25T14:13:08Z")

</div>

Hi, it looks like the service time is not calculated on the first stop, although I am requesting it. See this example:

**Request:**  
[  
{  
“name”: “34065”,  
“lat”: “52.5916315”,  
“lng”: “6.0888661”,  
**"servicetime": "30"**  
},  
{  
“name”: “34068”,  
“lat”: “52.695525”,  
“lng”: “6.20694”,  
“servicetime”: “30”  
},  
{  
“name”: “34066”,  
“lat”: “52.5137798”,  
“lng”: “6.0869437”,  
“servicetime”: “30”  
}  
]

**Response:**  
{  
“id”: “BY1gXv8WXBYGd9GgYRYd”,  
“count”: 3,  
“feasible”: true,  
“remarks”: “”,  
“route”: {  
“0”: {  
“name”: “34065”,  
“lat”: “52.5916315”,  
“lng”: “6.0888661”,  
“arrival”: 0,  
“distance”: 0  
},  
“1”: {  
“name”: “34068”,  
“lat”: “52.695525”,  
“lng”: “6.20694”,  
**"arrival": 18,**  
“distance”: 21.4  
},  
“2”: {  
“name”: “34066”,  
“lat”: “52.5137798”,  
“lng”: “6.0869437”,  
“arrival”: 65,  
“distance”: 46.6  
}  
}  
}

Anything I’m doing wrong or is it not possible to add a service time to the first stop?

---

<div class="post-metadata">

**Author:** ![RouteXL](https://support.routexl.com/user_avatar/support.routexl.com/routexl/32/347_2.png) [@RouteXL](https://support.routexl.com/u/RouteXL)\
**Post date:** [April 25, 2021, 5:28pm UTC](https://support.routexl.com/t/service-time-on-first-stop-not-calculating/1895/2 "2021-04-25T17:28:02Z")

</div>

You are right, it’s not possible to add service time to the first location. It’s not even considered a stop, but only acts as the departure point.

A workaround is to add an extra location nearby with the required service time. To make sure it gets visited first you could give it a due time. Do not use exactly the same coordinates as the first location, as that may trigger other mechanisms in the algorithm.
