NetCard Server Web API

<back to all web services

UpdateSentencingInfo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: UpdateSentencingInfo

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<UpdateSentencingInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.SentencingInfo">
  <SentencingInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
    <d2p1:DateOfSentence>0001-01-01T00:00:00</d2p1:DateOfSentence>
    <d2p1:EndOfSentenceDate>0001-01-01T00:00:00</d2p1:EndOfSentenceDate>
    <d2p1:FullTimeDischargeDate>0001-01-01T00:00:00</d2p1:FullTimeDischargeDate>
    <d2p1:LegalStatus>String</d2p1:LegalStatus>
    <d2p1:LifeSentence>false</d2p1:LifeSentence>
    <d2p1:ParoleDate>0001-01-01T00:00:00</d2p1:ParoleDate>
    <d2p1:ParoleDecisionDates>0001-01-01T00:00:00</d2p1:ParoleDecisionDates>
    <d2p1:PostCustodialLocation>String</d2p1:PostCustodialLocation>
    <d2p1:SentenceStartDate>0001-01-01T00:00:00</d2p1:SentenceStartDate>
    <d2p1:SentencingInfoId>0</d2p1:SentencingInfoId>
    <d2p1:StartOfCustodialPeriod>0001-01-01T00:00:00</d2p1:StartOfCustodialPeriod>
    <d2p1:SuspensionDate>0001-01-01T00:00:00</d2p1:SuspensionDate>
    <d2p1:UserId>0</d2p1:UserId>
  </SentencingInfo>
</UpdateSentencingInfo>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<UpdateSentencingInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.SentencingInfo">
  <ErrorCode xmlns="http://schemas.servicestack.net/types">String</ErrorCode>
  <Message xmlns="http://schemas.servicestack.net/types">String</Message>
  <StackTrace xmlns="http://schemas.servicestack.net/types">String</StackTrace>
  <Errors xmlns="http://schemas.servicestack.net/types">
    <ResponseError>
      <ErrorCode>String</ErrorCode>
      <FieldName>String</FieldName>
      <Message>String</Message>
    </ResponseError>
  </Errors>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
  <SentencingInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
    <d2p1:DateOfSentence>0001-01-01T00:00:00</d2p1:DateOfSentence>
    <d2p1:EndOfSentenceDate>0001-01-01T00:00:00</d2p1:EndOfSentenceDate>
    <d2p1:FullTimeDischargeDate>0001-01-01T00:00:00</d2p1:FullTimeDischargeDate>
    <d2p1:LegalStatus>String</d2p1:LegalStatus>
    <d2p1:LifeSentence>false</d2p1:LifeSentence>
    <d2p1:ParoleDate>0001-01-01T00:00:00</d2p1:ParoleDate>
    <d2p1:ParoleDecisionDates>0001-01-01T00:00:00</d2p1:ParoleDecisionDates>
    <d2p1:PostCustodialLocation>String</d2p1:PostCustodialLocation>
    <d2p1:SentenceStartDate>0001-01-01T00:00:00</d2p1:SentenceStartDate>
    <d2p1:SentencingInfoId>0</d2p1:SentencingInfoId>
    <d2p1:StartOfCustodialPeriod>0001-01-01T00:00:00</d2p1:StartOfCustodialPeriod>
    <d2p1:SuspensionDate>0001-01-01T00:00:00</d2p1:SuspensionDate>
    <d2p1:UserId>0</d2p1:UserId>
  </SentencingInfo>
</UpdateSentencingInfoResponse>

    </soap:Body>
</soap:Envelope>