GET v1/ShopOwners/{shopOwnerId}/Customers/Search/{search}

Get a list with all Customers for specified Shopowner and search in following fields: - FullName - CompanyName - EMail address - ContactRef

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
shopOwnerId

The id of the Shopowner.

integer

Required.

search

The search pattern.

string

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the ContactPersonBasicInfo objects.


Collection of ContactPersonBasicInfo
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

FullName

Gets or sets the full name.

string

Max length: 100

CompanyName

Gets or sets the name of the company.

string

Max length: 100

EMail

Gets or sets the e mail.

string

Max length: 200

ContactReference

Gets or sets the contact reference.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "FullName": "sample string 2",
    "CompanyName": "sample string 3",
    "EMail": "sample string 4",
    "ContactReference": "sample string 5"
  },
  {
    "Id": 1,
    "FullName": "sample string 2",
    "CompanyName": "sample string 3",
    "EMail": "sample string 4",
    "ContactReference": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfContactPersonBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactPersonBasicInfo>
    <Id>1</Id>
    <FullName>sample string 2</FullName>
    <CompanyName>sample string 3</CompanyName>
    <EMail>sample string 4</EMail>
    <ContactReference>sample string 5</ContactReference>
  </ContactPersonBasicInfo>
  <ContactPersonBasicInfo>
    <Id>1</Id>
    <FullName>sample string 2</FullName>
    <CompanyName>sample string 3</CompanyName>
    <EMail>sample string 4</EMail>
    <ContactReference>sample string 5</ContactReference>
  </ContactPersonBasicInfo>
</ArrayOfContactPersonBasicInfo>