audits (entity level)
Description
The collection of change records for an entity.
URL
/qcbin/rest/domains/{domain}/projects/{project}/{entity collection}/{ID}/audits
Remarks
To get change records for more than one entity, use the project level audits resource.
HTTP Methods
GET: Returns the collection of audit records.
PUT: N/A
DELETE: N/A
POST: N/A
Media Type | GET
| PUT
| DELETE
| POST
|
---|---|---|---|---|
application/xml | ![]() | - | - | - |
application/json | ![]() | - | - | - |
Examples
This URL retrieves the audits resource for change records of test 103.
/qcbin/rest/domains/{domain}/projects/{project}/tests/103/audits
Returns
One of the HTTP Return Codes.
An XML string compliant with the audits Schema or a string containing the data in another supported format
Examples

<Audits TotalResults="1"> <Audit> <Id>26</Id> <Action>DELETE</Action> <ParentId>4</ParentId> <ParentType>test</ParentType> <Time>2020-02-24 14:12:13</Time> <User>sa</User> <Properties/> </Audit> </Audits>

{ "Audits": { "Audit": { "ParentId": 4, "Action": "DELETE", "User": "sa", "ParentType": "test", "Time": "2020-02-24 14:12:13", "Id": 26, "Properties": "" }, "TotalResults": 1 } }