<back to all web services

RequestLogs

The following routes are available for this service:
All Verbs/requestlogs
RequestLogs Parameters:
NameParameterData TypeRequiredDescription
BeforeSecsqueryint?No
AfterSecsqueryint?No
IpAddressquerystringNo
ForwardedForquerystringNo
UserAuthIdquerystringNo
SessionIdquerystringNo
RefererquerystringNo
PathInfoquerystringNo
Idsquerylong[]No
BeforeIdqueryint?No
AfterIdqueryint?No
HasResponsequerybool?No
WithErrorsquerybool?No
SkipqueryintNo
Takequeryint?No
EnableSessionTrackingquerybool?No
EnableResponseTrackingquerybool?No
EnableErrorTrackingquerybool?No
DurationLongerThanqueryTimeSpan?No
DurationLessThanqueryTimeSpan?No
RequestLogsResponse Parameters:
NameParameterData TypeRequiredDescription
ResultsformList<RequestLogEntry>No
UsageformDictionary<string, string>No
ResponseStatusformResponseStatusNo
RequestLogEntry Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DateTimeformDateTimeNo
HttpMethodformstringNo
AbsoluteUriformstringNo
PathInfoformstringNo
RequestBodyformstringNo
RequestDtoformObjectNo
UserAuthIdformstringNo
SessionIdformstringNo
IpAddressformstringNo
ForwardedForformstringNo
RefererformstringNo
HeadersformDictionary<string, string>No
FormDataformDictionary<string, string>No
ItemsformDictionary<string, string>No
SessionformObjectNo
ResponseDtoformObjectNo
ErrorResponseformObjectNo
RequestDurationformTimeSpanNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/RequestLogs HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: text/csv
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: text/csv
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"}}}