HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CalendarEventCheckInRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
CalendarEventCheckIn:
{
Id: 0,
AgentId: 0,
CalendarEventId: 0,
CheckInDate: 0001-01-01,
CheckInLatitude: 0,
CheckInLongitude: 0,
CheckOutDate: 0001-01-01,
CheckOutLatitude: 0,
CheckOutLongitude: 0
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
CalendarEventCheckIn:
[
{
Id: 0,
AgentId: 0,
CalendarEventId: 0,
CheckInDate: 0001-01-01,
CheckInLatitude: 0,
CheckInLongitude: 0,
CheckOutDate: 0001-01-01,
CheckOutLatitude: 0,
CheckOutLongitude: 0
}
]
}