| All Verbs | /requestlogs | 
|---|
| Name | Parameter | Data Type | Required | Description | 
|---|---|---|---|---|
| BeforeSecs | query | int? | No | |
| AfterSecs | query | int? | No | |
| IpAddress | query | string | No | |
| ForwardedFor | query | string | No | |
| UserAuthId | query | string | No | |
| SessionId | query | string | No | |
| Referer | query | string | No | |
| PathInfo | query | string | No | |
| Ids | query | long[] | No | |
| BeforeId | query | int? | No | |
| AfterId | query | int? | No | |
| HasResponse | query | bool? | No | |
| WithErrors | query | bool? | No | |
| Skip | query | int | No | |
| Take | query | int? | No | |
| EnableSessionTracking | query | bool? | No | |
| EnableResponseTracking | query | bool? | No | |
| EnableErrorTracking | query | bool? | No | |
| DurationLongerThan | query | TimeSpan? | No | |
| DurationLessThan | query | TimeSpan? | No | 
| Name | Parameter | Data Type | Required | Description | 
|---|---|---|---|---|
| Results | form | List<RequestLogEntry> | No | |
| Usage | form | Dictionary<string, string> | No | |
| ResponseStatus | form | ResponseStatus | No | 
| Name | Parameter | Data Type | Required | Description | 
|---|---|---|---|---|
| Id | form | long | No | |
| DateTime | form | DateTime | 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 | |
| RequestDuration | form | TimeSpan | No | 
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/RequestLogs HTTP/1.1 
Host: api.sagecpc.com 
Content-Type: application/json
Content-Length: length
{"beforeSecs":0,"afterSecs":0,"ipAddress":"String","forwardedFor":"String","userAuthId":"String","sessionId":"String","referer":"String","pathInfo":"String","ids":[0],"beforeId":0,"afterId":0,"hasResponse":false,"withErrors":false,"skip":0,"take":0,"enableSessionTracking":false,"enableResponseTracking":false,"enableErrorTracking":false,"durationLongerThan":"PT0S","durationLessThan":"PT0S"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"results":[{"id":0,"dateTime":"\/Date(-62135596800000-0000)\/","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":{},"requestDuration":"PT0S"}],"usage":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}