API调用URL地址
http://<serverName>:<portNumber>/sdpapi/request
示例:http://192.168.0.177:8080/sdpapi/request
请求参数
方法:GET
请求参数:
参数名 | 值 | 位置 |
OPERATION_NAME | GET_REQUEST_FILTERS | Params |
format | json | Params |
authtoken | <API Key> | header
|
输入示例
http://192.168.0.177:8080/sdpapi/request?OPERATION_NAME=GET_REQUEST_FILTERS&format=json
响应示例
{
"operation":{
"result":{
"message":"Request Filters retreived properly",
"status":"Success"
},
"Details":[
{
"VIEWID":"MyOpen_Or_Unassigned",
"VIEWNAME":"我的未处理或者未指派的"
},
{
"VIEWID":"Unassigned_System",
"VIEWNAME":"未指派的请求"
},
{
"VIEWID":"Open_User",
"VIEWNAME":"我的未处理请求"
},
{
"VIEWID":"Onhold_User",
"VIEWNAME":"我的搁置请求"
},
{
"VIEWID":"Overdue_User",
"VIEWNAME":"我的已逾期请求"
},
{
"VIEWID":"All_Pending_User",
"VIEWNAME":"我的未解决的请求"
},
{
"VIEWID":"All_Pending_Requests_Tasks_User",
"VIEWNAME":"我的待解决请求或任务"
},
{
"VIEWID":"Due_Today_User",
"VIEWNAME":"我的今天要过期的请求"
},
{
"VIEWID":"All_Completed_User",
"VIEWNAME":"我的已完成的请求"
},
{
"VIEWID":"My_Pending_Approval",
"VIEWNAME":"待审批的请求"
},
{
"VIEWID":"All_User",
"VIEWNAME":"我的所有请求"
},
{
"VIEWID":"Open_System",
"VIEWNAME":"未处理的请求"
},
{
"VIEWID":"Onhold_System",
"VIEWNAME":"搁置的请求"
},
{
"VIEWID":"Overdue_System",
"VIEWNAME":"已逾期的请求"
},
{
"VIEWID":"Overdue_System_Today",
"VIEWNAME":"今天要过期的请求"
},
{
"VIEWID":"Pending_Approval",
"VIEWNAME":"尚未批准的请求"
},
{
"VIEWID":"All_Pending",
"VIEWNAME":"所有未解决的请求"
},
{
"VIEWID":"All_Completed",
"VIEWNAME":"所有已完成的请求"
},
{
"VIEWID":"Group_OLA_Overdue",
"VIEWNAME":"我的组内OLA逾期的请求"
},
{
"VIEWID":"OLA_Overdue_System",
"VIEWNAME":"OLA逾期请求"
},
{
"VIEWID":"OLA_Overdue_System_Today",
"VIEWNAME":"请求OLA今日到期"
},
{
"VIEWID":"Waiting_Update",
"VIEWNAME":"正等待我的更新"
},
{
"VIEWID":"Updated_By_Me",
"VIEWNAME":"已被我更新"
},
{
"VIEWID":"All_Requests",
"VIEWNAME":"所有请求"
},
{
"VIEWID":"Share_Pending",
"VIEWNAME":"共享给我的待解决请求"
},
{
"VIEWID":"Share_All_Requests",
"VIEWNAME":"共享给我的请求"
},
{
"VIEWID":"missed_chat_requests",
"VIEWNAME":"错过聊天的请求"
},
{
"VIEWID":"closed_chat_requests",
"VIEWNAME":"关闭聊天的请求"
}
]
}}Postman示例