SwsimV45


Click here for a complete list of operations.

GetShipmentListByToken

Get list of shipments.

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 /swsim/SwsimV45.asmx HTTP/1.1
Host: swsim.testing.stamps.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://stamps.com/xml/namespace/2015/05/swsim/swsimv45/GetShipmentListByToken"

<?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>
    <GetShipmentListByToken xmlns="http://stamps.com/xml/namespace/2015/05/swsim/swsimv45">
      <ShipmentListToken>string</ShipmentListToken>
      <PageNumber>int</PageNumber>
    </GetShipmentListByToken>
  </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>
    <GetShipmentListByTokenResponse xmlns="http://stamps.com/xml/namespace/2015/05/swsim/swsimv45">
      <Authenticator>string</Authenticator>
      <ShipmentListToken>string</ShipmentListToken>
      <ShipmentsPerPage>int</ShipmentsPerPage>
      <TotalPages>int</TotalPages>
      <Shipments>
        <ShipmentV4>
          <StampsTxId>string</StampsTxId>
          <ShipmentStatus>Printed or In Transit or Received at Opening Unit or Delivered or Pending Refund or Refunded or Voided or Unprinted or Expired</ShipmentStatus>
          <PrintDate>dateTime</PrintDate>
          <MailDate>dateTime</MailDate>
          <DeliveredDate>dateTime</DeliveredDate>
          <TrackingNumber>string</TrackingNumber>
          <ScanFormId>string</ScanFormId>
          <Service>
            <ServiceType>Unknown or US-FC or US-PM or US-XM or US-MM or US-BP or US-LM or US-EMI or US-PMI or US-FCI or US-CM or US-PS or DHL-PE or DHL-PG or DHL-PPE or DHL-PPG or DHL-BPME or DHL-BPMG or DHL-MPE or DHL-MPG or AS-IPA or AS-ISAL or AS-EPKT or DHL-PIPA or DHL-PISAL or GG-IPA or GG-ISAL or GG-EPKT or IBC-IPA or IBC-ISAL or IBC-EPKT or RRD-IPA or RRD-ISAL or RRD-EPKT or AS-GNRC or GG-GNRC</ServiceType>
            <Amount>decimal</Amount>
          </Service>
          <AddOns>
            <AddOnV6 xsi:nil="true" />
            <AddOnV6 xsi:nil="true" />
          </AddOns>
          <FromZIPCode>string</FromZIPCode>
          <ReturnTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ReturnTo>
          <ShipTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ShipTo>
          <PackageInfo>
            <PackageType>Unknown or Postcard or Letter or Large Envelope or Flat or Thick Envelope or Package or Flat Rate Box or Small Flat Rate Box or Large Flat Rate Box or Flat Rate Envelope or Flat Rate Padded Envelope or Large Package or Oversized Package or Regional Rate Box A or Regional Rate Box B or Legal Flat Rate Envelope or Regional Rate Box C</PackageType>
            <NumberOfLabels>int</NumberOfLabels>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
          </PackageInfo>
          <References>
            <UserName>string</UserName>
            <CostCode>string</CostCode>
            <Memo>string</Memo>
          </References>
          <RefundType>E-refund or Mail-in</RefundType>
          <RefundStatus>
            <PostageRefundId>string</PostageRefundId>
            <ClaimNumber>int</ClaimNumber>
            <RequestDate>dateTime</RequestDate>
            <PostageRefundStatus>Pending or Processing or Complete or Duplicate</PostageRefundStatus>
            <EstimatedPostageRefundCompletionDate>dateTime</EstimatedPostageRefundCompletionDate>
            <PostageAmountRequested>decimal</PostageAmountRequested>
            <PostageAmountApproved>decimal</PostageAmountApproved>
            <PostageRefundResult>string</PostageRefundResult>
            <InsuranceRefundStatus>Pending or Processing or Complete or Duplicate</InsuranceRefundStatus>
            <EstimatedInsuranceRefundCompletionDate>dateTime</EstimatedInsuranceRefundCompletionDate>
            <InsuranceAmountRequested>decimal</InsuranceAmountRequested>
            <InsuranceAmountApproved>decimal</InsuranceAmountApproved>
          </RefundStatus>
          <ExpiryDate>dateTime</ExpiryDate>
        </ShipmentV4>
        <ShipmentV4>
          <StampsTxId>string</StampsTxId>
          <ShipmentStatus>Printed or In Transit or Received at Opening Unit or Delivered or Pending Refund or Refunded or Voided or Unprinted or Expired</ShipmentStatus>
          <PrintDate>dateTime</PrintDate>
          <MailDate>dateTime</MailDate>
          <DeliveredDate>dateTime</DeliveredDate>
          <TrackingNumber>string</TrackingNumber>
          <ScanFormId>string</ScanFormId>
          <Service>
            <ServiceType>Unknown or US-FC or US-PM or US-XM or US-MM or US-BP or US-LM or US-EMI or US-PMI or US-FCI or US-CM or US-PS or DHL-PE or DHL-PG or DHL-PPE or DHL-PPG or DHL-BPME or DHL-BPMG or DHL-MPE or DHL-MPG or AS-IPA or AS-ISAL or AS-EPKT or DHL-PIPA or DHL-PISAL or GG-IPA or GG-ISAL or GG-EPKT or IBC-IPA or IBC-ISAL or IBC-EPKT or RRD-IPA or RRD-ISAL or RRD-EPKT or AS-GNRC or GG-GNRC</ServiceType>
            <Amount>decimal</Amount>
          </Service>
          <AddOns>
            <AddOnV6 xsi:nil="true" />
            <AddOnV6 xsi:nil="true" />
          </AddOns>
          <FromZIPCode>string</FromZIPCode>
          <ReturnTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ReturnTo>
          <ShipTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ShipTo>
          <PackageInfo>
            <PackageType>Unknown or Postcard or Letter or Large Envelope or Flat or Thick Envelope or Package or Flat Rate Box or Small Flat Rate Box or Large Flat Rate Box or Flat Rate Envelope or Flat Rate Padded Envelope or Large Package or Oversized Package or Regional Rate Box A or Regional Rate Box B or Legal Flat Rate Envelope or Regional Rate Box C</PackageType>
            <NumberOfLabels>int</NumberOfLabels>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
          </PackageInfo>
          <References>
            <UserName>string</UserName>
            <CostCode>string</CostCode>
            <Memo>string</Memo>
          </References>
          <RefundType>E-refund or Mail-in</RefundType>
          <RefundStatus>
            <PostageRefundId>string</PostageRefundId>
            <ClaimNumber>int</ClaimNumber>
            <RequestDate>dateTime</RequestDate>
            <PostageRefundStatus>Pending or Processing or Complete or Duplicate</PostageRefundStatus>
            <EstimatedPostageRefundCompletionDate>dateTime</EstimatedPostageRefundCompletionDate>
            <PostageAmountRequested>decimal</PostageAmountRequested>
            <PostageAmountApproved>decimal</PostageAmountApproved>
            <PostageRefundResult>string</PostageRefundResult>
            <InsuranceRefundStatus>Pending or Processing or Complete or Duplicate</InsuranceRefundStatus>
            <EstimatedInsuranceRefundCompletionDate>dateTime</EstimatedInsuranceRefundCompletionDate>
            <InsuranceAmountRequested>decimal</InsuranceAmountRequested>
            <InsuranceAmountApproved>decimal</InsuranceAmountApproved>
          </RefundStatus>
          <ExpiryDate>dateTime</ExpiryDate>
        </ShipmentV4>
      </Shipments>
    </GetShipmentListByTokenResponse>
  </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 /swsim/SwsimV45.asmx HTTP/1.1
