Assign Territory To User
Purpose
To assign a territory to a 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
POST
Scope
scope=ZohoFSM.users.CREATE
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 |
Sample Request
Copied
Sample Input
Copied
Sample Response
Copied
Show full
Show less
Sample Error Response
Copied
Show full
Show less
Sample Error Response
Copied