developer:soap-1.6:methods:searchcustomers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:soap-1.6:methods:searchcustomers [2015/12/07 16:54]
yaya [XML]
developer:soap-1.6:methods:searchcustomers [2015/12/07 16:58]
yaya [XML]
Line 193: Line 193:
          </​SOAP-ENV:​Body>​          </​SOAP-ENV:​Body>​
       </​SOAP-ENV:​Envelope>​       </​SOAP-ENV:​Envelope>​
 +</​code>​
  
 +Reponse:
 +<code xml>
 +<?xml version="​1.0"​ encoding="​utf-8"?>​
 +<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​xmlns:​ns1="​urn:​usaepay"​
 + ​xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema"​
 + ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​
 +SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​
 +  <​SOAP-ENV:​Body>​
 +    <​ns1:​searchCustomersResponse>​
 +      <​searchCustomersReturn xsi:​type="​ns1:​CustomerSearchResult">​
 +        <​Customers SOAP-ENC:​arrayType="​ns1:​CustomerObject[1]"​ xsi:​type="​ns1:​CustomerObjectArray">​
 +          <item xsi:​type="​ns1:​CustomerObject">​
 +            <Amount xsi:​type="​xsd:​double">​44.93</​Amount>​
 +            <​BillingAddress xsi:​type="​ns1:​Address">​
 +              <City xsi:​type="​xsd:​string">​Los Angeles</​City>​
 +              <Company xsi:​type="​xsd:​string">​Acme Corp</​Company>​
 +              <Country xsi:​type="​xsd:​string">​US</​Country>​
 +              <Email xsi:​type="​xsd:​string">​joe@example.com</​Email>​
 +              <Fax xsi:​type="​xsd:​string">​333-333-3334</​Fax>​
 +              <​FirstName xsi:​type="​xsd:​string">​John</​FirstName>​
 +              <​LastName xsi:​type="​xsd:​string">​Doe</​LastName>​
 +              <Phone xsi:​type="​xsd:​string">​333-333-3333</​Phone>​
 +              <State xsi:​type="​xsd:​string">​CA</​State>​
 +              <Street xsi:​type="​xsd:​string">​1234 main st</​Street>​
 +              <Street2 xsi:​type="​xsd:​string">​Suite #​123</​Street2>​
 +              <Zip xsi:​type="​xsd:​string">​12345</​Zip>​
 +            </​BillingAddress>​
 +            <Created xsi:​type="​xsd:​dateTime">​2015-12-07T16:​35:​00+08:​00</​Created>​
 +            <​Currency xsi:​type="​xsd:​string">​0</​Currency>​
 +            <CustNum xsi:​type="​xsd:​string">​4606627</​CustNum>​
 +            <​CustomData xsi:​type="​xsd:​string"></​CustomData>​
 +            <​CustomFields SOAP-ENC:​arrayType="​ns1:​FieldValue[0]"​ xsi:​type="​ns1:​FieldValueArray"​ />
 +            <​CustomerID xsi:​type="​xsd:​string">​380</​CustomerID>​
 +            <​Description xsi:​type="​xsd:​string">​Weekly Bill</​Description>​
 +            <Enabled xsi:​type="​xsd:​boolean">​true</​Enabled>​
 +            <​Failures xsi:​type="​xsd:​int">​0</​Failures>​
 +            <​LookupCode xsi:​type="​xsd:​string"></​LookupCode>​
 +            <​Modified xsi:​type="​xsd:​dateTime">​2015-12-07T16:​35:​00+08:​00</​Modified>​
 +            <Next xsi:​type="​xsd:​string">​2016-12-01T12:​00:​00</​Next>​
 +            <Notes xsi:​type="​xsd:​string">​Testing the soap addCustomer Function</​Notes>​
 +            <NumLeft xsi:​type="​xsd:​integer">​50</​NumLeft>​
 +            <OrderID xsi:​type="​xsd:​string">​1698032860</​OrderID>​
 +            <​PaymentMethods SOAP-ENC:​arrayType="​ns1:​PaymentMethod[1]"​ xsi:​type="​ns1:​PaymentMethodArray">​
 +              <item xsi:​type="​ns1:​PaymentMethod">​
 +                <​MethodType xsi:​type="​xsd:​string">​cc</​MethodType>​
 +                <​MethodID xsi:​type="​xsd:​integer">​115</​MethodID>​
 +                <​MethodName xsi:​type="​xsd:​string">​CreditCard</​MethodName>​
 +                <​SecondarySort xsi:​type="​xsd:​integer">​8</​SecondarySort>​
 +                <Created xsi:​type="​xsd:​dateTime">​2015-12-07T16:​35:​00+08:​00</​Created>​
 +                <​Modified xsi:​type="​xsd:​dateTime">​2015-12-07T16:​35:​00+08:​00</​Modified>​
 +                <​CardExpiration xsi:​type="​xsd:​string">​2018-12</​CardExpiration>​
 +                <​CardNumber xsi:​type="​xsd:​string">​XXXXXXXXXXXX7779</​CardNumber>​
 +                <​CardType xsi:​type="​xsd:​string">​V</​CardType>​
 +              </​item>​
 +            </​PaymentMethods>​
 +            <​PriceTier xsi:​type="​xsd:​string"></​PriceTier>​
 +            <​ReceiptNote xsi:​type="​xsd:​string">​addCustomer test Created Charge</​ReceiptNote>​
 +            <​Schedule xsi:​type="​xsd:​string">​Weekly</​Schedule>​
 +            <​SendReceipt xsi:​type="​xsd:​boolean">​true</​SendReceipt>​
 +            <Source xsi:​type="​xsd:​string">​Recurring</​Source>​
 +            <Tax xsi:​type="​xsd:​double">​0</​Tax>​
 +            <​TaxClass xsi:​type="​xsd:​string"></​TaxClass>​
 +            <User xsi:​type="​xsd:​string">​(Auto)</​User>​
 +            <URL xsi:​type="​xsd:​string"></​URL>​
 +          </​item>​
 +        </​Customers>​
 +        <​CustomersMatched xsi:​type="​xsd:​integer">​1</​CustomersMatched>​
 +        <​CustomersReturned xsi:​type="​xsd:​integer">​1</​CustomersReturned>​
 +        <Limit xsi:​type="​xsd:​integer">​1000</​Limit>​
 +        <​StartIndex xsi:​type="​xsd:​integer">​0</​StartIndex>​
 +      </​searchCustomersReturn>​
 +    </​ns1:​searchCustomersResponse>​
 +  </​SOAP-ENV:​Body>​
 +</​SOAP-ENV:​Envelope>​
 </​code>​ </​code>​
 ===== Change History ===== ===== Change History =====
developer/soap-1.6/methods/searchcustomers.txt ยท Last modified: 2015/12/07 16:58 by yaya

Page Tools