QueryPackageInfo


Click here for a complete list of operations.

GetTransactionsByList_V2

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 /QueryPackageInfo/wsQueryPackagesInfo.asmx HTTP/1.1
Host: ws.ups.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ws.ups.com.tr/wsPaketIslemSorgulamaEng/GetTransactionsByList_V2"

<?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>
    <GetTransactionsByList_V2 xmlns="https://ws.ups.com.tr/wsPaketIslemSorgulamaEng/">
      <SessionID>string</SessionID>
      <InformationLevel>int</InformationLevel>
      <refList>
        <referansType>WAYBILL_TYPE or CUSTOMERREFERANS_TYPE</referansType>
        <referansList>
          <string>string</string>
          <string>string</string>
        </referansList>
      </refList>
      <trnType>LAST_TRANSACTIONS or ALL_TRANSACTIONS or DELIVERY_TRANSACTIONS</trnType>
    </GetTransactionsByList_V2>
  </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>
    <GetTransactionsByList_V2Response xmlns="https://ws.ups.com.tr/wsPaketIslemSorgulamaEng/">
      <GetTransactionsByList_V2Result>
        <PackageTransactionwithDeliveryDetailV2>
          <TrackingNumber>string</TrackingNumber>
          <CustomerReferanceNumber>string</CustomerReferanceNumber>
          <ProcessTimeStamp>string</ProcessTimeStamp>
          <OperationBranchName>string</OperationBranchName>
          <StatusCode>int</StatusCode>
          <ExceptionCode>string</ExceptionCode>
          <ProcessDescription1>string</ProcessDescription1>
          <ProcessDescription2>string</ProcessDescription2>
          <SignedPersonName>string</SignedPersonName>
          <SignedPersonSurname>string</SignedPersonSurname>
          <SignedPersonPhoneNumber>string</SignedPersonPhoneNumber>
          <SignedPersonRelation>string</SignedPersonRelation>
          <SignedPersonCitizenId>string</SignedPersonCitizenId>
          <RecordId>long</RecordId>
          <InformationLevel>int</InformationLevel>
          <ErrorCode>int</ErrorCode>
          <ErrorDefinition>string</ErrorDefinition>
        </PackageTransactionwithDeliveryDetailV2>
        <PackageTransactionwithDeliveryDetailV2>
          <TrackingNumber>string</TrackingNumber>
          <CustomerReferanceNumber>string</CustomerReferanceNumber>
          <ProcessTimeStamp>string</ProcessTimeStamp>
          <OperationBranchName>string</OperationBranchName>
          <StatusCode>int</StatusCode>
          <ExceptionCode>string</ExceptionCode>
          <ProcessDescription1>string</ProcessDescription1>
          <ProcessDescription2>string</ProcessDescription2>
          <SignedPersonName>string</SignedPersonName>
          <SignedPersonSurname>string</SignedPersonSurname>
          <SignedPersonPhoneNumber>string</SignedPersonPhoneNumber>
          <SignedPersonRelation>string</SignedPersonRelation>
          <SignedPersonCitizenId>string</SignedPersonCitizenId>
          <RecordId>long</RecordId>
          <InformationLevel>int</InformationLevel>
          <ErrorCode>int</ErrorCode>
          <ErrorDefinition>string</ErrorDefinition>
        </PackageTransactionwithDeliveryDetailV2>
      </GetTransactionsByList_V2Result>
    </GetTransactionsByList_V2Response>
  </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 /QueryPackageInfo/wsQueryPackagesInfo.asmx HTTP/1.1
Host: ws.ups.com.tr
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>
    <GetTransactionsByList_V2 xmlns="https://ws.ups.com.tr/wsPaketIslemSorgulamaEng/">
      <SessionID>string</SessionID>
      <InformationLevel>int</InformationLevel>
      <refList>
        <referansType>WAYBILL_TYPE or CUSTOMERREFERANS_TYPE</referansType>
        <referansList>
          <string>string</string>
          <string>string</string>
        </referansList>
      </refList>
      <trnType>LAST_TRANSACTIONS or ALL_TRANSACTIONS or DELIVERY_TRANSACTIONS</trnType>
    </GetTransactionsByList_V2>
  </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>
    <GetTransactionsByList_V2Response xmlns="https://ws.ups.com.tr/wsPaketIslemSorgulamaEng/">
      <GetTransactionsByList_V2Result>
        <PackageTransactionwithDeliveryDetailV2>
          <TrackingNumber>string</TrackingNumber>
          <CustomerReferanceNumber>string</CustomerReferanceNumber>
          <ProcessTimeStamp>string</ProcessTimeStamp>
          <OperationBranchName>string</OperationBranchName>
          <StatusCode>int</StatusCode>
          <ExceptionCode>string</ExceptionCode>
          <ProcessDescription1>string</ProcessDescription1>
          <ProcessDescription2>string</ProcessDescription2>
          <SignedPersonName>string</SignedPersonName>
          <SignedPersonSurname>string</SignedPersonSurname>
          <SignedPersonPhoneNumber>string</SignedPersonPhoneNumber>
          <SignedPersonRelation>string</SignedPersonRelation>
          <SignedPersonCitizenId>string</SignedPersonCitizenId>
          <RecordId>long</RecordId>
          <InformationLevel>int</InformationLevel>
          <ErrorCode>int</ErrorCode>
          <ErrorDefinition>string</ErrorDefinition>
        </PackageTransactionwithDeliveryDetailV2>
        <PackageTransactionwithDeliveryDetailV2>
          <TrackingNumber>string</TrackingNumber>
          <CustomerReferanceNumber>string</CustomerReferanceNumber>
          <ProcessTimeStamp>string</ProcessTimeStamp>
          <OperationBranchName>string</OperationBranchName>
          <StatusCode>int</StatusCode>
          <ExceptionCode>string</ExceptionCode>
          <ProcessDescription1>string</ProcessDescription1>
          <ProcessDescription2>string</ProcessDescription2>
          <SignedPersonName>string</SignedPersonName>
          <SignedPersonSurname>string</SignedPersonSurname>
          <SignedPersonPhoneNumber>string</SignedPersonPhoneNumber>
          <SignedPersonRelation>string</SignedPersonRelation>
          <SignedPersonCitizenId>string</SignedPersonCitizenId>
          <RecordId>long</RecordId>
          <InformationLevel>int</InformationLevel>
          <ErrorCode>int</ErrorCode>
          <ErrorDefinition>string</ErrorDefinition>
        </PackageTransactionwithDeliveryDetailV2>
      </GetTransactionsByList_V2Result>
    </GetTransactionsByList_V2Response>
  </soap12:Body>
</soap12:Envelope>