Home / Users / View Technician Groups

View Technician Groups


View the list of technician groups 

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

Method
HTTP POST

API description
Displays the list of technicians groups in a site in the ServiceDesk Plus On-Demand application

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

Sample INPUT_DATA:

{
   "operation": {
      "Details": {
         "SITENAME": "Texas"        
      }
   }
}

Note :INPUT_DATA is optional for this API. If not given, the api will list all the groups.

Sample Request:

curl -d "scope=sdpodapi&authtoken=e6e18385feaac81354f86958720e1114&OPERATION_NAME=GET_TECHNICIAN_GROUPS&
INPUT_DATA={operation:{Details:{SITENAME:Texas}}}" https://sdpondemand.manageengine.com/api/json/technician


Sample Response:

{
   "operation": {
      "name": "GET_TECHNICIAN_GROUPS",
      "result": {
         "status": "Success",
         "message": "Groups retrieved successfully"
      },
      "totalRows": 4,
      "Details": [
         {
            "GROUPNAME": "Hardware Problems",
            "GROUPID": "2000000006727"
         },
         {
            "GROUPNAME": "Browser",
            "GROUPID": "2000000071001"
         },
         {
            "GROUPNAME": "Printer Problems",
            "GROUPID": "2000000006731"
         },
         {
            "GROUPNAME": "Network",
            "GROUPID": "2000000006729"
         }
      ]
   }
}



     RSS of this page