ITSGateway


Click here for a complete list of operations.

ParcelBookingInsertUpdate

Represent Parcel Booking

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 /ITSGateway.asmx HTTP/1.1
Host: apiparcel.itspl.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://apiParcel.itspl.net/ParcelBookingInsertUpdate"

<?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>
    <ParcelBookingInsertUpdate xmlns="http://apiParcel.itspl.net/">
      <obj>
        <CompanyID>int</CompanyID>
        <FromCityID>int</FromCityID>
        <ToCityID>int</ToCityID>
        <FromBranchID>int</FromBranchID>
        <ToBranchID>int</ToBranchID>
        <TotalQuantity>int</TotalQuantity>
        <Paytype>int</Paytype>
        <DispatchType>int</DispatchType>
        <SenderName>string</SenderName>
        <SenderNo>string</SenderNo>
        <SenderAddress>string</SenderAddress>
        <ReceiverName>string</ReceiverName>
        <ReceiverNo>string</ReceiverNo>
        <ReceiverAddress>string</ReceiverAddress>
        <ReceiptNo>string</ReceiptNo>
        <BookingType>int</BookingType>
        <BookingRemarks>string</BookingRemarks>
        <ModeOfPrice>int</ModeOfPrice>
        <SaidToContent>string</SaidToContent>
        <ValueOfGoods>double</ValueOfGoods>
        <ManualTicketNo>string</ManualTicketNo>
        <AgentID>int</AgentID>
        <LoaderCommission>double</LoaderCommission>
        <SenderGSTNo>string</SenderGSTNo>
        <ReceiverGSTNo>string</ReceiverGSTNo>
        <GSTPayBy>int</GSTPayBy>
        <BookBranchID>int</BookBranchID>
        <UserID>int</UserID>
        <MT_BookBranchID>int</MT_BookBranchID>
        <MT_BookBranchUserID>int</MT_BookBranchUserID>
        <ParcelItemList>string</ParcelItemList>
        <GST>double</GST>
        <ServiceCharge>double</ServiceCharge>
        <LoadingCharge>double</LoadingCharge>
        <DoorDeliveryCharge>double</DoorDeliveryCharge>
        <IsGRNCompulsorySplit>int</IsGRNCompulsorySplit>
        <SenderPhoto>base64Binary</SenderPhoto>
        <paymetType>int</paymetType>
        <TDRChargeAmount>double</TDRChargeAmount>
        <QRpatmentOrderNo>string</QRpatmentOrderNo>
      </obj>
    </ParcelBookingInsertUpdate>
  </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>
    <ParcelBookingInsertUpdateResponse xmlns="http://apiParcel.itspl.net/">
      <ParcelBookingInsertUpdateResult>
        <xsd:schema>schema</xsd:schema>xml</ParcelBookingInsertUpdateResult>
    </ParcelBookingInsertUpdateResponse>
  </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 /ITSGateway.asmx HTTP/1.1
Host: apiparcel.itspl.net
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>
    <ParcelBookingInsertUpdate xmlns="http://apiParcel.itspl.net/">
      <obj>
        <CompanyID>int</CompanyID>
        <FromCityID>int</FromCityID>
        <ToCityID>int</ToCityID>
        <FromBranchID>int</FromBranchID>
        <ToBranchID>int</ToBranchID>
        <TotalQuantity>int</TotalQuantity>
        <Paytype>int</Paytype>
        <DispatchType>int</DispatchType>
        <SenderName>string</SenderName>
        <SenderNo>string</SenderNo>
        <SenderAddress>string</SenderAddress>
        <ReceiverName>string</ReceiverName>
        <ReceiverNo>string</ReceiverNo>
        <ReceiverAddress>string</ReceiverAddress>
        <ReceiptNo>string</ReceiptNo>
        <BookingType>int</BookingType>
        <BookingRemarks>string</BookingRemarks>
        <ModeOfPrice>int</ModeOfPrice>
        <SaidToContent>string</SaidToContent>
        <ValueOfGoods>double</ValueOfGoods>
        <ManualTicketNo>string</ManualTicketNo>
        <AgentID>int</AgentID>
        <LoaderCommission>double</LoaderCommission>
        <SenderGSTNo>string</SenderGSTNo>
        <ReceiverGSTNo>string</ReceiverGSTNo>
        <GSTPayBy>int</GSTPayBy>
        <BookBranchID>int</BookBranchID>
        <UserID>int</UserID>
        <MT_BookBranchID>int</MT_BookBranchID>
        <MT_BookBranchUserID>int</MT_BookBranchUserID>
        <ParcelItemList>string</ParcelItemList>
        <GST>double</GST>
        <ServiceCharge>double</ServiceCharge>
        <LoadingCharge>double</LoadingCharge>
        <DoorDeliveryCharge>double</DoorDeliveryCharge>
        <IsGRNCompulsorySplit>int</IsGRNCompulsorySplit>
        <SenderPhoto>base64Binary</SenderPhoto>
        <paymetType>int</paymetType>
        <TDRChargeAmount>double</TDRChargeAmount>
        <QRpatmentOrderNo>string</QRpatmentOrderNo>
      </obj>
    </ParcelBookingInsertUpdate>
  </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>
    <ParcelBookingInsertUpdateResponse xmlns="http://apiParcel.itspl.net/">
      <ParcelBookingInsertUpdateResult>
        <xsd:schema>schema</xsd:schema>xml</ParcelBookingInsertUpdateResult>
    </ParcelBookingInsertUpdateResponse>
  </soap12:Body>
</soap12:Envelope>