mtpapp


Click here for a complete list of operations.

RenewMotorPolicy

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /mtpapp.asmx HTTP/1.1
Host: sp.chiplc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/RenewMotorPolicy"

<?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>
    <RenewMotorPolicy xmlns="http://tempuri.org/">
      <MerchantID>string</MerchantID>
      <policystarts>dateTime</policystarts>
      <Regno>string</Regno>
      <paymode>string</paymode>
      <paypin>string</paypin>
    </RenewMotorPolicy>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
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>
    <RenewMotorPolicyResponse xmlns="http://tempuri.org/">
      <RenewMotorPolicyResult>
        <InsuredPolicyDetails>
          <ID>string</ID>
          <Title>string</Title>
          <Firstname>string</Firstname>
          <Gender>string</Gender>
          <InsuredType>string</InsuredType>
          <Lastname>string</Lastname>
          <Phone>string</Phone>
          <DOB>dateTime</DOB>
          <Address>string</Address>
          <State>string</State>
          <Email>string</Email>
          <Occupation>string</Occupation>
          <MeansId>string</MeansId>
          <MeansIdNo>string</MeansIdNo>
          <CertificateNos>string</CertificateNos>
          <PolicyNumber>string</PolicyNumber>
          <CarType>string</CarType>
          <CarBrand>string</CarBrand>
          <RegNo>string</RegNo>
          <BizOps>string</BizOps>
          <EngineNo>string</EngineNo>
          <chassisno>string</chassisno>
          <CarColor>string</CarColor>
          <vehicleregstate>string</vehicleregstate>
          <vehicleUsage>string</vehicleUsage>
          <Premium>string</Premium>
          <PolicyType>string</PolicyType>
          <StartDate>dateTime</StartDate>
          <ExpiryDate>dateTime</ExpiryDate>
          <statusmsg>string</statusmsg>
          <status>string</status>
        </InsuredPolicyDetails>
        <InsuredPolicyDetails>
          <ID>string</ID>
          <Title>string</Title>
          <Firstname>string</Firstname>
          <Gender>string</Gender>
          <InsuredType>string</InsuredType>
          <Lastname>string</Lastname>
          <Phone>string</Phone>
          <DOB>dateTime</DOB>
          <Address>string</Address>
          <State>string</State>
          <Email>string</Email>
          <Occupation>string</Occupation>
          <MeansId>string</MeansId>
          <MeansIdNo>string</MeansIdNo>
          <CertificateNos>string</CertificateNos>
          <PolicyNumber>string</PolicyNumber>
          <CarType>string</CarType>
          <CarBrand>string</CarBrand>
          <RegNo>string</RegNo>
          <BizOps>string</BizOps>
          <EngineNo>string</EngineNo>
          <chassisno>string</chassisno>
          <CarColor>string</CarColor>
          <vehicleregstate>string</vehicleregstate>
          <vehicleUsage>string</vehicleUsage>
          <Premium>string</Premium>
          <PolicyType>string</PolicyType>
          <StartDate>dateTime</StartDate>
          <ExpiryDate>dateTime</ExpiryDate>
          <statusmsg>string</statusmsg>
          <status>string</status>
        </InsuredPolicyDetails>
      </RenewMotorPolicyResult>
    </RenewMotorPolicyResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /mtpapp.asmx HTTP/1.1
Host: sp.chiplc.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RenewMotorPolicy xmlns="http://tempuri.org/">
      <MerchantID>string</MerchantID>
      <policystarts>dateTime</policystarts>
      <Regno>string</Regno>
      <paymode>string</paymode>
      <paypin>string</paypin>
    </RenewMotorPolicy>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RenewMotorPolicyResponse xmlns="http://tempuri.org/">
      <RenewMotorPolicyResult>
        <InsuredPolicyDetails>
          <ID>string</ID>
          <Title>string</Title>
          <Firstname>string</Firstname>
          <Gender>string</Gender>
          <InsuredType>string</InsuredType>
          <Lastname>string</Lastname>
          <Phone>string</Phone>
          <DOB>dateTime</DOB>
          <Address>string</Address>
          <State>string</State>
          <Email>string</Email>
          <Occupation>string</Occupation>
          <MeansId>string</MeansId>
          <MeansIdNo>string</MeansIdNo>
          <CertificateNos>string</CertificateNos>
          <PolicyNumber>string</PolicyNumber>
          <CarType>string</CarType>
          <CarBrand>string</CarBrand>
          <RegNo>string</RegNo>
          <BizOps>string</BizOps>
          <EngineNo>string</EngineNo>
          <chassisno>string</chassisno>
          <CarColor>string</CarColor>
          <vehicleregstate>string</vehicleregstate>
          <vehicleUsage>string</vehicleUsage>
          <Premium>string</Premium>
          <PolicyType>string</PolicyType>
          <StartDate>dateTime</StartDate>
          <ExpiryDate>dateTime</ExpiryDate>
          <statusmsg>string</statusmsg>
          <status>string</status>
        </InsuredPolicyDetails>
        <InsuredPolicyDetails>
          <ID>string</ID>
          <Title>string</Title>
          <Firstname>string</Firstname>
          <Gender>string</Gender>
          <InsuredType>string</InsuredType>
          <Lastname>string</Lastname>
          <Phone>string</Phone>
          <DOB>dateTime</DOB>
          <Address>string</Address>
          <State>string</State>
          <Email>string</Email>
          <Occupation>string</Occupation>
          <MeansId>string</MeansId>
          <MeansIdNo>string</MeansIdNo>
          <CertificateNos>string</CertificateNos>
          <PolicyNumber>string</PolicyNumber>
          <CarType>string</CarType>
          <CarBrand>string</CarBrand>
          <RegNo>string</RegNo>
          <BizOps>string</BizOps>
          <EngineNo>string</EngineNo>
          <chassisno>string</chassisno>
          <CarColor>string</CarColor>
          <vehicleregstate>string</vehicleregstate>
          <vehicleUsage>string</vehicleUsage>
          <Premium>string</Premium>
          <PolicyType>string</PolicyType>
          <StartDate>dateTime</StartDate>
          <ExpiryDate>dateTime</ExpiryDate>
          <statusmsg>string</statusmsg>
          <status>string</status>
        </InsuredPolicyDetails>
      </RenewMotorPolicyResult>
    </RenewMotorPolicyResponse>
  </soap12:Body>
</soap12:Envelope>