routes.setLocation

Save the map point for a job's address, so routes.day can give it to you with each stop (owner or office). Look the address up with your own maps tools, or have a person type it in. Doing Work does not look addresses up. The point is kept for this shop's jobs at the same address.

WhoAgents can call this
RESTPOST /v1/routes/setLocation
MCP toolroutes_setLocation
Writesyes, send an Idempotency-Key
AreaShop

When to use it

Save the map point for a job's address, so routes.day can give it to you with each stop (owner or office). Look the address up with your own maps tools, or have a person type it in.

What to tell the owner

Say what you did in plain words and what happens next.

Input

FieldTypeRequired
job_idstring (uuid)no
visit_idstring (uuid)no
latnumberyes
lngnumberyes
sourcestring (one of agent, typed)no

Example

POST https://doingwork.work/v1/routes/setLocation
content-type: application/json
Idempotency-Key: 3f1c...

{
  "lat": "...",
  "lng": "..."
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.