StarterTemplate ASP.NET Host

<back to all web services

RequestLogs

The following routes are available for this service:
All Verbs/requestlogs

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: bootstrapapi.apphb.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":{}},"session":{},"responseDto":{},"errorResponse":{},"requestDuration":"PT0S"}],"usage":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]}}