| Required role: | REGISUserRole |
| POST | /Audit |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| uuid | body | string | No | |
| created_since_date | body | DateTime | No | |
| controller | body | string | No | |
| action | body | string | No | |
| item_id | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| audits | form | List<AuditResponse> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| uuid | form | string | No | |
| ip_address | form | string | No | |
| url | form | string | No | |
| controller | form | string | No | |
| action | form | string | No | |
| item_id | form | string | No | |
| timestamp | form | DateTime | 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.
POST /Audit HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
uuid: String,
created_since_date: 0001-01-01,
controller: String,
action: String,
item_id: String
}
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
}
},
audits:
[
{
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
},
uuid: String,
ip_address: String,
url: String,
controller: String,
action: String,
item_id: String,
timestamp: 0001-01-01
}
]
}