| GET,OPTIONS | /v1/records/audit |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Q | query | string | No | |
| Verb | query | string | No | |
| Range | query | int | No | |
| Page | query | int | No | |
| PageSize | query | int | No | |
| Top | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Events | form | List<RecordAuditDto> | No | |
| Total | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | form | int | No | |
| RecordKey | form | string | No | |
| Verb | form | string | No | |
| WhoLabel | form | string | No | |
| Detail | form | string | No | |
| WhenLabel | form | string | No | |
| EventRef | form | string | No | |
| ActorKind | form | string | No | |
| AuthContext | form | string | No | |
| Ip | form | string | No | |
| Device | form | string | No | |
| RelKind | form | string | No | |
| RelKey | form | string | No | |
| WhenFull | form | string | No | |
| AgeDays | form | int | No | |
| RecordName | form | string | No | |
| SeriesName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/records/audit HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Events:
[
{
EventId: 0,
RecordKey: String,
Verb: String,
WhoLabel: String,
Detail: String,
WhenLabel: String,
EventRef: String,
ActorKind: String,
AuthContext: String,
Ip: String,
Device: String,
RelKind: String,
RelKey: String,
WhenFull: String,
AgeDays: 0,
RecordName: String,
SeriesName: String
}
],
Total: 0
}