Assign Requests


Assign Requests

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

Method
HTTP POST

API description
Assigns multiple requests to a technician in the ServiceDesk Plus On-Demand application

Parameters to be passed
authtoken, scope, OPERATION_NAME (value is ASSIGN_REQUESTS), ID (Request IDs that are to be assigned. This parameter can be present multiple times) and INPUT_DATA )

Sample Input Data:

{
   "operation": {
      "Details": {
         "TECHNICIANID": "2000000070001"
         "GROUPID": "2000000070001"
      }
   }
}
Note : To get the Technician and Group Ids, call the API to get the Technician Groups.

Sample Request:

curl -d 
"scope=sdpodapi&authtoken=b3aed9bb15835ea8a7aec7559b565204
&OPERATION_NAME=ASSIGN_REQUESTS&ID=3&ID=4&INPUT_DATA=
{operation: {Details: {TECHNICIANID: 2000000070001,GROUPID: 2000000070001}}}" 
https://sdpondemand.manageengine.com/api/json/request

Sample Response:

{
   "operation": {
      "name": "ASSIGN_REQUESTS",
      "result": {
         "status": "Success",
         "message": "Requests assigned successfully"
      }
   }
}



     RSS of this page