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: api2.publicemployeeretirementassistance.com
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: {},
RequestDuration: PT0S
}
],
Usage:
{
String: String
},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}