| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Date | query | DateTime? | No | |
| ViewErrors | query | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Skip | form | int? | No | |
| Take | form | int? | No | |
| OrderBy | form | string | No | |
| OrderByDesc | form | string | No | |
| Include | form | string | No | |
| Fields | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| DateTime | form | DateTime | No | |
| StatusCode | form | int | No | |
| StatusDescription | form | string | No | |
| HttpMethod | form | string | No | |
| AbsoluteUri | form | string | No | |
| PathInfo | form | string | No | |
| RequestBody | form | string | No | |
| RequestDto | form | Object | No | |
| UserAuthId | form | string | No | |
| SessionId | form | string | No | |
| IpAddress | form | string | No | |
| ForwardedFor | form | string | No | |
| Referer | form | string | No | |
| Headers | form | Dictionary<string, string> | No | |
| FormData | form | Dictionary<string, string> | No | |
| Items | form | Dictionary<string, string> | No | |
| Session | form | Object | No | |
| ResponseDto | form | Object | No | |
| ErrorResponse | form | Object | No | |
| ExceptionSource | form | string | No | |
| ExceptionData | form | IDictionary | No | |
| RequestDuration | form | TimeSpan | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Offset | form | int | No | |
| Total | form | int | No | |
| Results | form | List<T> | No | |
| Meta | form | Dictionary<string, string> | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/QueryRequestLogsGETManyRequest HTTP/1.1
Host: localhost
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Date":"0001-01-01T00:00:00.0000000","Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Results":[{"StatusDescription":"String","HttpMethod":"String","AbsoluteUri":"String","PathInfo":"String","RequestBody":"String","RequestDto":{},"UserAuthId":"String","SessionId":"String","IpAddress":"String","ForwardedFor":"String","Referer":"String","Headers":{"String":"String"},"FormData":{"String":"String"},"Items":{"String":"String"},"Session":{},"ResponseDto":{},"ErrorResponse":{},"ExceptionSource":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}