Field Service

Get Involved. Join the Conversation.

Topic

    Mohana Gopal Selvam
    Start Activity from API
    Topic posted October 23, 2019 by Mohana Gopal SelvamSilver Crown: 22,500+ Points, tagged API / Integration 
    30 Views, 3 Comments
    Title:
    Start Activity from API
    Content:

    Hi,

    I have tried to update the status of the activities from postman. When I run the below one, customer name is modified, but status is not modified.

    {"status": "started", "customerName": "Bucket status Change"}

    1. Can we change status through API?

    2. Can we change the status of the activity when it is in Bucket?

    Thanks,

    Mohan

    Comment

     

    • Austin Keller

      Mohan,

      In order to change the status of an activity you must have a resource with a route started. In order to have a resource start a route, they must have scheduled work hours on their calendar.

      #1. The API should be able to start a route for a resource (if working time is on calendar), then start the activity.

      #2. A bucket cannot start a route or activity

       

      Hope this helps. Austin

    • Mohana Gopal Selvam

      Hi Austin,

      Thanks for your quick response. It is much helpful.

      One more query.

      3. Can we assign the activity to other than Technician Role (Ex: Vehicle, Bucket) and Start the activity? 

      4. If we create the Technician Role - Resources, are they consider as Named users (Consider for license)? I tried to assign the activity from different group and start and stop the activity externally based on other third party system.

      Thanks,

      Mohan

    • Mohana Gopal Selvam

      Hi,

      Anyone please answer my above questions?

      Thanks,

      Mohan