Endpoint: POST  http://SoapServerName:PortNumber/Customer

 

Required SOAP XML Tags

-----------------

 

<Action>                GetCustomerDetails                    Required Action

<AccountNumber>         123456                                Promoserve Account Number (Max 10 Characters)

<DataSet>               TEST123                                  Dataset to return

 

 

Example Request

---------------

 

<?xml version="1.0" encoding="iso-8859-1"?>

  <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>

      <Action>GetCustomerDetails</Action>

      <AccountNumber>00000</AccountNumber>

      <DataSet>TEST123</DataSet>

    </soap:Body>

  </soap:Envelope>

 

 

Example Successful Response

---------------------------

 

<?xml version="1.0" encoding="iso-8859-1"?>

<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>

        <Response>

            <AccountNumber>00000</AccountNumber>

            <Name>Neils &quot;Test &amp; Go&quot; Company</Name>

            <Buyer>Mr Neil Test</Buyer>

            <Address1>4 Test Street</Address1>

            <Address2>TESTER</Address2>

            <Address3>TEST TOWN</Address3>

            <Address4>Testville</Address4>

            <Address5>XXX 11111</Address5>

            <CountryCode>GB</CountryCode>

            <EmailAddress>general@testing.co.uk</EmailAddress>

            <Telephone>01234 5556666</Telephone>

            <PaymentMethod>On-Accout</PaymentMethod>

            <WebSiteAccess>Yes</WebSiteAccess>

            <PriceBand>BAND A</PriceBand>

        </Response>

    </soap:Body>

</soap:Envelope>

 

 

SOAP Errors

-----------

 

FaultCode   Fault

------------------------------------------------

-1          Requested Account Number Not Found

-98         No Request Details Supplied

-99         Invalid Request/Action