EwsLabelService
Click here for a complete list of operations.
GetUserSignUp
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/GetUserSignUp" <?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> <GetUserSignUp xmlns="www.envmgr.com/LabelService"> <UserSignUpRequest TokenRequested="boolean"> <RequestID>string</RequestID> <FirstName>string</FirstName> <LastName>string</LastName> <MiddleName>string</MiddleName> <Title>string</Title> <EmailAddress>string</EmailAddress> <PhoneNumber>string</PhoneNumber> <PhoneNumberExt>string</PhoneNumberExt> <FaxNumber>string</FaxNumber> <BillingType>string</BillingType> <PartnerID>string</PartnerID> <OriginatingIpAddress>string</OriginatingIpAddress> <Contracts> <ContractId>string</ContractId> <ContractId>string</ContractId> </Contracts> <AccountCredentials> <WebPassword>string</WebPassword> <TemporaryPassPhrase>string</TemporaryPassPhrase> <SecurityQuestion>string</SecurityQuestion> <SecurityAnswer>string</SecurityAnswer> </AccountCredentials> <CreditCard> <CreditCardNumber>string</CreditCardNumber> <CreditCardType>Visa or Mastercard or AmericanExpress or CarteBlanche or Discover or DinersClub</CreditCardType> <CreditCardMonth>January or February or March or April or May or June or July or August or September or October or November or December</CreditCardMonth> <CreditCardYear>int</CreditCardYear> <CreditCardAddress>string</CreditCardAddress> <CreditCardCity>string</CreditCardCity> <CreditCardState>string</CreditCardState> <CreditCardZip5>string</CreditCardZip5> <CreditCardCVV>string</CreditCardCVV> <CreditCardCountryCode>string</CreditCardCountryCode> </CreditCard> <CheckingAccount> <AccountNumber>string</AccountNumber> <RoutingNumber>string</RoutingNumber> </CheckingAccount> <PhysicalAddress> <FirstName>string</FirstName> <LastName>string</LastName> <CompanyName>string</CompanyName> <SuiteOrApt>string</SuiteOrApt> <Address>string</Address> <City>string</City> <State>string</State> <Zip5>string</Zip5> <Zip4>string</Zip4> <Phone>string</Phone> <Extension>string</Extension> <Address2>string</Address2> <Address3>string</Address3> <Email>string</Email> </PhysicalAddress> <MailingAddress> <FirstName>string</FirstName> <LastName>string</LastName> <CompanyName>string</CompanyName> <SuiteOrApt>string</SuiteOrApt> <Address>string</Address> <City>string</City> <State>string</State> <Zip5>string</Zip5> <Zip4>string</Zip4> <Phone>string</Phone> <Extension>string</Extension> <Address2>string</Address2> <Address3>string</Address3> <Email>string</Email> </MailingAddress> <PaymentDetailsDeferred>boolean</PaymentDetailsDeferred> <USPSRep>string</USPSRep> <DedicatedResellerAccount>boolean</DedicatedResellerAccount> <ICertify>boolean</ICertify> <UserName>string</UserName> <RequesterID>string</RequesterID> </UserSignUpRequest> </GetUserSignUp> </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> <GetUserSignUpResponse xmlns="www.envmgr.com/LabelService"> <UserSignUpResponse> <ErrorMessage>string</ErrorMessage> <RequesterID>string</RequesterID> <RequestID>string</RequestID> <Token>string</Token> <ConfirmationNumber>long</ConfirmationNumber> <AccountID>long</AccountID> </UserSignUpResponse> </GetUserSignUpResponse> </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> <GetUserSignUp xmlns="www.envmgr.com/LabelService"> <UserSignUpRequest TokenRequested="boolean"> <RequestID>string</RequestID> <FirstName>string</FirstName> <LastName>string</LastName> <MiddleName>string</MiddleName> <Title>string</Title> <EmailAddress>string</EmailAddress> <PhoneNumber>string</PhoneNumber> <PhoneNumberExt>string</PhoneNumberExt> <FaxNumber>string</FaxNumber> <BillingType>string</BillingType> <PartnerID>string</PartnerID> <OriginatingIpAddress>string</OriginatingIpAddress> <Contracts> <ContractId>string</ContractId> <ContractId>string</ContractId> </Contracts> <AccountCredentials> <WebPassword>string</WebPassword> <TemporaryPassPhrase>string</TemporaryPassPhrase> <SecurityQuestion>string</SecurityQuestion> <SecurityAnswer>string</SecurityAnswer> </AccountCredentials> <CreditCard> <CreditCardNumber>string</CreditCardNumber> <CreditCardType>Visa or Mastercard or AmericanExpress or CarteBlanche or Discover or DinersClub</CreditCardType> <CreditCardMonth>January or February or March or April or May or June or July or August or September or October or November or December</CreditCardMonth> <CreditCardYear>int</CreditCardYear> <CreditCardAddress>string</CreditCardAddress> <CreditCardCity>string</CreditCardCity> <CreditCardState>string</CreditCardState> <CreditCardZip5>string</CreditCardZip5> <CreditCardCVV>string</CreditCardCVV> <CreditCardCountryCode>string</CreditCardCountryCode> </CreditCard> <CheckingAccount> <AccountNumber>string</AccountNumber> <RoutingNumber>string</RoutingNumber> </CheckingAccount> <PhysicalAddress> <FirstName>string</FirstName> <LastName>string</LastName> <CompanyName>string</CompanyName> <SuiteOrApt>string</SuiteOrApt> <Address>string</Address> <City>string</City> <State>string</State> <Zip5>string</Zip5> <Zip4>string</Zip4> <Phone>string</Phone> <Extension>string</Extension> <Address2>string</Address2> <Address3>string</Address3> <Email>string</Email> </PhysicalAddress> <MailingAddress> <FirstName>string</FirstName> <LastName>string</LastName> <CompanyName>string</CompanyName> <SuiteOrApt>string</SuiteOrApt> <Address>string</Address> <City>string</City> <State>string</State> <Zip5>string</Zip5> <Zip4>string</Zip4> <Phone>string</Phone> <Extension>string</Extension> <Address2>string</Address2> <Address3>string</Address3> <Email>string</Email> </MailingAddress> <PaymentDetailsDeferred>boolean</PaymentDetailsDeferred> <USPSRep>string</USPSRep> <DedicatedResellerAccount>boolean</DedicatedResellerAccount> <ICertify>boolean</ICertify> <UserName>string</UserName> <RequesterID>string</RequesterID> </UserSignUpRequest> </GetUserSignUp> </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> <GetUserSignUpResponse xmlns="www.envmgr.com/LabelService"> <UserSignUpResponse> <ErrorMessage>string</ErrorMessage> <RequesterID>string</RequesterID> <RequestID>string</RequestID> <Token>string</Token> <ConfirmationNumber>long</ConfirmationNumber> <AccountID>long</AccountID> </UserSignUpResponse> </GetUserSignUpResponse> </soap12:Body> </soap12:Envelope>