ServiceEnquire


Click here for a complete list of operations.

createConsignmentEcom

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 /ServiceEnquire.asmx HTTP/1.1
Host: customerapitesting.tciexpress.in
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tciexpress.in/createConsignmentEcom"

<?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>
    <createConsignmentEcom xmlns="http://www.tciexpress.in/">
      <token>string</token>
      <consignment>
        <barcodes>
          <Barcodes>
            <barcode>string</barcode>
          </Barcodes>
          <Barcodes>
            <barcode>string</barcode>
          </Barcodes>
        </barcodes>
        <CustomerOrderNumber>string</CustomerOrderNumber>
        <OrderReferenceNumber>string</OrderReferenceNumber>
        <BranchCode>string</BranchCode>
        <CustomerCode>string</CustomerCode>
        <AWBNumber>string</AWBNumber>
        <AWBDate>string</AWBDate>
        <PlantCode>string</PlantCode>
        <PaymentMode>string</PaymentMode>
        <TotalAmount>double</TotalAmount>
        <PayableAmount>double</PayableAmount>
        <Invoices>
          <InvoiceDetail>
            <invoiceDate>string</invoiceDate>
            <invoiceNo>string</invoiceNo>
            <invoiceValue>double</invoiceValue>
            <numberOfBoxes>int</numberOfBoxes>
            <remarks>string</remarks>
          </InvoiceDetail>
          <InvoiceDetail>
            <invoiceDate>string</invoiceDate>
            <invoiceNo>string</invoiceNo>
            <invoiceValue>double</invoiceValue>
            <numberOfBoxes>int</numberOfBoxes>
            <remarks>string</remarks>
          </InvoiceDetail>
        </Invoices>
        <Volumes>
          <VolumeDetail>
            <breadth>double</breadth>
            <height>double</height>
            <length>double</length>
            <numberOfBoxes>int</numberOfBoxes>
            <volume>string</volume>
          </VolumeDetail>
          <VolumeDetail>
            <breadth>double</breadth>
            <height>double</height>
            <length>double</length>
            <numberOfBoxes>int</numberOfBoxes>
            <volume>string</volume>
          </VolumeDetail>
        </Volumes>
        <CustomerFirstName>string</CustomerFirstName>
        <CustomerLastName>string</CustomerLastName>
        <CustomerAddress1>string</CustomerAddress1>
        <CustomerAddress2>string</CustomerAddress2>
        <CustomerCity>string</CustomerCity>
        <CustomerState>string</CustomerState>
        <CustomerCountry>string</CustomerCountry>
        <CustomerPinCode>string</CustomerPinCode>
        <CustomerPhoneNumber>string</CustomerPhoneNumber>
        <CustomerMobileNumber>string</CustomerMobileNumber>
        <CustomerMaskMobileNumber>string</CustomerMaskMobileNumber>
        <CustomerEmail>string</CustomerEmail>
        <ShipperCode>string</ShipperCode>
        <ShipperName>string</ShipperName>
        <ShipperAddress1>string</ShipperAddress1>
        <ShipperAddress2>string</ShipperAddress2>
        <ShipperCity>string</ShipperCity>
        <ShipperState>string</ShipperState>
        <ShipperCountry>string</ShipperCountry>
        <ShipperPinCode>string</ShipperPinCode>
        <ShipperPhoneNo>string</ShipperPhoneNo>
        <ShipperMobileNo>string</ShipperMobileNo>
        <ShipperEmail>string</ShipperEmail>
        <ReturnToName>string</ReturnToName>
        <ReturnToAddress1>string</ReturnToAddress1>
        <ReturnToAddress2>string</ReturnToAddress2>
        <ReturnToCity>string</ReturnToCity>
        <ReturnToState>string</ReturnToState>
        <ReturnToCountry>string</ReturnToCountry>
        <ReturnToPinCode>string</ReturnToPinCode>
        <ReturnToPhoneNo>string</ReturnToPhoneNo>
        <ReturnToMobileNo>string</ReturnToMobileNo>
        <ReturnToEmail>string</ReturnToEmail>
        <TotalPices>int</TotalPices>
        <ProductWeight>double</ProductWeight>
        <VolumetricWeight>double</VolumetricWeight>
        <ProductCategory>string</ProductCategory>
        <ProductCode>string</ProductCode>
        <ProductDescription>string</ProductDescription>
        <TransportMode>SURFACE or AIR or INTL</TransportMode>
        <B2BFlag>N or Y</B2BFlag>
      </consignment>
    </createConsignmentEcom>
  </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>
    <createConsignmentEcomResponse xmlns="http://www.tciexpress.in/">
      <createConsignmentEcomResult>
        <AWBNumber>string</AWBNumber>
        <CustomerOrderNumber>string</CustomerOrderNumber>
        <error>string</error>
        <errorMessage>string</errorMessage>
      </createConsignmentEcomResult>
    </createConsignmentEcomResponse>
  </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 /ServiceEnquire.asmx HTTP/1.1
