Retrieve records by service
GET /audit/{accountId}/{service}/{requestId}/records
Retrieves specified records by account, service, and request ID.
Token usage: NetApp Console user token.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
accountId |
string |
path |
True |
|
service |
string |
path |
True |
|
requestId |
string |
path |
True |
Response
Status: 200,
| Name | Type | Required | Description |
|---|---|---|---|
creationTime |
number |
True |
Creation time of the record. Unix epoch in milliseconds. |
action |
string |
False |
Action name of the event. |
status |
string |
True |
Status of the operation. |
data |
string |
False |
Any optional data of the record. String value can be stringified JSON. |
errors |
array[string] |
False |
Array of error message/s if exists. that related to this auditRecord |
recordId |
number |
True |
Record id - is unique per requestId per service. |
Example response
{
"creationTime": 1676559600,
"action": "Create Replication Vsa",
"status": "success",
"data": "\"{\"replicationRequest\":{\"policyName\":\"MirrorAllSnapshots\",\"destinationWorkingEnvironmentId\":\"VsaWorkingEnvironment-LspTA9zs\",\"sourceWorkingEnvironmentId\":\"VsaWorkingEnvironment-bMyCULIC\",\"destinationInterclusterLifIps\":[\"10.0.0.35\"],\"sourceInterclusterLifIps\":[\"1.1.1.1\"],\"maxTransferRate\":null,\"scheduleName\":\"weekly\"},\"replicationVolume\":{\"destinationProviderVolumeType\":\"Standard_LRS\",\"destinationVolumeName\":\"vol2_1000g_case3_copy\",\"sourceVolumeName\":\"vol2_1000g\",\"advancedMode\":false,\"numOfDisksApprovedToAdd\":1,\"destinationCapacityTier\":null,\"destinationAggregateName\":\"aggr2\",\"sourceSvmName\":\"svm_srcVsa1\"}}\"",
"errors": "[error1,error2]",
"recordId": 234543
}