Virima API Specification - AuditRecordService Services
The requests documented in this section are directed to
AuditRecordService resources, which represent AuditRecords (or History) getAuditRecord -- as called by a partner or directly by a webapp using the API..
getAuditRecord POST Interface
getAuditRecord(GET) is called when the application needs to get the audit record of a particular entity.
Method: POST
Relative URL: audit-record/get/entity-id/module-type/page-number/limit
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
filterInput | FilterInput | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
GETAUDITRECORD
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"module":"?",
"className":"?",
"dbClassName":"?",
"isDashboard":?,
"snKey":"?",
"snValue":"?",
"mainTabSubListSubTab":"?",
"importType":"?",
"sort": {
"sortKey":"?",
"sortOrder":"?",
"propertyName":"?",
"mapProperty":?
},
"filters":[
{
"display":"?",
"filterKey":"?",
"value1":"?",
"value2":"?",
"operator":"?",
"dbPropertyType":"?",
"mapProperty":?
} ]
}
Example Response:
{
"id":2147483647,
"response":"?"
}
getIPAMAuditRecord POST Interface
getAuditRecord(GET) is called when the application needs to get the audit record of a particular entity.
Method: POST
Relative URL: audit-record/get-ipam-audit/subnet-id/ip-id/module-type/page-number/limit
Request Headers: Accept, Authorization
Response Headers: Content-Length, Content-Type.
Request Structure:
Field Name | Type | Description |
---|
filterInput | FilterInput | |
Response Structure:
Field Name | Type | Description |
---|
response | Response | |
Example Request:
GETIPAMAUDITRECORD
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"module":"?",
"className":"?",
"dbClassName":"?",
"isDashboard":?,
"snKey":"?",
"snValue":"?",
"mainTabSubListSubTab":"?",
"importType":"?",
"sort": {
"sortKey":"?",
"sortOrder":"?",
"propertyName":"?",
"mapProperty":?
},
"filters":[
{
"display":"?",
"filterKey":"?",
"value1":"?",
"value2":"?",
"operator":"?",
"dbPropertyType":"?",
"mapProperty":?
} ]
}
Example Response:
{
"id":2147483647,
"response":"?"
}