GET api/Campaigns/GetList?currentPage={currentPage}&rowPerPage={rowPerPage}&keyword={keyword}&optionId={optionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| currentPage | integer |
Required |
|
| rowPerPage | byte |
Required |
|
| keyword | string |
Default value is |
|
| optionId | byte |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of CampaignSelectModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| ProjectName | string |
None. |
|
| DateStart | date |
None. |
|
| DateEnd | date |
None. |
|
| AmountDemand | integer |
None. |
|
| AmountCustomer | integer |
None. |
|
| AmountRead | integer |
None. |
|
| AmountSent | integer |
None. |
|
| AmountFail | integer |
None. |
|
| AmountSMSSent | integer |
None. |
|
| AmountSMSFail | integer |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
|
| DateActive | date |
None. |
|
| IsSendMail | boolean |
None. |
|
| MailStatus | string |
None. |
|
| IsSendSMS | boolean |
None. |
|
| SMSStatus | string |
None. |
|
| DateCreate | date |
None. |
|
| EmployeeName | string |
None. |
|
| Total | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "1e8e3827-e204-4a37-b51e-7fe3eb8b2fab",
"title": "sample string 2",
"projectName": "sample string 3",
"dateStart": "2025-12-06T12:28:49.8089306+07:00",
"dateEnd": "2025-12-06T12:28:49.8089306+07:00",
"amountDemand": 6,
"amountCustomer": 7,
"amountRead": 8,
"amountSent": 9,
"amountFail": 10,
"amountSMSSent": 11,
"amountSMSFail": 12,
"description": "sample string 13",
"isActive": true,
"dateActive": "2025-12-06T12:28:49.8089306+07:00",
"isSendMail": true,
"mailStatus": "sample string 17",
"isSendSMS": true,
"smsStatus": "sample string 19",
"dateCreate": "2025-12-06T12:28:49.8089306+07:00",
"employeeName": "sample string 21",
"total": 22
},
{
"id": "1e8e3827-e204-4a37-b51e-7fe3eb8b2fab",
"title": "sample string 2",
"projectName": "sample string 3",
"dateStart": "2025-12-06T12:28:49.8089306+07:00",
"dateEnd": "2025-12-06T12:28:49.8089306+07:00",
"amountDemand": 6,
"amountCustomer": 7,
"amountRead": 8,
"amountSent": 9,
"amountFail": 10,
"amountSMSSent": 11,
"amountSMSFail": 12,
"description": "sample string 13",
"isActive": true,
"dateActive": "2025-12-06T12:28:49.8089306+07:00",
"isSendMail": true,
"mailStatus": "sample string 17",
"isSendSMS": true,
"smsStatus": "sample string 19",
"dateCreate": "2025-12-06T12:28:49.8089306+07:00",
"employeeName": "sample string 21",
"total": 22
}
]
application/xml, text/xml
Sample:
<ArrayOfCampaignSelectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Campaign">
<CampaignSelectModel>
<AmountCustomer>7</AmountCustomer>
<AmountDemand>6</AmountDemand>
<AmountFail>10</AmountFail>
<AmountRead>8</AmountRead>
<AmountSMSFail>12</AmountSMSFail>
<AmountSMSSent>11</AmountSMSSent>
<AmountSent>9</AmountSent>
<DateActive>2025-12-06T12:28:49.8089306+07:00</DateActive>
<DateCreate>2025-12-06T12:28:49.8089306+07:00</DateCreate>
<DateEnd>2025-12-06T12:28:49.8089306+07:00</DateEnd>
<DateStart>2025-12-06T12:28:49.8089306+07:00</DateStart>
<Description>sample string 13</Description>
<EmployeeName>sample string 21</EmployeeName>
<Id>1e8e3827-e204-4a37-b51e-7fe3eb8b2fab</Id>
<IsActive>true</IsActive>
<IsSendMail>true</IsSendMail>
<IsSendSMS>true</IsSendSMS>
<MailStatus>sample string 17</MailStatus>
<ProjectName>sample string 3</ProjectName>
<SMSStatus>sample string 19</SMSStatus>
<Title>sample string 2</Title>
<Total>22</Total>
</CampaignSelectModel>
<CampaignSelectModel>
<AmountCustomer>7</AmountCustomer>
<AmountDemand>6</AmountDemand>
<AmountFail>10</AmountFail>
<AmountRead>8</AmountRead>
<AmountSMSFail>12</AmountSMSFail>
<AmountSMSSent>11</AmountSMSSent>
<AmountSent>9</AmountSent>
<DateActive>2025-12-06T12:28:49.8089306+07:00</DateActive>
<DateCreate>2025-12-06T12:28:49.8089306+07:00</DateCreate>
<DateEnd>2025-12-06T12:28:49.8089306+07:00</DateEnd>
<DateStart>2025-12-06T12:28:49.8089306+07:00</DateStart>
<Description>sample string 13</Description>
<EmployeeName>sample string 21</EmployeeName>
<Id>1e8e3827-e204-4a37-b51e-7fe3eb8b2fab</Id>
<IsActive>true</IsActive>
<IsSendMail>true</IsSendMail>
<IsSendSMS>true</IsSendSMS>
<MailStatus>sample string 17</MailStatus>
<ProjectName>sample string 3</ProjectName>
<SMSStatus>sample string 19</SMSStatus>
<Title>sample string 2</Title>
<Total>22</Total>
</CampaignSelectModel>
</ArrayOfCampaignSelectModel>