SwsimV40
Click here for a complete list of operations.
EnumNetStampsLayouts
Get list of NetStamps layouts.
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/swsimv40.asmx HTTP/1.1 Host: swsim.stamps.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://stamps.com/xml/namespace/2014/12/swsim/swsimv40/EnumNetStampsLayouts" <?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> <EnumNetStampsLayouts xmlns="http://stamps.com/xml/namespace/2014/12/swsim/swsimv40" /> </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> <EnumNetStampsLayoutsResponse xmlns="http://stamps.com/xml/namespace/2014/12/swsim/swsimv40"> <Authenticator>string</Authenticator> <Layouts> <NetStampsLayout> <Name>string</Name> <Description>string</Description> <SerialNumberPattern>string</SerialNumberPattern> <NumRows>int</NumRows> <NumColumns>int</NumColumns> <BackgroundImageURL>string</BackgroundImageURL> <BackgroundImageWidthPx>int</BackgroundImageWidthPx> <BackgroundImageHeightPx>int</BackgroundImageHeightPx> <EmptyNetStampImageURL>string</EmptyNetStampImageURL> <UsedNetStampImageURL>string</UsedNetStampImageURL> <PrintedNetStampImageURL>string</PrintedNetStampImageURL> <NetStampImageWidthPx>int</NetStampImageWidthPx> <NetStampImageHeightPx>int</NetStampImageHeightPx> <Row1StartsAtPx>int</Row1StartsAtPx> <Column1StartsAtPx>int</Column1StartsAtPx> <HorizontalSpaceBetweenNetStampsPx>int</HorizontalSpaceBetweenNetStampsPx> <VerticalSpaceBetweenNetStampsPx>int</VerticalSpaceBetweenNetStampsPx> </NetStampsLayout> <NetStampsLayout> <Name>string</Name> <Description>string</Description> <SerialNumberPattern>string</SerialNumberPattern> <NumRows>int</NumRows> <NumColumns>int</NumColumns> <BackgroundImageURL>string</BackgroundImageURL> <BackgroundImageWidthPx>int</BackgroundImageWidthPx> <BackgroundImageHeightPx>int</BackgroundImageHeightPx> <EmptyNetStampImageURL>string</EmptyNetStampImageURL> <UsedNetStampImageURL>string</UsedNetStampImageURL> <PrintedNetStampImageURL>string</PrintedNetStampImageURL> <NetStampImageWidthPx>int</NetStampImageWidthPx> <NetStampImageHeightPx>int</NetStampImageHeightPx> <Row1StartsAtPx>int</Row1StartsAtPx> <Column1StartsAtPx>int</Column1StartsAtPx> <HorizontalSpaceBetweenNetStampsPx>int</HorizontalSpaceBetweenNetStampsPx> <VerticalSpaceBetweenNetStampsPx>int</VerticalSpaceBetweenNetStampsPx> </NetStampsLayout> </Layouts> </EnumNetStampsLayoutsResponse> </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/swsimv40.asmx HTTP/1.1 Host: swsim.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> <EnumNetStampsLayouts xmlns="http://stamps.com/xml/namespace/2014/12/swsim/swsimv40" /> </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> <EnumNetStampsLayoutsResponse xmlns="http://stamps.com/xml/namespace/2014/12/swsim/swsimv40"> <Authenticator>string</Authenticator> <Layouts> <NetStampsLayout> <Name>string</Name> <Description>string</Description> <SerialNumberPattern>string</SerialNumberPattern> <NumRows>int</NumRows> <NumColumns>int</NumColumns> <BackgroundImageURL>string</BackgroundImageURL> <BackgroundImageWidthPx>int</BackgroundImageWidthPx> <BackgroundImageHeightPx>int</BackgroundImageHeightPx> <EmptyNetStampImageURL>string</EmptyNetStampImageURL> <UsedNetStampImageURL>string</UsedNetStampImageURL> <PrintedNetStampImageURL>string</PrintedNetStampImageURL> <NetStampImageWidthPx>int</NetStampImageWidthPx> <NetStampImageHeightPx>int</NetStampImageHeightPx> <Row1StartsAtPx>int</Row1StartsAtPx> <Column1StartsAtPx>int</Column1StartsAtPx> <HorizontalSpaceBetweenNetStampsPx>int</HorizontalSpaceBetweenNetStampsPx> <VerticalSpaceBetweenNetStampsPx>int</VerticalSpaceBetweenNetStampsPx> </NetStampsLayout> <NetStampsLayout> <Name>string</Name> <Description>string</Description> <SerialNumberPattern>string</SerialNumberPattern> <NumRows>int</NumRows> <NumColumns>int</NumColumns> <BackgroundImageURL>string</BackgroundImageURL> <BackgroundImageWidthPx>int</BackgroundImageWidthPx> <BackgroundImageHeightPx>int</BackgroundImageHeightPx> <EmptyNetStampImageURL>string</EmptyNetStampImageURL> <UsedNetStampImageURL>string</UsedNetStampImageURL> <PrintedNetStampImageURL>string</PrintedNetStampImageURL> <NetStampImageWidthPx>int</NetStampImageWidthPx> <NetStampImageHeightPx>int</NetStampImageHeightPx> <Row1StartsAtPx>int</Row1StartsAtPx> <Column1StartsAtPx>int</Column1StartsAtPx> <HorizontalSpaceBetweenNetStampsPx>int</HorizontalSpaceBetweenNetStampsPx> <VerticalSpaceBetweenNetStampsPx>int</VerticalSpaceBetweenNetStampsPx> </NetStampsLayout> </Layouts> </EnumNetStampsLayoutsResponse> </soap12:Body> </soap12:Envelope>