{"type":"api","title":"Get AuditLog Parent Records","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"getAuditLogParentRecords","tags":["Event Management"],"summary":"Get AuditLog Parent Records","description":"Get Parent Audit Log Event instances from the Event-Hub ","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"instanceId","description":"InstanceID of the Audit Log.","required":false,"type":"string","in":"query"},{"name":"name","description":"Audit Log notification event name.","required":false,"type":"string","in":"query"},{"name":"eventId","description":"Audit Log notification's event ID. ","required":false,"type":"string","in":"query"},{"name":"category","description":"Audit Log notification's event category. Supported values: INFO, WARN, ERROR, ALERT, TASK_PROGRESS, TASK_FAILURE, TASK_COMPLETE, COMMAND, QUERY, CONVERSATION","required":false,"type":"string","in":"query"},{"name":"severity","description":"Audit Log notification's event severity. Supported values: 1, 2, 3, 4, 5.","required":false,"type":"string","in":"query"},{"name":"domain","description":"Audit Log notification's event domain.","required":false,"type":"string","in":"query"},{"name":"subDomain","description":"Audit Log notification's event sub-domain.","required":false,"type":"string","in":"query"},{"name":"source","description":"Audit Log notification's event source.","required":false,"type":"string","in":"query"},{"name":"userId","description":"Audit Log notification's event userId.","required":false,"type":"string","in":"query"},{"name":"context","description":"Audit Log notification's event correlationId.","required":false,"type":"string","in":"query"},{"name":"eventHierarchy","description":"Audit Log notification's event eventHierarchy. Example: \"US.CA.San Jose\" OR \"US.CA\" OR \"CA.San Jose\" - Delimiter for hierarchy separation is \".\".","required":false,"type":"string","in":"query"},{"name":"siteId","description":"Audit Log notification's siteId.","required":false,"type":"string","in":"query"},{"name":"deviceId","description":"Audit Log notification's deviceId.","required":false,"type":"string","in":"query"},{"name":"isSystemEvents","description":"Parameter to filter system generated audit-logs.","default":false,"required":false,"type":"boolean","in":"query"},{"name":"description","description":"String full/partial search - (Provided input string is case insensitively matched for records).","required":false,"type":"string","in":"query"},{"name":"offset","description":"Position of a particular Audit Log record in the data. ","required":false,"type":"number","in":"query"},{"name":"limit","description":"Number of Audit Log records to be returned per page.","required":false,"type":"number","in":"query"},{"name":"startTime","description":"Start Time in milliseconds since Epoch Eg. 1597950637211 (when provided endTime is mandatory)","required":false,"type":"number","in":"query"},{"name":"endTime","description":"End Time in milliseconds since Epoch Eg. 1597961437211 (when provided startTime is mandatory)","required":false,"type":"number","in":"query"},{"name":"sortBy","description":"Sort the Audit Logs by certain fields. Supported values are event notification header attributes.","required":false,"type":"string","in":"query"},{"name":"order","description":"Order of the sorted Audit Log records. Default value is desc by timestamp. Supported values: asc, desc.","required":false,"type":"string","in":"query"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string"},"instanceId":{"type":"string"},"eventId":{"type":"string"},"namespace":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"category":{"type":"string"},"domain":{"type":"string"},"subDomain":{"type":"string"},"severity":{"type":"integer"},"source":{"type":"string"},"timestamp":{"type":"integer"},"tags":{"type":"array","items":{"type":"object"}},"details":{"type":"object","properties":{}},"ciscoDnaEventLink":{"type":"string"},"note":{"type":"string"},"tntId":{"type":"string"},"context":{"type":"string"},"userId":{"type":"string"},"i18n":{"type":"string"},"eventHierarchy":{"type":"string"},"message":{"type":"string"},"messageParams":{"type":"string"},"additionalDetails":{"type":"object","properties":{}},"parentInstanceId":{"type":"string"},"network":{"type":"string"},"childCount":{"type":"number"},"tenantId":{"type":"string"}}},"$$ref":"#/definitions/GetAuditLogParentRecordsResponse"}},"204":{"description":"The request was successful, however no content was returned."},"206":{"description":"The GET request included a Range Header, and the server responded with the partial content matching the range."},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect)."},"401":{"description":"The client's authentication credentials included with the request are missing or invalid."},"403":{"description":"The server recognizes the authentication credentials, but the client is not authorized to perform this request."},"404":{"description":"The client made a request for a resource that does not exist."},"409":{"description":"The target resource is in a conflicted state (for example, an edit conflict where a resource is being edited by multiple users). Retrying the request later might succeed."},"415":{"description":"The client sent a request body in a format that the server does not support (for example, XML to a server that only accepts JSON)."},"500":{"description":"The server could not fulfill the request."},"501":{"description":"The server has not implemented the functionality required to fulfill the request."},"503":{"description":"The server is (temporarily) unavailable."},"504":{"description":"The server did not respond inside time restrictions and timed-out."}},"__originalOperationId":"getAuditLogParentRecords","method":"get","path":"/dna/data/api/v1/event/event-series/audit-log/parent-records"}}