EwsLabelService
Click here for a complete list of operations.
GetPicNumber
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 /LabelService/EwsLabelService.asmx HTTP/1.1
Host: labelserver.endicia.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "www.envmgr.com/LabelService/GetPicNumber"
<?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>
<GetPicNumber xmlns="www.envmgr.com/LabelService">
<PicNumberRequest>
<InsuredMail>string</InsuredMail>
<InsuredMailFee>decimal</InsuredMailFee>
<RestrictedDeliveryFee>decimal</RestrictedDeliveryFee>
<ReturnReceipt>string</ReturnReceipt>
<ReturnReceiptFee>decimal</ReturnReceiptFee>
<ReturnReceiptRegular>boolean</ReturnReceiptRegular>
<ReturnReceiptRegularFee>decimal</ReturnReceiptRegularFee>
<ReturnReceiptElectronic>boolean</ReturnReceiptElectronic>
<ReturnReceiptElectronicFee>decimal</ReturnReceiptElectronicFee>
<ReturnReceiptMerchandise>boolean</ReturnReceiptMerchandise>
<ReturnReceiptMerchandiseFee>decimal</ReturnReceiptMerchandiseFee>
<ServiceLevel>string</ServiceLevel>
<SundayHolidayDelivery>boolean</SundayHolidayDelivery>
<SundayDelivery>boolean</SundayDelivery>
<HolidayDelivery>boolean</HolidayDelivery>
<NoDeliverySaturday>boolean</NoDeliverySaturday>
<FacilityID>string</FacilityID>
<WaiverOfSignature>boolean</WaiverOfSignature>
<AMDelivery>boolean</AMDelivery>
<AMDeliveryFee>decimal</AMDeliveryFee>
</PicNumberRequest>
</GetPicNumber>
</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>
<GetPicNumberResponse xmlns="www.envmgr.com/LabelService">
<LabelNumberResponse>
<Status>int</Status>
<ErrorMessage>string</ErrorMessage>
<LabelNumber>string</LabelNumber>
<LabelNumberType>string</LabelNumberType>
<LabelNumberSource>string</LabelNumberSource>
<RDC>string</RDC>
<ServerName>string</ServerName>
<ServerDateTime>string</ServerDateTime>
<BarcodeNumber>string</BarcodeNumber>
<Banner>string</Banner>
<MailerID>string</MailerID>
<DisplayLabelNumber>string</DisplayLabelNumber>
<PicId>long</PicId>
<SDRValue>decimal</SDRValue>
<DeliveryTimeDays>int</DeliveryTimeDays>
</LabelNumberResponse>
</GetPicNumberResponse>
</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 /LabelService/EwsLabelService.asmx HTTP/1.1
Host: labelserver.endicia.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>
<GetPicNumber xmlns="www.envmgr.com/LabelService">
<PicNumberRequest>
<InsuredMail>string</InsuredMail>
<InsuredMailFee>decimal</InsuredMailFee>
<RestrictedDeliveryFee>decimal</RestrictedDeliveryFee>
<ReturnReceipt>string</ReturnReceipt>
<ReturnReceiptFee>decimal</ReturnReceiptFee>
<ReturnReceiptRegular>boolean</ReturnReceiptRegular>
<ReturnReceiptRegularFee>decimal</ReturnReceiptRegularFee>
<ReturnReceiptElectronic>boolean</ReturnReceiptElectronic>
<ReturnReceiptElectronicFee>decimal</ReturnReceiptElectronicFee>
<ReturnReceiptMerchandise>boolean</ReturnReceiptMerchandise>
<ReturnReceiptMerchandiseFee>decimal</ReturnReceiptMerchandiseFee>
<ServiceLevel>string</ServiceLevel>
<SundayHolidayDelivery>boolean</SundayHolidayDelivery>
<SundayDelivery>boolean</SundayDelivery>
<HolidayDelivery>boolean</HolidayDelivery>
<NoDeliverySaturday>boolean</NoDeliverySaturday>
<FacilityID>string</FacilityID>
<WaiverOfSignature>boolean</WaiverOfSignature>
<AMDelivery>boolean</AMDelivery>
<AMDeliveryFee>decimal</AMDeliveryFee>
</PicNumberRequest>
</GetPicNumber>
</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>
<GetPicNumberResponse xmlns="www.envmgr.com/LabelService">
<LabelNumberResponse>
<Status>int</Status>
<ErrorMessage>string</ErrorMessage>
<LabelNumber>string</LabelNumber>
<LabelNumberType>string</LabelNumberType>
<LabelNumberSource>string</LabelNumberSource>
<RDC>string</RDC>
<ServerName>string</ServerName>
<ServerDateTime>string</ServerDateTime>
<BarcodeNumber>string</BarcodeNumber>
<Banner>string</Banner>
<MailerID>string</MailerID>
<DisplayLabelNumber>string</DisplayLabelNumber>
<PicId>long</PicId>
<SDRValue>decimal</SDRValue>
<DeliveryTimeDays>int</DeliveryTimeDays>
</LabelNumberResponse>
</GetPicNumberResponse>
</soap12:Body>
</soap12:Envelope>