SwsimV75


Click here for a complete list of operations.

CreateNetStampsIndicia

Generate NetStamps indicia.

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/swsimv75.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/2018/10/swsim/swsimv75/CreateNetStampsIndicia"

<?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>
    <CreateNetStampsIndicia xmlns="http://stamps.com/xml/namespace/2018/10/swsim/swsimv75">
      <IntegratorTxId>string</IntegratorTxId>
      <Layout>string</Layout>
      <NetStamps>
        <NetStampV23>
          <Row>int</Row>
          <Column>int</Column>
          <Rate>
            <FromZIPCode>string</FromZIPCode>
            <ToZIPCode>string</ToZIPCode>
            <ToCountry>string</ToCountry>
            <Amount>decimal</Amount>
            <MaxAmount>decimal</MaxAmount>
            <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 or RRD-GNRC or SC-GPE or SC-GPP or SC-GPESS or SC-GPPSS or DHL-EWW or FX-GD or FX-HD or FX-2D or FX-ES or FX-SO or FX-PO or FX-GDI or FX-EI or FX-PI</ServiceType>
            <ServiceDescription>string</ServiceDescription>
            <PrintLayout>string</PrintLayout>
            <DeliverDays>string</DeliverDays>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
            <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 or Express Envelope or Documents or Envelope or Pak</PackageType>
            <RequiresAllOf xsi:nil="true" />
            <Length>double</Length>
            <Width>double</Width>
            <Height>double</Height>
            <ShipDate>date</ShipDate>
            <DeliveryDate>date</DeliveryDate>
            <InsuredValue>decimal</InsuredValue>
            <RegisteredValue>decimal</RegisteredValue>
            <CODValue>decimal</CODValue>
            <DeclaredValue>decimal</DeclaredValue>
            <NonMachinable>boolean</NonMachinable>
            <RectangularShaped>boolean</RectangularShaped>
            <Prohibitions>string</Prohibitions>
            <Restrictions>string</Restrictions>
            <Observations>string</Observations>
            <Regulations>string</Regulations>
            <GEMNotes>string</GEMNotes>
            <MaxDimensions>string</MaxDimensions>
            <DimWeighting>string</DimWeighting>
            <AddOns xsi:nil="true" />
            <Surcharges xsi:nil="true" />
            <EffectiveWeightInOunces>int</EffectiveWeightInOunces>
            <Zone>int</Zone>
            <RateCategory>int</RateCategory>
            <ToCity>string</ToCity>
            <ToState>string</ToState>
            <CubicPricing>boolean</CubicPricing>
            <ContentType>Commercial Sample or Gift or Document or Returned Goods or Other or Merchandise or Humanitarian Donation or Dangerous Goods</ContentType>
          </Rate>
        </NetStampV23>
        <NetStampV23>
          <Row>int</Row>
          <Column>int</Column>
          <Rate>
            <FromZIPCode>string</FromZIPCode>
            <ToZIPCode>string</ToZIPCode>
            <ToCountry>string</ToCountry>
            <Amount>decimal</Amount>
            <MaxAmount>decimal</MaxAmount>
            <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 or RRD-GNRC or SC-GPE or SC-GPP or SC-GPESS or SC-GPPSS or DHL-EWW or FX-GD or FX-HD or FX-2D or FX-ES or FX-SO or FX-PO or FX-GDI or FX-EI or FX-PI</ServiceType>
            <ServiceDescription>string</ServiceDescription>
            <PrintLayout>string</PrintLayout>
            <DeliverDays>string</DeliverDays>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
            <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 or Express Envelope or Documents or Envelope or Pak</PackageType>
            <RequiresAllOf xsi:nil="true" />
            <Length>double</Length>
            <Width>double</Width>
            <Height>double</Height>
            <ShipDate>date</ShipDate>
            <DeliveryDate>date</DeliveryDate>
            <InsuredValue>decimal</InsuredValue>
            <RegisteredValue>decimal</RegisteredValue>
            <CODValue>decimal</CODValue>
            <DeclaredValue>decimal</DeclaredValue>
            <NonMachinable>boolean</NonMachinable>
            <RectangularShaped>boolean</RectangularShaped>
            <Prohibitions>string</Prohibitions>
            <Restrictions>string</Restrictions>
            <Observations>string</Observations>
            <Regulations>string</Regulations>
            <GEMNotes>string</GEMNotes>
            <MaxDimensions>string</MaxDimensions>
            <DimWeighting>string</DimWeighting>
            <AddOns xsi:nil="true" />
            <Surcharges xsi:nil="true" />
            <EffectiveWeightInOunces>int</EffectiveWeightInOunces>
            <Zone>int</Zone>
            <RateCategory>int</RateCategory>
            <ToCity>string</ToCity>
            <ToState>string</ToState>
            <CubicPricing>boolean</CubicPricing>
            <ContentType>Commercial Sample or Gift or Document or Returned Goods or Other or Merchandise or Humanitarian Donation or Dangerous Goods</ContentType>
          </Rate>
        </NetStampV23>
      </NetStamps>
      <From>
        <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>
        <EmailAddress>string</EmailAddress>
        <FullAddress>string</FullAddress>
      </From>
      <SampleOnly>boolean</SampleOnly>
      <ImageType>Auto or Png or Gif or Pdf or Epl or Jpg or PrintOncePdf or EncryptedPngUrl or Zpl or AZpl or BZpl or Bmp or BmpMonochrome or PngMonochrome or JpgMonochrome or GifMonochrome</ImageType>
      <cost_code_id>int</cost_code_id>
      <ImageId>int</ImageId>
      <ReturnIndiciaData>boolean</ReturnIndiciaData>
      <RateToken>string</RateToken>
      <memo>string</memo>
      <Reference1>string</Reference1>
      <Reference2>string</Reference2>
      <Reference3>string</Reference3>
      <Reference4>string</Reference4>
      <ExtendedPostageInfo>
        <eRefundAllowed>boolean</eRefundAllowed>
        <orderID>string</orderID>
        <storeProfileName>string</storeProfileName>
        <storeProfileID>string</storeProfileID>
        <formattedOrderDetails>string</formattedOrderDetails>
        <mediaID>int</mediaID>
        <printerID>int</printerID>
        <netstampSerialNumber>string</netstampSerialNumber>
        <mcatTracking>string</mcatTracking>
        <bridgeProfileType>string</bridgeProfileType>
        <clientVersion>string</clientVersion>
      </ExtendedPostageInfo>
    </CreateNetStampsIndicia>
  </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>
    <CreateNetStampsIndiciaResponse xmlns="http://stamps.com/xml/namespace/2018/10/swsim/swsimv75">
      <Authenticator>string</Authenticator>
      <IntegratorTxId>string</IntegratorTxId>
      <StampsTxId>guid</StampsTxId>
      <URL>string</URL>
      <PostageBalance>
        <AvailablePostage>decimal</AvailablePostage>
        <ControlTotal>decimal</ControlTotal>
      </PostageBalance>
      <NetstampsStatus>Success or PartialSuccess or Failed</NetstampsStatus>
      <NetstampsIssued>int</NetstampsIssued>
      <ErrorReason>string</ErrorReason>
      <Mac>string</Mac>
      <IndiciaData>
        <IndiciumData>
          <IBI>base64Binary</IBI>
          <IBILite>base64Binary</IBILite>
        </IndiciumData>
        <IndiciumData>
          <IBI>base64Binary</IBI>
          <IBILite>base64Binary</IBILite>
        </IndiciumData>
      </IndiciaData>
      <PrintLayout>string</PrintLayout>
      <Reference1>string</Reference1>
      <Reference2>string</Reference2>
      <Reference3>string</Reference3>
      <Reference4>string</Reference4>
    </CreateNetStampsIndiciaResponse>
  </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/swsimv75.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>
    <CreateNetStampsIndicia xmlns="http://stamps.com/xml/namespace/2018/10/swsim/swsimv75">
      <IntegratorTxId>string</IntegratorTxId>
      <Layout>string</Layout>
      <NetStamps>
        <NetStampV23>
          <Row>int</Row>
          <Column>int</Column>
          <Rate>
            <FromZIPCode>string</FromZIPCode>
            <ToZIPCode>string</ToZIPCode>
            <ToCountry>string</ToCountry>
            <Amount>decimal</Amount>
            <MaxAmount>decimal</MaxAmount>
            <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 or RRD-GNRC or SC-GPE or SC-GPP or SC-GPESS or SC-GPPSS or DHL-EWW or FX-GD or FX-HD or FX-2D or FX-ES or FX-SO or FX-PO or FX-GDI or FX-EI or FX-PI</ServiceType>
            <ServiceDescription>string</ServiceDescription>
            <PrintLayout>string</PrintLayout>
            <DeliverDays>string</DeliverDays>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
            <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 or Express Envelope or Documents or Envelope or Pak</PackageType>
            <RequiresAllOf xsi:nil="true" />
            <Length>double</Length>
            <Width>double</Width>
            <Height>double</Height>
            <ShipDate>date</ShipDate>
            <DeliveryDate>date</DeliveryDate>
            <InsuredValue>decimal</InsuredValue>
            <RegisteredValue>decimal</RegisteredValue>
            <CODValue>decimal</CODValue>
            <DeclaredValue>decimal</DeclaredValue>
            <NonMachinable>boolean</NonMachinable>
            <RectangularShaped>boolean</RectangularShaped>
            <Prohibitions>string</Prohibitions>
            <Restrictions>string</Restrictions>
            <Observations>string</Observations>
            <Regulations>string</Regulations>
            <GEMNotes>string</GEMNotes>
            <MaxDimensions>string</MaxDimensions>
            <DimWeighting>string</DimWeighting>
            <AddOns xsi:nil="true" />
            <Surcharges xsi:nil="true" />
            <EffectiveWeightInOunces>int</EffectiveWeightInOunces>
            <Zone>int</Zone>
            <RateCategory>int</RateCategory>
            <ToCity>string</ToCity>
            <ToState>string</ToState>
            <CubicPricing>boolean</CubicPricing>
            <ContentType>Commercial Sample or Gift or Document or Returned Goods or Other or Merchandise or Humanitarian Donation or Dangerous Goods</ContentType>
          </Rate>
        </NetStampV23>
        <NetStampV23>
          <Row>int</Row>
          <Column>int</Column>
          <Rate>
            <FromZIPCode>string</FromZIPCode>
            <ToZIPCode>string</ToZIPCode>
            <ToCountry>string</ToCountry>
            <Amount>decimal</Amount>
            <MaxAmount>decimal</MaxAmount>
            <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 or RRD-GNRC or SC-GPE or SC-GPP or SC-GPESS or SC-GPPSS or DHL-EWW or FX-GD or FX-HD or FX-2D or FX-ES or FX-SO or FX-PO or FX-GDI or FX-EI or FX-PI</ServiceType>
            <ServiceDescription>string</ServiceDescription>
            <PrintLayout>string</PrintLayout>
            <DeliverDays>string</DeliverDays>
            <WeightLb>double</WeightLb>
            <WeightOz>double</WeightOz>
            <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 or Express Envelope or Documents or Envelope or Pak</PackageType>
            <RequiresAllOf xsi:nil="true" />
            <Length>double</Length>
            <Width>double</Width>
            <Height>double</Height>
            <ShipDate>date</ShipDate>
            <DeliveryDate>date</DeliveryDate>
            <InsuredValue>decimal</InsuredValue>
            <RegisteredValue>decimal</RegisteredValue>
            <CODValue>decimal</CODValue>
            <DeclaredValue>decimal</DeclaredValue>
            <NonMachinable>boolean</NonMachinable>
            <RectangularShaped>boolean</RectangularShaped>
            <Prohibitions>string</Prohibitions>
            <Restrictions>string</Restrictions>
            <Observations>string</Observations>
            <Regulations>string</Regulations>
            <GEMNotes>string</GEMNotes>
            <MaxDimensions>string</MaxDimensions>
            <DimWeighting>string</DimWeighting>
            <AddOns xsi:nil="true" />
            <Surcharges xsi:nil="true" />
            <EffectiveWeightInOunces>int</EffectiveWeightInOunces>
            <Zone>int</Zone>
            <RateCategory>int</RateCategory>
            <ToCity>string</ToCity>
            <ToState>string</ToState>
            <CubicPricing>boolean</CubicPricing>
            <ContentType>Commercial Sample or Gift or Document or Returned Goods or Other or Merchandise or Humanitarian Donation or Dangerous Goods</ContentType>
          </Rate>
        </NetStampV23>
      </NetStamps>
      <From>
        <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>
        <EmailAddress>string</EmailAddress>
        <FullAddress>string</FullAddress>
      </From>
      <SampleOnly>boolean</SampleOnly>
      <ImageType>Auto or Png or Gif or Pdf or Epl or Jpg or PrintOncePdf or EncryptedPngUrl or Zpl or AZpl or BZpl or Bmp or BmpMonochrome or PngMonochrome or JpgMonochrome or GifMonochrome</ImageType>
      <cost_code_id>int</cost_code_id>
      <ImageId>int</ImageId>
      <ReturnIndiciaData>boolean</ReturnIndiciaData>
      <RateToken>string</RateToken>
      <memo>string</memo>
      <Reference1>string</Reference1>
      <Reference2>string</Reference2>
      <Reference3>string</Reference3>
      <Reference4>string</Reference4>
      <ExtendedPostageInfo>
        <eRefundAllowed>boolean</eRefundAllowed>
        <orderID>string</orderID>
        <storeProfileName>string</storeProfileName>
        <storeProfileID>string</storeProfileID>
        <formattedOrderDetails>string</formattedOrderDetails>
        <mediaID>int</mediaID>
        <printerID>int</printerID>
        <netstampSerialNumber>string</netstampSerialNumber>
        <mcatTracking>string</mcatTracking>
        <bridgeProfileType>string</bridgeProfileType>
        <clientVersion>string</clientVersion>
      </ExtendedPostageInfo>
    </CreateNetStampsIndicia>
  </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>
    <CreateNetStampsIndiciaResponse xmlns="http://stamps.com/xml/namespace/2018/10/swsim/swsimv75">
      <Authenticator>string</Authenticator>
      <IntegratorTxId>string</IntegratorTxId>
      <StampsTxId>guid</StampsTxId>
      <URL>string</URL>
      <PostageBalance>
        <AvailablePostage>decimal</AvailablePostage>
        <ControlTotal>decimal</ControlTotal>
      </PostageBalance>
      <NetstampsStatus>Success or PartialSuccess or Failed</NetstampsStatus>
      <NetstampsIssued>int</NetstampsIssued>
      <ErrorReason>string</ErrorReason>
      <Mac>string</Mac>
      <IndiciaData>
        <IndiciumData>
          <IBI>base64Binary</IBI>
          <IBILite>base64Binary</IBILite>
        </IndiciumData>
        <IndiciumData>
          <IBI>base64Binary</IBI>
          <IBILite>base64Binary</IBILite>
        </IndiciumData>
      </IndiciaData>
      <PrintLayout>string</PrintLayout>
      <Reference1>string</Reference1>
      <Reference2>string</Reference2>
      <Reference3>string</Reference3>
      <Reference4>string</Reference4>
    </CreateNetStampsIndiciaResponse>
  </soap12:Body>
</soap12:Envelope>