GET api/Customer?countryId={countryId}&term={term}&resultItemsAmount={resultItemsAmount}
Get list of Customers by CountryId and term
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryId |
Id for the country you request content for. |
integer |
Required You can get countryId in GET api/Country |
term |
The part of Customer Name to search for |
string |
None. |
resultItemsAmount |
Amount of results to return |
integer |
Default value is 10 |
Body Parameters
None.
Response Information
Name | Description | Type | Additional information |
---|---|---|---|
CustomerId |
Customer Id |
integer |
None. |
Name |
Customer Name |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "customerId": 1, "name": "sample string 2" }, { "customerId": 1, "name": "sample string 2" } ]