$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

In this article you will learn how to retrieve and create Worklog for tickets using the REST API.

GET/ Worklog

To retrieve the existing Worklog information, you need to specify the required parameters in Swagger. To learn how to retrieve information using GET method, refer to Incident Controller

POST/ Worklog

To create a new worklog, perform the following:

  1. Click POST to create information.
  2. Specify the following details in the Parameters section.:
      - ISM application URL
      - User authtoken
      - Slice token
      - Web service user name and password
  3. Click the Example Value text box. The operations displayed in the text box will be copied to the Worklog text box.
  4. Click Try it out to view the response.
    The following information is displayed in the Example Value box.

Valid Attribute

{
"ClientViewable": "string",
"CreationTimestamp": "string",
"CreationUserID": "string",
"CreationUserName": "string",
"LastModTimestamp": "string",
"LastModUserID": "string",
"LastModUserName": "string",
"Text": "string",
"TicketID": "string",
"TicketIdentifier": "string",
"TicketType": "string",
"TimeSpent": "string",
"WorklogActualDate": "string",
"WorklogType": "string",
"WorklogTypeCode": "string",
"communicationSendCC": "string",
"communicationSendTo": "string",
"sendMail": "string"
}

Sample Worklog

{ "Text": "Updated ticket",
  "TicketIdentifier": "100-291",
  "WorklogType": "Update"
}
{  
    "data": "Success",
    "error": null,
    "status": "CREATED"
}
  • No labels