Virima API Specification - PriorityService Services
The requests documented in this section are directed to
PriorityService resources, which represent .
getAllPriority GET Interface
Method: GET
Relative URL: priority/get-all/module
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Response Structure:
Field Name | Type | Description |
---|
resp | IncidentPriorityList | |
Example Request:
Example Response:
{
"id":2147483647,
"responseList":[
{
"id":2147483647,
"urgency":"?",
"impact":"?",
"priority":"?"
} ]
}
getPriority GET Interface
Method: GET
Relative URL: priority/get/module
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Response Structure:
Field Name | Type | Description |
---|
resp | IncidentPriorityList | |
Example Request:
Example Response:
{
"id":2147483647,
"responseList":[
{
"id":693854313,
"urgency":"?",
"impact":"?",
"priority":"?"
} ]
}
editPriority POST Interface
Method: POST
Relative URL: priority/edit/module
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
editIncidentPriorityList | EditIncidentPriorityList | |
Response Structure:
Field Name | Type | Description |
---|
response | IncidentPriorityList | |
Example Request:
EDITPRIORITY
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"editIncidentPriorityList":[
{
"priority":"?"
} ]
}
Example Response:
{
"id":2147483647,
"responseList":[
{
"id":2147483647,
"urgency":"?",
"impact":"?",
"priority":"?"
} ]
}
priorityPossibleValues GET Interface
Method: GET
Relative URL: priority/priority-possible-values
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
Example Response:
{
"id":2147483647,
"response":"?"
}