NetCard Server Web API

<back to all web services

UpdateSentencingInfo

The following routes are available for this service:
POST/SentencingInfo/UpdateSentencingInfo/

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/UpdateSentencingInfo HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/jsv
Content-Length: length

{
	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
	}
}
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
		}
	]
}