Home / Worklogs / View all Worklogs

View all Worklogs


View all the Worklogs in a request

URL
https://sdpondemand.manageengine.com/api/json/request/REQUEST_ID/worklogs

Method
HTTP POST

API description
Displays all the Worklogs in the ServiceDesk Plus On-Demand application for a request

Parameters to be passed
authtoken, scope, OPERATION_NAME (value is GET_WORKLOGS)


Sample Request:

curl -d "authtoken=860608382173c3a027f8e1273fb22101&OPERATION_NAME=GET_WORKLOGS&scope=sdpodapi" 
https://sdpondemand.manageengine.com/api/json/request/10/worklogs

Sample Response:

{
   "operation": {
      "name": "GET_WORKLOGS",
      "result": {
         "status": "Success",
         "message": "Work log details fetched successfully."
      },
      "Details": [
         {
            "DATETIME": "1320669066420",
            "EXECUTEDTIME": "1320669066420",
            "AMOUNT": "40.0",
            "WORKORDERID": "10",
            "WORKHOURS": "2",
            "TECHNICIAN": "Chris Cullen",
            "DESCRIPTION": "",
            "WORKMINUTES": "20",
            "WORKLOGID": "2000000124193"
         }
      ]
   }
}



     RSS of this page