Get a Time Off
Purpose
To fetch a specific time off record.
Request URL
https://fsm.zoho.com/fsm/v1/Time_Off/<record_id>
record_id - The unique ID of the record. You can obtain this ID from the List Time Offs API.
Request Method
GET
Scope
scope=ZohoFSM.modules.TimeOff.READ
Sample Request
Copiedcurl --request GET 'https://fsm.zoho.com/fsm/v1/Time_Off/1003000001496118' \
--header 'Authorization: Zoho-oauthtoken 1000.3xxxxxxxxx.xxxxxxxxxxxxx0e'
Sample Response
Copied{
"data": [
{
"Owner": {
"name": "Atticus Pund",
"id": "1003000000795001",
"email": "atticus.pund@noemail.com"
},
"Modified_Time": "2024-04-02T15:08:08+05:30",
"Description": null,
"Created_Time": "2024-04-02T15:08:08+05:30",
"$editable": true,
"$permissions": {
"read": true,
"edit": false,
"delete": false
},
"Reason": "Leave",
"Name": "AB-4",
"Service_Resource": {
"name": "Atticus Pund",
"id": "1003000000795013"
},
"End_Date_Time": "2024-04-02T17:00:00+05:30",
"Modified_By": {
"name": "Marianne Sheehan",
"id": "1003000000208001",
"email": "marianne@noemail.com"
},
"Start_Date_Time": "2024-04-02T15:00:00+05:30",
"$inactive": false,
"id": "1003000001496118",
"Created_By": {
"name": "Marianne Sheehan",
"id": "1003000000208001",
"email": "marianne@noemail.com"
}
}
]
}
Show full
Show less