Field Service

Get Involved. Join the Conversation.

Topic

    Waqas Amin
    Unable to set 'position_in_route' using rest apiAnswered
    Topic posted March 30, 2018 by Waqas AminRed Ribbon: 250+ Points 
    59 Views, 4 Comments
    Title:
    Unable to set 'position_in_route' using rest api
    Content:

    Hi Experts,

    I'm trying to create an activity using RestApi, I'm passing "position_in_route" : "unordered" but it is not reflecting and the ordered activity is always created.

    Version:
    17.8.21.1.1

    Best Comment

    Shankar Narayanan

    Hi Waqas, Unfortunately, I cant try in 17.8 environments as my environment is in 18a. From what I can see it works in 18a. Pls. ensure you are passing this in the object in the create activity JSON.

    "setPositionInRoute":{

     "position": "notOrdered"
     }

    Comment