The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CreateInmate HTTP/1.1
Host: ncapi.net.au
Content-Type: text/jsv
Content-Length: length
{
InmateId: 0,
UserId: 0,
IJIS: String,
Block: String,
FirstName: String,
LastName: String,
Facility: String,
ReceivedDateTime: 0001-01-01,
IsReadyForDischarge: False,
IsDischarged: False,
DischargeAmount: 0,
PTS: 0,
LayBy: 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
}
]
},
InmateId: 0,
UserId: 0,
IJIS: String,
Block: String,
FirstName: String,
LastName: String,
Facility: String,
ReceivedDateTime: 0001-01-01,
IsReadyForDischarge: False,
IsDischarged: False,
DischargeAmount: 0,
PTS: 0,
LayBy: 0,
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}