GET api/Campaigns?page={page}&pageSize={pageSize}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| page | integer |
Required |
|
| pageSize | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PagedRecordsOfSmsCampaign| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of SmsCampaign |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalPages | integer |
None. |
|
| TotalRecordCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"CampaignId": 1,
"Name": "sample string 2",
"Content": "sample string 3",
"Date": "2026-11-03T23:03:50.7695206+02:00"
},
{
"CampaignId": 1,
"Name": "sample string 2",
"Content": "sample string 3",
"Date": "2026-11-03T23:03:50.7695206+02:00"
}
],
"Page": 1,
"PageSize": 2,
"TotalPages": 2,
"TotalRecordCount": 4
}
application/xml, text/xml
Sample:
<PagedRecordsOfSmsCampaignN6Z2ZAXa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBP5.API.Sms.Models">
<Data>
<SmsCampaign>
<CampaignId>1</CampaignId>
<Content>sample string 3</Content>
<Date>2026-11-03T23:03:50.7695206+02:00</Date>
<Name>sample string 2</Name>
</SmsCampaign>
<SmsCampaign>
<CampaignId>1</CampaignId>
<Content>sample string 3</Content>
<Date>2026-11-03T23:03:50.7695206+02:00</Date>
<Name>sample string 2</Name>
</SmsCampaign>
</Data>
<Page>1</Page>
<PageSize>2</PageSize>
<TotalPages>2</TotalPages>
<TotalRecordCount>4</TotalRecordCount>
</PagedRecordsOfSmsCampaignN6Z2ZAXa>