EwsLabelService
Click here for a complete list of operations.
GetTransactionsListingXML
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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: elstestserver.endicia.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "www.envmgr.com/LabelService/GetTransactionsListingXML" <?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> <GetTransactionsListingXML xmlns="www.envmgr.com/LabelService"> <GetTransactionsListingRequestXML>string</GetTransactionsListingRequestXML> </GetTransactionsListingXML> </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> <GetTransactionsListingXMLResponse xmlns="www.envmgr.com/LabelService"> <TransactionsListingResponse StartingTransactionID="long" EndingTransactionID="long" CompleteDataSet="boolean"> <Status>int</Status> <ErrorMessage>string</ErrorMessage> <RequesterID>string</RequesterID> <RequestID>string</RequestID> <TransactionsResults> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress xsi:nil="true" /> <FromAddress xsi:nil="true" /> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status xsi:nil="true" /> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails xsi:nil="true" /> <AdjustmentsDetails xsi:nil="true" /> <LabelCategory>string</LabelCategory> </Transaction> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress xsi:nil="true" /> <FromAddress xsi:nil="true" /> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status xsi:nil="true" /> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails xsi:nil="true" /> <AdjustmentsDetails xsi:nil="true" /> <LabelCategory>string</LabelCategory> </Transaction> </TransactionsResults> <ResponseOptions StartDateTime="string" EndDateTime="string" /> </TransactionsListingResponse> </GetTransactionsListingXMLResponse> </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: elstestserver.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> <GetTransactionsListingXML xmlns="www.envmgr.com/LabelService"> <GetTransactionsListingRequestXML>string</GetTransactionsListingRequestXML> </GetTransactionsListingXML> </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> <GetTransactionsListingXMLResponse xmlns="www.envmgr.com/LabelService"> <TransactionsListingResponse StartingTransactionID="long" EndingTransactionID="long" CompleteDataSet="boolean"> <Status>int</Status> <ErrorMessage>string</ErrorMessage> <RequesterID>string</RequesterID> <RequestID>string</RequestID> <TransactionsResults> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress xsi:nil="true" /> <FromAddress xsi:nil="true" /> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status xsi:nil="true" /> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails xsi:nil="true" /> <AdjustmentsDetails xsi:nil="true" /> <LabelCategory>string</LabelCategory> </Transaction> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress xsi:nil="true" /> <FromAddress xsi:nil="true" /> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status xsi:nil="true" /> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails xsi:nil="true" /> <AdjustmentsDetails xsi:nil="true" /> <LabelCategory>string</LabelCategory> </Transaction> </TransactionsResults> <ResponseOptions StartDateTime="string" EndDateTime="string" /> </TransactionsListingResponse> </GetTransactionsListingXMLResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /LabelService/EwsLabelService.asmx/GetTransactionsListingXML?transactionsRequestXML=string HTTP/1.1 Host: elstestserver.endicia.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TransactionsListingResponse StartingTransactionID="long" EndingTransactionID="long" CompleteDataSet="boolean" xmlns="www.envmgr.com/LabelService"> <Status>int</Status> <ErrorMessage>string</ErrorMessage> <RequesterID>string</RequesterID> <RequestID>string</RequestID> <TransactionsResults> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </ToAddress> <FromAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </FromAddress> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status> <StatusEvent>string</StatusEvent> <StatusDescription>string</StatusDescription> <DeliveryDateTime>string</DeliveryDateTime> </Status> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails> <RefundRequestedDateTime>string</RefundRequestedDateTime> <RefundRequestType>Undefined or Physical or Electronic or Both or SmartSaver</RefundRequestType> <RefundRequestedBy>string</RefundRequestedBy> <RefundStatus>ALL or SUBMITTED or VALIDATED or REJECTED or REFUNDED or MANUAL</RefundStatus> <RefundProcessedDateTime>string</RefundProcessedDateTime> <RefundedAmount>string</RefundedAmount> </RefundDetails> <AdjustmentsDetails> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </AdjustmentsDetails> <LabelCategory>string</LabelCategory> </Transaction> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </ToAddress> <FromAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </FromAddress> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status> <StatusEvent>string</StatusEvent> <StatusDescription>string</StatusDescription> <DeliveryDateTime>string</DeliveryDateTime> </Status> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails> <RefundRequestedDateTime>string</RefundRequestedDateTime> <RefundRequestType>Undefined or Physical or Electronic or Both or SmartSaver</RefundRequestType> <RefundRequestedBy>string</RefundRequestedBy> <RefundStatus>ALL or SUBMITTED or VALIDATED or REJECTED or REFUNDED or MANUAL</RefundStatus> <RefundProcessedDateTime>string</RefundProcessedDateTime> <RefundedAmount>string</RefundedAmount> </RefundDetails> <AdjustmentsDetails> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </AdjustmentsDetails> <LabelCategory>string</LabelCategory> </Transaction> </TransactionsResults> <ResponseOptions StartDateTime="string" EndDateTime="string" /> </TransactionsListingResponse>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /LabelService/EwsLabelService.asmx/GetTransactionsListingXML HTTP/1.1 Host: elstestserver.endicia.com Content-Type: application/x-www-form-urlencoded Content-Length: length transactionsRequestXML=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TransactionsListingResponse StartingTransactionID="long" EndingTransactionID="long" CompleteDataSet="boolean" xmlns="www.envmgr.com/LabelService"> <Status>int</Status> <ErrorMessage>string</ErrorMessage> <RequesterID>string</RequesterID> <RequestID>string</RequestID> <TransactionsResults> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </ToAddress> <FromAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </FromAddress> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status> <StatusEvent>string</StatusEvent> <StatusDescription>string</StatusDescription> <DeliveryDateTime>string</DeliveryDateTime> </Status> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails> <RefundRequestedDateTime>string</RefundRequestedDateTime> <RefundRequestType>Undefined or Physical or Electronic or Both or SmartSaver</RefundRequestType> <RefundRequestedBy>string</RefundRequestedBy> <RefundStatus>ALL or SUBMITTED or VALIDATED or REJECTED or REFUNDED or MANUAL</RefundStatus> <RefundProcessedDateTime>string</RefundProcessedDateTime> <RefundedAmount>string</RefundedAmount> </RefundDetails> <AdjustmentsDetails> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </AdjustmentsDetails> <LabelCategory>string</LabelCategory> </Transaction> <Transaction TransactionType="PRINT or PURCHASE or OUTSTANDING or PAYONUSE" TransactionDateTime="string" PostmarkDate="string" RefundStatus="string" PurchaseType="string"> <PIC>string</PIC> <TransactionID>long</TransactionID> <PieceID>string</PieceID> <Amount>string</Amount> <Weight>string</Weight> <MailClass>string</MailClass> <ToAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </ToAddress> <FromAddress> <Company>string</Company> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <AddressLines d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <City>string</City> <State>string</State> <PostalCode>string</PostalCode> <Zip4>string</Zip4> <Country>string</Country> </FromAddress> <CostCenter>string</CostCenter> <ReferenceID>string</ReferenceID> <RetailAccountID>string</RetailAccountID> <RetailAmount>string</RetailAmount> <ContractID>string</ContractID> <Status> <StatusEvent>string</StatusEvent> <StatusDescription>string</StatusDescription> <DeliveryDateTime>string</DeliveryDateTime> </Status> <Zone>string</Zone> <CubicFt>string</CubicFt> <RefundDetails> <RefundRequestedDateTime>string</RefundRequestedDateTime> <RefundRequestType>Undefined or Physical or Electronic or Both or SmartSaver</RefundRequestType> <RefundRequestedBy>string</RefundRequestedBy> <RefundStatus>ALL or SUBMITTED or VALIDATED or REJECTED or REFUNDED or MANUAL</RefundStatus> <RefundProcessedDateTime>string</RefundProcessedDateTime> <RefundedAmount>string</RefundedAmount> </RefundDetails> <AdjustmentsDetails> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <Adjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </AdjustmentsDetails> <LabelCategory>string</LabelCategory> </Transaction> </TransactionsResults> <ResponseOptions StartDateTime="string" EndDateTime="string" /> </TransactionsListingResponse>