<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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/RequestLogs HTTP/1.1 
Host: acc-webservice.kruitbosch.nl 
Content-Type: text/jsv
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/jsv
Content-Length: length

{
	Results: 
	[
		{
			Id: 0,
			DateTime: 0001-01-01,
			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
		}
	}
}