Mauve.Bestellforum

<back to all web services

SearchCustomers

Search for customers.

Requires Authentication
Required permission:all
The following routes are available for this service:
GET/customer/
POST/customer/
SearchCustomers Parameters:
NameParameterData TypeRequiredDescription
Identifiersbodystring[]NoThe identifier to search for, either customer id or external identifier.
LastModifiedAfterbodyDateTime?NoReturn customers that were modified after the given date.

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /customer/ HTTP/1.1 
Host: bestellforum.api.mauve.de 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SearchCustomers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mauve.Bestellforum.ServiceModel">
  <Identifiers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Identifiers>
  <LastModifiedAfter>0001-01-01T00:00:00</LastModifiedAfter>
</SearchCustomers>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfCustomerSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mauve.Bestellforum.ServiceModel.Types">
  <CustomerSearchResult>
    <AdditionToAddress>String</AdditionToAddress>
    <City>String</City>
    <Company>String</Company>
    <Company2>String</Company2>
    <Country>String</Country>
    <CustomerId>String</CustomerId>
    <ExternalId>String</ExternalId>
    <FirstName>String</FirstName>
    <LastName>String</LastName>
    <PostalCode>String</PostalCode>
    <Quarter>String</Quarter>
    <Salutation>String</Salutation>
    <Street>String</Street>
    <StreetNumber>String</StreetNumber>
  </CustomerSearchResult>
</ArrayOfCustomerSearchResult>