GET api/sitecustomerapi/sitecustomersbysite/{siteId}?active={active}&lastUpdate={lastUpdate}&FirstElementIndex={FirstElementIndex}&NumberOfElements={NumberOfElements}&keyword={keyword}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
Required |
|
| active | boolean |
None. |
|
| lastUpdate | date |
None. |
|
| FirstElementIndex | integer |
None. |
|
| NumberOfElements | integer |
None. |
|
| keyword | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PaginationResultViewModelOfListOfSiteCustomerViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of SiteCustomerViewModel |
None. |
|
| totalRecord | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"active": true,
"code": 2,
"id": "0a529eab-9818-4635-a3a8-3f4254ae970d",
"name": "sample string 4",
"remark": "sample string 5",
"site_id": "1be0fede-1ff4-4706-a2de-8ca839095537"
},
{
"active": true,
"code": 2,
"id": "0a529eab-9818-4635-a3a8-3f4254ae970d",
"name": "sample string 4",
"remark": "sample string 5",
"site_id": "1be0fede-1ff4-4706-a2de-8ca839095537"
}
],
"totalRecord": 1
}
application/xml, text/xml
Sample:
<paginationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<data>
<sitecustomer>
<active>true</active>
<code>2</code>
<id>0a529eab-9818-4635-a3a8-3f4254ae970d</id>
<name>sample string 4</name>
<remark>sample string 5</remark>
<site_id>1be0fede-1ff4-4706-a2de-8ca839095537</site_id>
</sitecustomer>
<sitecustomer>
<active>true</active>
<code>2</code>
<id>0a529eab-9818-4635-a3a8-3f4254ae970d</id>
<name>sample string 4</name>
<remark>sample string 5</remark>
<site_id>1be0fede-1ff4-4706-a2de-8ca839095537</site_id>
</sitecustomer>
</data>
<totalRecord>1</totalRecord>
</paginationResult>