NetCard Server Web API

<back to all web services

GetSentencingInfoByUserId

The following routes are available for this service:
GET/SentencingInfo/GetSentencingInfoByUserId/{UserId}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/GetSentencingInfoByUserId HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/csv
Content-Length: length

UserId
0

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ResponseStatus,SentencingInfo,ErrorCode,Message,StackTrace,Errors
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{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}",String,String,String,"[{ErrorCode:String,FieldName:String,Message:String}]"