Virima API Specification - ITILMetricService Services
The requests documented in this section are directed to
ITILMetricService resources, which represent .
editITILMetric POST Interface
Method: POST
Relative URL: itil-metric/edit
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
record | ITILMetric | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
EDITITILMETRIC
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"name":"?",
"value":"?",
"unit":"?",
"module":"?",
"internalId":?,
"uiOrder":?,
"archive":?,
"width":"?",
"className":"?",
"dbClassName":"?",
"idList":"?",
"query":"?",
"isDefault":?,
"secondaryValue":"?",
"lastModifiedOn":?,
"queryConstraint":"?"
}
Example Response:
{
"id":2147483647,
"response":"?"
}
editQueryConstraint POST Interface
Method: POST
Relative URL: itil-metric/edit-query-constraint
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
record | ITILMetric | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
EDITQUERYCONSTRAINT
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"name":"?",
"value":"?",
"unit":"?",
"module":"?",
"internalId":?,
"uiOrder":?,
"archive":?,
"width":"?",
"className":"?",
"dbClassName":"?",
"idList":"?",
"query":"?",
"isDefault":?,
"secondaryValue":"?",
"lastModifiedOn":?,
"queryConstraint":"?"
}
Example Response:
{
"id":1452289180,
"response":"?"
}