Znode

Build Version:

GET audits/{auditId}

Gets an audit record.

Request Information

» Parameters

Name Description Additional information
auditId The ID of the audit record.

Define this parameter in the request URI.

» Expands

Name Description Usage
auditSourceType This will retrieve the related audit source type. GET audits/{auditId}?expand=auditsourcetype
auditStatus This will retrieve the related audit status. GET audits/{auditId}?expand=auditstatus
auditType This will retrieve the related audit type. GET audits/{auditId}?expand=audittype
catalogs This will retrieve the related catalogs. GET audits/{auditId}?expand=catalogs
categories This will retrieve the related list of categories. GET audits/{auditId}?expand=categories
portal This will retrieve the related list of portals. GET audits/{auditId}?expand=portal
product This will retrieve the related product. GET audits/{auditId}?expand=product

Response Information

» Response Body Formats

If this endpoint supports expands, they will be included in the sample response body below. However, please note that expands are NOT included in the response body by default. Expands are only included in the response body if they came through as part of the request.

Sample:
	{
  "Audit": {
    "AuditId": 1,
    "AuditSourceType": {
      "AuditSourceTypeId": 1,
      "CreateDate": "2013-04-29T10:49:32.657",
      "CreatedBy": "Username",
      "SourceType": "Product",
      "UpdateDate": null,
      "UpdatedBy": null
    },
    "AuditSourceTypeId": 1,
    "AuditStatus": {
      "AuditStatusId": 2,
      "CreateDate": "2013-04-29T10:49:32.657",
      "CreatedBy": "Username",
      "Description": "New",
      "UpdateDate": null,
      "UpdatedBy": null
    },
    "AuditStatusId": 1,
    "AuditType": {
      "AuditTypeId": 1,
      "CreateDate": "2013-04-29T10:49:32.657",
      "CreatedBy": "Username",
      "ModificationType": "New",
      "UpdateDate": null,
      "UpdatedBy": null
    },
    "AuditTypeId": 1,
    "CreateDate": "2013-04-29T10:49:32.657",
    "CreatedBy": "Username",
    "ExternalId": null,
    "ProcessedDate": null,
    "SourceId": 1,
    "Product": null,
    "Category": null,
    "Catalog": null,
    "Portal": null
  },
  "ErrorCode": null,
  "ErrorMessage": null,
  "StackTrace": null,
  "AllowHtmlResponse": false,
  "HasError": false,
  "StringResponse": null
}