s1 API Host

<back to all web services

RequestLogs

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

To override the Content-type in your clients 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: s1-api.fource.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: {}
			},
			session: {},
			responseDto: {},
			errorResponse: {}
		}
	],
	usage: 
	{
		String: String
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String
			}
		]
	}
}