Host: swsim.testing.stamps.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>
    <GetShipmentListByToken xmlns="http://stamps.com/xml/namespace/2015/05/swsim/swsimv45">
      <ShipmentListToken>string</ShipmentListToken>
      <PageNumber>int</PageNumber>
    </GetShipmentListByToken>
  </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>
    <GetShipmentListByTokenResponse xmlns="http://stamps.com/xml/namespace/2015/05/swsim/swsimv45">
      <Authenticator>string</Authenticator>
      <ShipmentListToken>string</ShipmentListToken>
      <ShipmentsPerPage>int</ShipmentsPerPage>
      <TotalPages>int</TotalPages>
      <Shipments>
        <ShipmentV4>
          <StampsTxId>string</StampsTxId>
          <ShipmentStatus>Printed or In Transit or Received at Opening Unit or Delivered or Pending Refund or Refunded or Voided or Unprinted or Expired</ShipmentStatus>
          <PrintDate>dateTime</PrintDate>
          <MailDate>dateTime</MailDate>
          <DeliveredDate>dateTime</DeliveredDate>
          <TrackingNumber>string</TrackingNumber>
          <ScanFormId>string</ScanFormId>
          <Service>
            <ServiceType>Unknown or US-FC or US-PM or US-XM or US-MM or US-BP or US-LM or US-EMI or US-PMI or US-FCI or US-CM or US-PS or DHL-PE or DHL-PG or DHL-PPE or DHL-PPG or DHL-BPME or DHL-BPMG or DHL-MPE or DHL-MPG or AS-IPA or AS-ISAL or AS-EPKT or DHL-PIPA or DHL-PISAL or GG-IPA or GG-ISAL or GG-EPKT or IBC-IPA or IBC-ISAL or IBC-EPKT or RRD-IPA or RRD-ISAL or RRD-EPKT or AS-GNRC or GG-GNRC</ServiceType>
            <Amount>decimal</Amount>
          </Service>
          <AddOns>
            <AddOnV6 xsi:nil="true" />
            <AddOnV6 xsi:nil="true" />
          </AddOns>
          <FromZIPCode>string</FromZIPCode>
          <ReturnTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ReturnTo>
          <ShipTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ShipTo>
          <PackageInfo>
            <PackageType>Unknown or Postcard or Letter or Large Envelope or Flat or Thick Envelope or Package or Flat Rate Box or Small Flat Rate Box or Large Flat Rate Box or Flat Rate Envelope or Flat Rate Padded Envelope or Large Package or Oversized Package or Regional Rate Box A or Regional Rate Box B or Legal Flat Rate Envelope or Regional Rate Box C</PackageType>
            <NumberOfLabels>int</NumberOfLabels>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
          </PackageInfo>
          <References>
            <UserName>string</UserName>
            <CostCode>string</CostCode>
            <Memo>string</Memo>
          </References>
          <RefundType>E-refund or Mail-in</RefundType>
          <RefundStatus>
            <PostageRefundId>string</PostageRefundId>
            <ClaimNumber>int</ClaimNumber>
            <RequestDate>dateTime</RequestDate>
            <PostageRefundStatus>Pending or Processing or Complete or Duplicate</PostageRefundStatus>
            <EstimatedPostageRefundCompletionDate>dateTime</EstimatedPostageRefundCompletionDate>
            <PostageAmountRequested>decimal</PostageAmountRequested>
            <PostageAmountApproved>decimal</PostageAmountApproved>
            <PostageRefundResult>string</PostageRefundResult>
            <InsuranceRefundStatus>Pending or Processing or Complete or Duplicate</InsuranceRefundStatus>
            <EstimatedInsuranceRefundCompletionDate>dateTime</EstimatedInsuranceRefundCompletionDate>
            <InsuranceAmountRequested>decimal</InsuranceAmountRequested>
            <InsuranceAmountApproved>decimal</InsuranceAmountApproved>
          </RefundStatus>
          <ExpiryDate>dateTime</ExpiryDate>
        </ShipmentV4>
        <ShipmentV4>
          <StampsTxId>string</StampsTxId>
          <ShipmentStatus>Printed or In Transit or Received at Opening Unit or Delivered or Pending Refund or Refunded or Voided or Unprinted or Expired</ShipmentStatus>
          <PrintDate>dateTime</PrintDate>
          <MailDate>dateTime</MailDate>
          <DeliveredDate>dateTime</DeliveredDate>
          <TrackingNumber>string</TrackingNumber>
          <ScanFormId>string</ScanFormId>
          <Service>
            <ServiceType>Unknown or US-FC or US-PM or US-XM or US-MM or US-BP or US-LM or US-EMI or US-PMI or US-FCI or US-CM or US-PS or DHL-PE or DHL-PG or DHL-PPE or DHL-PPG or DHL-BPME or DHL-BPMG or DHL-MPE or DHL-MPG or AS-IPA or AS-ISAL or AS-EPKT or DHL-PIPA or DHL-PISAL or GG-IPA or GG-ISAL or GG-EPKT or IBC-IPA or IBC-ISAL or IBC-EPKT or RRD-IPA or RRD-ISAL or RRD-EPKT or AS-GNRC or GG-GNRC</ServiceType>
            <Amount>decimal</Amount>
          </Service>
          <AddOns>
            <AddOnV6 xsi:nil="true" />
            <AddOnV6 xsi:nil="true" />
          </AddOns>
          <FromZIPCode>string</FromZIPCode>
          <ReturnTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ReturnTo>
          <ShipTo>
            <FullName>string</FullName>
            <NamePrefix>string</NamePrefix>
            <FirstName>string</FirstName>
            <MiddleName>string</MiddleName>
            <LastName>string</LastName>
            <NameSuffix>string</NameSuffix>
            <Title>string</Title>
            <Department>string</Department>
            <Company>string</Company>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <City>string</City>
            <State>string</State>
            <ZIPCode>string</ZIPCode>
            <ZIPCodeAddOn>string</ZIPCodeAddOn>
            <DPB>string</DPB>
            <CheckDigit>string</CheckDigit>
            <Province>string</Province>
            <PostalCode>string</PostalCode>
            <Country>string</Country>
            <Urbanization>string</Urbanization>
            <PhoneNumber>string</PhoneNumber>
            <Extension>string</Extension>
            <CleanseHash>string</CleanseHash>
            <OverrideHash>string</OverrideHash>
          </ShipTo>
          <PackageInfo>
            <PackageType>Unknown or Postcard or Letter or Large Envelope or Flat or Thick Envelope or Package or Flat Rate Box or Small Flat Rate Box or Large Flat Rate Box or Flat Rate Envelope or Flat Rate Padded Envelope or Large Package or Oversized Package or Regional Rate Box A or Regional Rate Box B or Legal Flat Rate Envelope or Regional Rate Box C</PackageType>
            <NumberOfLabels>int</NumberOfLabels>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
          </PackageInfo>
          <References>
            <UserName>string</UserName>
            <CostCode>string</CostCode>
            <Memo>string</Memo>
          </References>
          <RefundType>E-refund or Mail-in</RefundType>
          <RefundStatus>
            <PostageRefundId>string</PostageRefundId>
            <ClaimNumber>int</ClaimNumber>
            <RequestDate>dateTime</RequestDate>
            <PostageRefundStatus>Pending or Processing or Complete or Duplicate</PostageRefundStatus>
            <EstimatedPostageRefundCompletionDate>dateTime</EstimatedPostageRefundCompletionDate>
            <PostageAmountRequested>decimal</PostageAmountRequested>
            <PostageAmountApproved>decimal</PostageAmountApproved>
            <PostageRefundResult>string</PostageRefundResult>
            <InsuranceRefundStatus>Pending or Processing or Complete or Duplicate</InsuranceRefundStatus>
            <EstimatedInsuranceRefundCompletionDate>dateTime</EstimatedInsuranceRefundCompletionDate>
            <InsuranceAmountRequested>decimal</InsuranceAmountRequested>
            <InsuranceAmountApproved>decimal</InsuranceAmountApproved>
          </RefundStatus>
          <ExpiryDate>dateTime</ExpiryDate>
        </ShipmentV4>
      </Shipments>
    </GetShipmentListByTokenResponse>
  </soap12:Body>
</soap12:Envelope>