GET api/v1/customers?Limit={Limit}&Offset={Offset}&OrderBy={OrderBy}&searchText={searchText}&archived={archived}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Limit | integer |
None. |
|
Offset | integer |
None. |
|
OrderBy | string |
None. |
|
searchText | string |
Default value is |
|
archived | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
MultiResultResponseOfCustomerItemListDtoName | Description | Type | Additional information |
---|---|---|---|
Meta | MetaMultiResult |
None. |
|
Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{ "meta": { "limit": 1, "offset": 2, "totalResults": 3 }, "notifications": [ {}, {} ], "results": [ { "id": "d4dbad80-46c8-4ab5-a46a-523d05785e2f", "firstName": "sample string 2", "lastName": "sample string 3", "email": "sample string 4", "emailStatus": 0, "mobilePhone": "sample string 5", "gender": 0, "isMember": true, "hasCard": true, "urlPhoto": "sample string 8" }, { "id": "d4dbad80-46c8-4ab5-a46a-523d05785e2f", "firstName": "sample string 2", "lastName": "sample string 3", "email": "sample string 4", "emailStatus": 0, "mobilePhone": "sample string 5", "gender": 0, "isMember": true, "hasCard": true, "urlPhoto": "sample string 8" } ] }
application/xml, text/xml
Sample:
<MultiResultResponseOfCustomerItemListDtoaM_S85dVU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response"> <Meta> <Limit>1</Limit> <Offset>2</Offset> <TotalResults>3</TotalResults> </Meta> <Notifications> <Notification /> <Notification /> </Notifications> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Dtos"> <d2p1:CustomerItemListDto> <d2p1:Email>sample string 4</d2p1:Email> <d2p1:EmailStatus>Checked</d2p1:EmailStatus> <d2p1:FirstName>sample string 2</d2p1:FirstName> <d2p1:Gender>Male</d2p1:Gender> <d2p1:HasCard>true</d2p1:HasCard> <d2p1:Id>d4dbad80-46c8-4ab5-a46a-523d05785e2f</d2p1:Id> <d2p1:IsMember>true</d2p1:IsMember> <d2p1:LastName>sample string 3</d2p1:LastName> <d2p1:MobilePhone>sample string 5</d2p1:MobilePhone> <d2p1:UrlPhoto>sample string 8</d2p1:UrlPhoto> </d2p1:CustomerItemListDto> <d2p1:CustomerItemListDto> <d2p1:Email>sample string 4</d2p1:Email> <d2p1:EmailStatus>Checked</d2p1:EmailStatus> <d2p1:FirstName>sample string 2</d2p1:FirstName> <d2p1:Gender>Male</d2p1:Gender> <d2p1:HasCard>true</d2p1:HasCard> <d2p1:Id>d4dbad80-46c8-4ab5-a46a-523d05785e2f</d2p1:Id> <d2p1:IsMember>true</d2p1:IsMember> <d2p1:LastName>sample string 3</d2p1:LastName> <d2p1:MobilePhone>sample string 5</d2p1:MobilePhone> <d2p1:UrlPhoto>sample string 8</d2p1:UrlPhoto> </d2p1:CustomerItemListDto> </Results> </MultiResultResponseOfCustomerItemListDtoaM_S85dVU>