Home / Notes / Add notes

Add notes


Add a note to a request

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

Method
HTTP POST

API description
Adds a note to a request in the ServiceDesk Plus On-Demand application

Parameters to be passed
authtoken, scope, OPERATION_NAME (value is ADD_NOTE) and INPUT_DATA

Sample INPUT_DATA:

{
   "operation": {
      "Details": {
         "NOTESTEXT": "my note for testing",
         "ISPUBLIC": "yes",
         "NOTIFYTECH": "yes"
      }
   }
}

Sample Request:

curl -d "authtoken=860608382173c3a027f8e1273fb22101
&OPERATION_NAME=ADD_NOTE&scope=sdpodapi&
INPUT_DATA={operation:{Details:
{NOTESTEXT:my note for testing,NOTIFYTECH:yes, ISPUBLIC:yes}}}" 
https://sdpondemand.manageengine.com/api/json/request/10/notes

Sample Response:

{
   "operation": {
      "name": "ADD_NOTE",
      "result": {
         "status": "Success",
         "message": "Note added successfully for request 10"
      },
      "Details": {
         "NOTESID": "2000000124159"
         "NOTESDATE":"1320668123937"
      }
   }
}



     RSS of this page