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
|
|
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
|
AuditRecord
|
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
AuditRecord
Object
Name |
Type |
Description |
applicationId
|
string
|
|
attributes
|
ResourceAttributes
|
|
customerId
|
string
|
|
customerName
|
string
|
|
customizedData
|
KeyValuePair[String,String][]
|
|
id
|
string
|
|
operationDate
|
string
(date-time)
|
|
operationStatus
|
enum:
-
decline
(int32)
-
failed
(int32)
-
progress
(int32)
-
succeeded
(int32)
|
|
operationType
|
enum:
-
add_application_credential
(int32)
-
add_customer
(int32)
-
add_user_member
(int32)
-
cancel_credit
(int32)
-
convert_trial_subscription
(int32)
-
create_agreement
(int32)
-
create_credit
(int32)
-
create_customer_user
(int32)
-
create_mpn_association
(int32)
-
create_order
(int32)
-
create_partner_relationship
(int32)
-
create_partner_user
(int32)
-
create_referral
(int32)
-
create_related_referral
(int32)
-
create_self_serve_policy
(int32)
-
create_self_serve_policy
(int32)
-
create_transfer
(int32)
-
dap_admin_relationship_approved
(int32)
-
dap_admin_relationship_approved
(int32)
-
dap_admin_relationship_terminated
(int32)
-
dap_admin_relationship_terminated
(int32)
-
delete_customer
(int32)
-
delete_customer_user
(int32)
-
delete_self_serve_policy
(int32)
-
delete_tip_customer
(int32)
-
device_deleted
(int32)
-
device_updated
(int32)
-
devices_update_attempted
(int32)
-
devices_upload_to_existing_batch_attempted
(int32)
-
devices_upload_to_new_batch_attempted
(int32)
-
extend_relationship
(int32)
-
get_software_download_link
(int32)
-
get_software_key
(int32)
-
granular_admin_access_assignment_activated
(int32)
-
granular_admin_access_assignment_created
(int32)
-
granular_admin_access_assignment_deleted
(int32)
-
granular_admin_access_assignment_updated
(int32)
-
granular_admin_relationship_activated
(int32)
-
granular_admin_relationship_approved
(int32)
-
granular_admin_relationship_cleaned_up
(int32)
-
granular_admin_relationship_expired
(int32)
-
granular_admin_relationship_terminated
(int32)
-
granular_admin_relationship_termination_requested
(int32)
-
increase_spending_limit
(int32)
-
policy_created
(int32)
-
policy_deleted
(int32)
-
policy_updated
(int32)
-
ready_invoice
(int32)
-
register_application
(int32)
-
remove_application_credential
(int32)
-
remove_partner_customer_relationship
(int32)
-
remove_partner_relationship
(int32)
-
remove_partner_user
(int32)
-
remove_user_member
(int32)
-
reset_customer_user_password
(int32)
-
restore_customer_user
(int32)
-
software_attestation
(int32)
-
unregister_application
(int32)
-
update_company_info
(int32)
-
update_credit
(int32)
-
update_customer_billing_profile
(int32)
-
update_customer_partner_contract_company_name
(int32)
-
update_customer_qualification
(int32)
-
update_customer_spending_budget
(int32)
-
update_customer_user
(int32)
-
update_customer_user_licenses
(int32)
-
update_customer_user_principal_name
(int32)
-
update_mpn_association
(int32)
-
update_order
(int32)
-
update_partner_user
(int32)
-
update_referral
(int32)
-
update_related_referral
(int32)
-
update_self_serve_policy
(int32)
-
update_sfb_customer_user_licenses
(int32)
-
update_subscription
(int32)
-
update_transfer
(int32)
-
upgrade_subscription
(int32)
|
|
originalCorrelationId
|
string
|
|
partnerId
|
string
|
|
resourceNewValue
|
string
|
|
resourceOldValue
|
string
|
|
resourceType
|
enum:
-
agreement
(int32)
-
application
(int32)
-
application_credential
(int32)
-
credit
(int32)
-
customer
(int32)
-
customer_directory_role
(int32)
-
customer_user
(int32)
-
device
(int32)
-
granular_admin_access_assignment
(int32)
-
granular_admin_relationship
(int32)
-
invoice
(int32)
-
license
(int32)
-
mpn_association
(int32)
-
order
(int32)
-
partner_customer_dap
(int32)
-
partner_customer_relationship
(int32)
-
partner_relationship
(int32)
-
partner_user
(int32)
-
policy
(int32)
-
referral
(int32)
-
self_serve_policy
(int32)
-
software_download_link
(int32)
-
software_key
(int32)
-
software_page
(int32)
-
spending_limit
(int32)
-
subscription
(int32)
-
third_party_add_on
(int32)
-
transfer
(int32)
|
|
sessionId
|
string
|
|
userPrincipalName
|
string
|
|
KeyValuePair[String,String]
Object
Name |
Type |
Description |
key
|
string
|
|
value
|
string
|
|
ResourceAttributes
Object
Name |
Type |
Description |
etag
|
string
|
|
objectType
|
string
|
|