Audit operations - Gets Audit Record by Id
Gets the audit record for the provided Id.
GET https://api.partnercenter.microsoft.com/auditactivity/v{version}/auditrecords/{id}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
id
|
path | True |
string |
Id of the record to be retrieved |
version
|
path | True |
string |
Request Header
Name | Required | Type | Description |
---|---|---|---|
Authorization | True |
string |
Bearer authentication token |
ms-correlationid |
string |
Correlation Id |
|
ms-requestid |
string |
Request Id |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request was successful. The response body contains an audit record matching the Id or null if the record does not exist. Media Types: "application/json", "text/json" |
|
400 Bad Request |
There was a missing or an invalid input. The response body will provide the error details. Media Types: "application/json", "text/json" |
|
401 Unauthorized |
The request was not authenticated. The client needs to authenticate with the partner API service first. Media Types: "application/json", "text/json" |
|
403 Forbidden |
The request was authenticated but was refused since the caller does not have the rights to invoke it. Media Types: "application/json", "text/json" |
|
404 Not Found |
The resource is not found or not available with the given input parameters. Media Types: "application/json", "text/json" |
|
500 Internal Server Error |
The partner API service or one of its dependencies failed to fulfill the request. Callers may retry this. Media Types: "application/json", "text/json" |
Security
Authorization
Bearer authentication token
Type:
apiKey
In:
header
Definitions
Name | Description |
---|---|
Audit |
|
Key |
|
Resource |
AuditRecord
Name | Type | Description |
---|---|---|
applicationId |
string |
|
attributes | ||
customerId |
string |
|
customerName |
string |
|
customizedData | ||
id |
string |
|
operationDate |
string |
|
operationStatus |
enum:
|
|
operationType |
enum:
|
|
originalCorrelationId |
string |
|
partnerId |
string |
|
resourceNewValue |
string |
|
resourceOldValue |
string |
|
resourceType |
enum:
|
|
sessionId |
string |
|
userPrincipalName |
string |
KeyValuePair[String,String]
Name | Type | Description |
---|---|---|
key |
string |
|
value |
string |
ResourceAttributes
Name | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |