The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
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
}
]
},
SentencingInfo:
{
SentencingInfoId: 0,
UserId: 0,
DateOfSentence: 0001-01-01,
SentenceStartDate: 0001-01-01,
StartOfCustodialPeriod: 0001-01-01,
SuspensionDate: 0001-01-01,
EndOfSentenceDate: 0001-01-01,
ParoleDate: 0001-01-01,
FullTimeDischargeDate: 0001-01-01,
ParoleDecisionDates: 0001-01-01,
PostCustodialLocation: String,
LifeSentence: False,
LegalStatus: String
},
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}