Get Request Fields
URL
https://sdpondemand.manageengine.com/api/json/request/REQUEST_ID/fields
Method
HTTP POST
API description
Retrieves all the fields of a request and their allowed values based on whatever fields available in the corresponding Request's Template.
Parameters to be passed
authtoken, scope, OPERATION_NAME (value is GET_REQUEST_FIELDS)
Sample Request:
curl -d "scope=sdpodapi&authtoken=67a93350adf65dbd01f816408d43ad41
&OPERATION_NAME=GET_REQUEST_FIELDS"
https://sdpondemand.manageengine.com/api/json/request/10/fields
Sample Response:
{
"operation":{
"name":"GET_REQUEST_FIELDS",
"result":{
"status":"Success",
"message":"Request fields retrieved successfully"
},
"Details":[
{
"DISPLAYNAME":"Requested by",
"NAME":"REQUESTER",
"VALUE":"Chris Cullen",
},
{
"DISPLAYNAME":"Email Address",
"NAME":"REQUESTEREMAIL",
"VALUE":"chris.cullen@zillum.com",
},
{
"NAME":"CC",
"VALUE":"howard.stern@zillum.com"
},
{
"DISPLAYNAME":"Subject",
"NAME":"SUBJECT",
"VALUE":"test",
},
{
"NAME":"TEMPLATEID",
"VALUE":"2000000007401"
},
{
"DISPLAYNAME":"Request Type",
"NAME":"REQUESTTYPE",
"VALUE":"",
"ALLOWED VALUES":"Incident,Request For Information,Service Request"
},
{
"DISPLAYNAME":"Impact",
"NAME":"IMPACT",
"VALUE":"",
"ALLOWED VALUES":"Affects Business,Affects Department,Affects Group,Affects User"
},
{
"DISPLAYNAME":"Status",
"NAME":"STATUS",
"VALUE":"Closed",
"ALLOWED VALUES":"Closed,On Hold,Open,Resolved"
},
{
"DISPLAYNAME":"Impact Details",
"NAME":"IMPACTDETAILS",
"VALUE":"",
},
{
"DISPLAYNAME":"Mode",
"NAME":"MODE",
"VALUE":"",
"ALLOWED VALUES":"E-Mail,Phone Call,Web Form"
},
{
"DISPLAYNAME":"Urgency",
"NAME":"URGENCY",
"VALUE":"",
"ALLOWED VALUES":"High,Low,Normal,Urgent"
},
{
"DISPLAYNAME":"Level",
"NAME":"LEVEL",
"VALUE":"",
"ALLOWED VALUES":"Tier 1,Tier 2,Tier 3,Tier 4"
},
{
"DISPLAYNAME":"Priority",
"NAME":"PRIORITY",
"VALUE":"",
"ALLOWED VALUES":"High,Low,Medium,Normal"
},
{
"DISPLAYNAME":"Category",
"NAME":"CATEGORY",
"VALUE":"",
"ALLOWED VALUES":"Desktop Hardware,General,Internet,Network,Software,Switches,Telephone,User Administration"
},
{
"DISPLAYNAME":"Group",
"NAME":"GROUP",
"VALUE":"Hardware Problems",
"ALLOWED VALUES":"Hardware Problems,Network,Printer Problems"
},
{
"DISPLAYNAME":"Sub Category",
"NAME":"SUBCATEGORY",
"VALUE":"",
},
{
"DISPLAYNAME":"Technician",
"NAME":"TECHNICIAN",
"VALUE":"srivatsanp",
"ALLOWED VALUES":"srivatsanp+test1,srivatsanp"
},
{
"DISPLAYNAME":"Item",
"NAME":"ITEM",
"VALUE":"",
},
{
"DISPLAYNAME":"Created By",
"NAME":"CREATEDBY",
"VALUE":"srivatsanp",
},
{
"DISPLAYNAME":"Department",
"NAME":"DEPARTMENT",
"VALUE":"",
},
{
"DISPLAYNAME":"SLA",
"NAME":"SLA",
"VALUE":"",
},
{
"DISPLAYNAME":"Template",
"NAME":"REQUESTTEMPLATE",
"VALUE":"Default Request",
},
{
"DISPLAYNAME":"Created Date",
"NAME":"CREATEDTIME",
"VALUE":"1368171663606",
},
{
"DISPLAYNAME":"DueBy Date",
"NAME":"DUEBYTIME",
"VALUE":"-1",
},
{
"DISPLAYNAME":"Completed Date",
"NAME":"COMPLETEDTIME",
"VALUE":"1368435689962",
},
{
"DISPLAYNAME":"Time Spent",
"NAME":"TIMESPENTONREQ",
"VALUE":"10hrs 20min",
}
]
}
}