View the Work log in a request
URL
https://sdpondemand.manageengine.com/api/json/request/REQUEST_ID/worklogs/WORKLOGID
Method
HTTP POST
API description
Retrieves and displays the worklog in a request in the ServiceDesk Plus On-Demand application
Parameters to be passed
authtoken, scope, OPERATION_NAME (value is GET_WORKLOG )
Sample Request:
curl -d "authtoken=860608382173c3a027f8e1273fb22101&OPERATION_NAME=GET_WORKLOG&scope=sdpodapi"
https://sdpondemand.manageengine.com/api/json/request/10/worklogs/2000000124193
Sample Response:
{
"operation": {
"name": "GET_WORKLOG",
"result": {
"status": "Success",
"message": "Worklog details fetched successfully."
},
"Details": {
"DATETIME": "1320669066420",
"EXECUTEDTIME": "1320669066420",
"OWNERID": "2000000016055",
"AMOUNT": "40.0",
"WORKORDERID": "10",
"WORKHOURS": "2",
"TECHNICIAN": "Chris Cullen",
"DESCRIPTION": "Test",
"WORKMINUTES": "20",
"WORKLOGID": "2000000124193"
}
}
}