Download OpenAPI specification:Download
The AuditLogManagement API is a restful web service which allows end developers a way to integrate with IDI Billing Solutions and access audit/event log information that is generated by CostGuard Client as well as the CG Web APIs.
Retrieve a specific audit log record.
| id required | number Example: 1 Id of auditlog to retrieve. |
| Content-Type required | string Example: application/json |
Unexpected error in API call. See HTTP response body for details.
{- "application": "Customer WebService",
- "auditLogID": 12345,
- "description": "Customer 1234567890 Updated",
- "entryDate": "1996-01-01T14:00:00.156Z",
- "environment": "P_Prod",
- "isRoot": true,
- "logData": "Inserted New Record",
- "logLevel": 1,
- "nodeType": 1,
- "objectID": 1234,
- "objectKey": 1234567890,
- "objectType": "Customer",
- "operation": "ModifyCustomer",
- "parentTreeNodeID": "Null:Null",
- "treeID": "bf942102-60bf-49a6-8564-961199a8c82f",
- "treeNodeID": "2018-07-30T04:00:00.000Z",
- "username": "audit_user"
}Retrieve audit log information.
If no $top is specified, a default page size of 100 records per call will be used.
The $top has a max page size of 500 records returned per call.
If $filter is not specified, only results within the last 24 hours will be returned.
If $filter does not contain an indexed field AND does not contain EntryDate,
only results within the last 30 days will be returned.
The following is a list of important fields when filtering.
| $count | boolean Example: $count=true Specifies whether to fetch the total count of results. This is the count of all entities that match the |
| $filter | string Example: $filter=field1 eq 1234 A structured search expression in standard OData syntax. |
| $orderby | string Example: $orderby=field1 A list of comma-separated expressions to sort the results by. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. |
| $select | string Example: $select=field1, field2 A list of comma-separated fields to retrieve. If unspecified, all fields in the schema are included. |
| $skip | number Example: $skip=10 Number of search results to skip. |
| $top | number Example: $top=1 Number of search results to retrieve. Default value is 100 with the ability to specify up to 500. Any number greater than 500 will still only return 500 records. |
| contentType required | string Example: application/json |
Unexpected error in API call. See HTTP response body for details.
{- "value": [
- {
- "application": "Customer WebService",
- "auditLogID": 12345,
- "description": "Customer 1234567890 Updated",
- "entryDate": "1996-01-01T14:00:00.156Z",
- "environment": "P_Prod",
- "isRoot": true,
- "logData": "Inserted New Record",
- "logLevel": 1,
- "nodeType": 1,
- "objectID": 1234,
- "objectKey": 1234567890,
- "objectType": "Customer",
- "operation": "ModifyCustomer",
- "parentTreeNodeID": "Null:Null",
- "treeID": "bf942102-60bf-49a6-8564-961199a8c82f",
- "treeNodeID": "2018-07-30T04:00:00.000Z",
- "username": "audit_user"
}
]
}Retrieve audit log information along with additional records for related objects.
If no $top is specified, a default page size of 100 records per call will be used.
The $top has a max page size of 500 records returned per call.
If $filter is not specified, only results within the last 24 hours will be returned.
If $filter does not contain an indexed field AND does not contain EntryDate,
only results within the last 30 days will be returned.
The following is a list of important fields when filtering.
| $count | boolean Example: $count=true Specifies whether to fetch the total count of results. This is the count of all entities that match the |
| $filter | string Example: $filter=field1 eq 1234 A structured search expression in standard OData syntax. |
| $orderby | string Example: $orderby=field1 A list of comma-separated expressions to sort the results by. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. |
| $select | string Example: $select=field1, field2 A list of comma-separated fields to retrieve. If unspecified, all fields in the schema are included. |
| $skip | number Example: $skip=10 Number of search results to skip. |
| $top | number Example: $top=1 Number of search results to retrieve. Default value is 100 with the ability to specify up to 500. Any number greater than 500 will still only return 500 records. |
| contentType required | string Example: application/json |
Unexpected error in API call. See HTTP response body for details.
{- "value": [
- {
- "application": "Customer WebService",
- "auditLogID": 12345,
- "description": "Customer 1234567890 Updated",
- "entryDate": "1996-01-01T14:00:00.156Z",
- "environment": "P_Prod",
- "isRoot": true,
- "logData": "Inserted New Record",
- "logLevel": 1,
- "nodeType": 1,
- "objectID": 1234,
- "objectKey": 1234567890,
- "objectType": "Customer",
- "operation": "ModifyCustomer",
- "parentTreeNodeID": "Null:Null",
- "treeID": "bf942102-60bf-49a6-8564-961199a8c82f",
- "treeNodeID": "2018-07-30T04:00:00.000Z",
- "username": "audit_user"
}
]
}Retrieve audit log records for a specific object.
| type required | string Example: 'Customer' Type of object for which to retrieve audit log records. |
| id required | number Example: 1234 Id of the object. |
| $count | boolean Example: $count=true Specifies whether to fetch the total count of results. This is the count of all entities that match the |
| $filter | string Example: $filter=field1 eq 1234 A structured search expression in standard OData syntax. |
| $orderby | string Example: $orderby=field1 A list of comma-separated expressions to sort the results by. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. |
| $select | string Example: $select=field1, field2 A list of comma-separated fields to retrieve. If unspecified, all fields in the schema are included. |
| $skip | number Example: $skip=10 Number of search results to skip. |
| $top | number Example: $top=1 Number of search results to retrieve. Default value is 100 with the ability to specify up to 500. Any number greater than 500 will still only return 500 records. |
| contentType required | string Example: application/json |
Unexpected error in API call. See HTTP response body for details.
{- "value": [
- {
- "application": "Customer WebService",
- "auditLogID": 12345,
- "description": "Customer 1234567890 Updated",
- "entryDate": "1996-01-01T14:00:00.156Z",
- "environment": "P_Prod",
- "isRoot": true,
- "logData": "Inserted New Record",
- "logLevel": 1,
- "nodeType": 1,
- "objectID": 1234,
- "objectKey": 1234567890,
- "objectType": "Customer",
- "operation": "ModifyCustomer",
- "parentTreeNodeID": "Null:Null",
- "treeID": "bf942102-60bf-49a6-8564-961199a8c82f",
- "treeNodeID": "2018-07-30T04:00:00.000Z",
- "username": "audit_user"
}
]
}Retrieve audit log records for a specific user.
| username required | string Example: 'audit_user' Username on the auditlog records to retrieve. |
| $count | boolean Example: $count=true Specifies whether to fetch the total count of results. This is the count of all entities that match the |
| $filter | string Example: $filter=field1 eq 1234 A structured search expression in standard OData syntax. |
| $orderby | string Example: $orderby=field1 A list of comma-separated expressions to sort the results by. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. |
| $select | string Example: $select=field1, field2 A list of comma-separated fields to retrieve. If unspecified, all fields in the schema are included. |
| $skip | number Example: $skip=10 Number of search results to skip. |
| $top | number Example: $top=1 Number of search results to retrieve. Default value is 100 with the ability to specify up to 500. Any number greater than 500 will still only return 500 records. |
| contentType required | string Example: application/json |
Unexpected error in API call. See HTTP response body for details.
{- "value": [
- {
- "application": "Customer WebService",
- "auditLogID": 12345,
- "description": "Customer 1234567890 Updated",
- "entryDate": "1996-01-01T14:00:00.156Z",
- "environment": "P_Prod",
- "isRoot": true,
- "logData": "Inserted New Record",
- "logLevel": 1,
- "nodeType": 1,
- "objectID": 1234,
- "objectKey": 1234567890,
- "objectType": "Customer",
- "operation": "ModifyCustomer",
- "parentTreeNodeID": "Null:Null",
- "treeID": "bf942102-60bf-49a6-8564-961199a8c82f",
- "treeNodeID": "2018-07-30T04:00:00.000Z",
- "username": "audit_user"
}
]
}