GET v1/ShopOwners/{shopOwnerId}/Suppliers/Search/{search}
Get a list with all Suppliers for specified Shop owner and search in following fields: - FullName - CompanyName - EMail address
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopOwnerId |
The id of the Shop owner. |
integer |
Required. |
search |
The search value. |
string |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the ContactPersonBasicInfo objects.
Collection of ContactPersonBasicInfo
Name | Description | Type | Additional 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 |
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>