Host: customerapitesting.tciexpress.in
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>
    <createConsignmentEcom xmlns="http://www.tciexpress.in/">
      <token>string</token>
      <consignment>
        <barcodes>
          <Barcodes>
            <barcode>string</barcode>
          </Barcodes>
          <Barcodes>
            <barcode>string</barcode>
          </Barcodes>
        </barcodes>
        <CustomerOrderNumber>string</CustomerOrderNumber>
        <OrderReferenceNumber>string</OrderReferenceNumber>
        <BranchCode>string</BranchCode>
        <CustomerCode>string</CustomerCode>
        <AWBNumber>string</AWBNumber>
        <AWBDate>string</AWBDate>
        <PlantCode>string</PlantCode>
        <PaymentMode>string</PaymentMode>
        <TotalAmount>double</TotalAmount>
        <PayableAmount>double</PayableAmount>
        <Invoices>
          <InvoiceDetail>
            <invoiceDate>string</invoiceDate>
            <invoiceNo>string</invoiceNo>
            <invoiceValue>double</invoiceValue>
            <numberOfBoxes>int</numberOfBoxes>
            <remarks>string</remarks>
          </InvoiceDetail>
          <InvoiceDetail>
            <invoiceDate>string</invoiceDate>
            <invoiceNo>string</invoiceNo>
            <invoiceValue>double</invoiceValue>
            <numberOfBoxes>int</numberOfBoxes>
            <remarks>string</remarks>
          </InvoiceDetail>
        </Invoices>
        <Volumes>
          <VolumeDetail>
            <breadth>double</breadth>
            <height>double</height>
            <length>double</length>
            <numberOfBoxes>int</numberOfBoxes>
            <volume>string</volume>
          </VolumeDetail>
          <VolumeDetail>
            <breadth>double</breadth>
            <height>double</height>
            <length>double</length>
            <numberOfBoxes>int</numberOfBoxes>
            <volume>string</volume>
          </VolumeDetail>
        </Volumes>
        <CustomerFirstName>string</CustomerFirstName>
        <CustomerLastName>string</CustomerLastName>
        <CustomerAddress1>string</CustomerAddress1>
        <CustomerAddress2>string</CustomerAddress2>
        <CustomerCity>string</CustomerCity>
        <CustomerState>string</CustomerState>
        <CustomerCountry>string</CustomerCountry>
        <CustomerPinCode>string</CustomerPinCode>
        <CustomerPhoneNumber>string</CustomerPhoneNumber>
        <CustomerMobileNumber>string</CustomerMobileNumber>
        <CustomerMaskMobileNumber>string</CustomerMaskMobileNumber>
        <CustomerEmail>string</CustomerEmail>
        <ShipperCode>string</ShipperCode>
        <ShipperName>string</ShipperName>
        <ShipperAddress1>string</ShipperAddress1>
        <ShipperAddress2>string</ShipperAddress2>
        <ShipperCity>string</ShipperCity>
        <ShipperState>string</ShipperState>
        <ShipperCountry>string</ShipperCountry>
        <ShipperPinCode>string</ShipperPinCode>
        <ShipperPhoneNo>string</ShipperPhoneNo>
        <ShipperMobileNo>string</ShipperMobileNo>
        <ShipperEmail>string</ShipperEmail>
        <ReturnToName>string</ReturnToName>
        <ReturnToAddress1>string</ReturnToAddress1>
        <ReturnToAddress2>string</ReturnToAddress2>
        <ReturnToCity>string</ReturnToCity>
        <ReturnToState>string</ReturnToState>
        <ReturnToCountry>string</ReturnToCountry>
        <ReturnToPinCode>string</ReturnToPinCode>
        <ReturnToPhoneNo>string</ReturnToPhoneNo>
        <ReturnToMobileNo>string</ReturnToMobileNo>
        <ReturnToEmail>string</ReturnToEmail>
        <TotalPices>int</TotalPices>
        <ProductWeight>double</ProductWeight>
        <VolumetricWeight>double</VolumetricWeight>
        <ProductCategory>string</ProductCategory>
        <ProductCode>string</ProductCode>
        <ProductDescription>string</ProductDescription>
        <TransportMode>SURFACE or AIR or INTL</TransportMode>
        <B2BFlag>N or Y</B2BFlag>
      </consignment>
    </createConsignmentEcom>
  </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>
    <createConsignmentEcomResponse xmlns="http://www.tciexpress.in/">
      <createConsignmentEcomResult>
        <AWBNumber>string</AWBNumber>
        <CustomerOrderNumber>string</CustomerOrderNumber>
        <error>string</error>
        <errorMessage>string</errorMessage>
      </createConsignmentEcomResult>
    </createConsignmentEcomResponse>
  </soap12:Body>
</soap12:Envelope>