Update Territory of a User
Purpose
To update the start/end date/time of a territory assigned to an user.
Request URL
https://fsm.zoho.com/fsm/v1/users/<user_id>/Territories
user_id - The ID (the value of User in the Service_Resources key present in the List Users API response) of the user.
Request Method
PUT
Scope
scope=ZohoFSM.users.UPDATE
Input JSON Keys
Name | Description | Type |
Territory (mandatory) | The ID of the territory you want to assign to the user. | JSON Object |
Start_Date_Time (mandatory) | The date/time from which you want the user to be active/available in this territory. The value must be in the ISO format YYYY-MM-DDThh:mm:ssTZD. | DateTime |
End_Date_Time | The date/time after which you want the user to be inactive/unavailable in this territory. The value must be in the ISO format YYYY-MM-DDThh:mm:ssTZD | DateTime |
id (mandatory) | The ID of the territory entry you want to update. Refer to this API doc to get this ID. | String |
Sample Request
Copied
Sample Input
Copied
Sample Response
Copied
Show full
Show less
Sample Error Response
Copied
Sample Error Response
Copied
Show full
Show less
Sample Error Response
Copied