GET api/PortalAdmin/News/CustomerList?Keyword={Keyword}&PortalId={PortalId}&CurrentPage={CurrentPage}&RowPerPage={RowPerPage}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Keyword | string |
None. |
|
| PortalId | integer |
Required |
|
| CurrentPage | integer |
Required |
|
| RowPerPage | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NewsCustomer_ListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| FullName | string |
None. |
|
| Phone | string |
None. |
|
| ContractName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"customerId": 1,
"fullName": "sample string 2",
"phone": "sample string 3",
"contractName": "sample string 4"
},
{
"customerId": 1,
"fullName": "sample string 2",
"phone": "sample string 3",
"contractName": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfNewsCustomer_ListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Portal">
<NewsCustomer_ListModel>
<ContractName>sample string 4</ContractName>
<CustomerId>1</CustomerId>
<FullName>sample string 2</FullName>
<Phone>sample string 3</Phone>
</NewsCustomer_ListModel>
<NewsCustomer_ListModel>
<ContractName>sample string 4</ContractName>
<CustomerId>1</CustomerId>
<FullName>sample string 2</FullName>
<Phone>sample string 3</Phone>
</NewsCustomer_ListModel>
</ArrayOfNewsCustomer_ListModel>