POST api/report/save
Request Information
URI Parameters
None.
Body Parameters
ReportSchedule| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| CompanyId | integer |
None. |
|
| PluginId | integer |
None. |
|
| CampaignId | integer |
None. |
|
| SearchStartDate | date |
None. |
|
| SearchEndDate | date |
None. |
|
| ReportStartDate | date |
None. |
|
| ReportEndDate | date |
None. |
|
| ToAddresses | string |
None. |
|
| CcAddresses | string |
None. |
|
| BccAddresses | string |
None. |
|
| ReportType | ReportType |
None. |
|
| SendInterval | SendInterval |
None. |
|
| DynamicInterval | string |
None. |
|
| LastSentStamp | date |
None. |
|
| IsEnabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"subject": "sample string 3",
"body": "sample string 4",
"companyId": 5,
"pluginId": 6,
"campaignId": 7,
"searchStartDate": "2026-01-17T07:06:28.184501+02:00",
"searchEndDate": "2026-01-17T07:06:28.184501+02:00",
"reportStartDate": "2026-01-17T07:06:28.184501+02:00",
"reportEndDate": "2026-01-17T07:06:28.184501+02:00",
"toAddresses": "sample string 10",
"ccAddresses": "sample string 11",
"bccAddresses": "sample string 12",
"reportType": 1,
"sendInterval": 1,
"dynamicInterval": "sample string 13",
"lastSentStamp": "2026-01-17T07:06:28.184501+02:00",
"isEnabled": true
}
application/xml, text/xml
Sample:
<ReportSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/USSDDomain.DAL.Objects"> <BccAddresses>sample string 12</BccAddresses> <Body>sample string 4</Body> <CampaignId>7</CampaignId> <CcAddresses>sample string 11</CcAddresses> <CompanyId>5</CompanyId> <DynamicInterval>sample string 13</DynamicInterval> <Id>1</Id> <IsEnabled>true</IsEnabled> <LastSentStamp>2026-01-17T07:06:28.184501+02:00</LastSentStamp> <Name>sample string 2</Name> <PluginId>6</PluginId> <ReportEndDate>2026-01-17T07:06:28.184501+02:00</ReportEndDate> <ReportStartDate>2026-01-17T07:06:28.184501+02:00</ReportStartDate> <ReportType>TransactionAll</ReportType> <SearchEndDate>2026-01-17T07:06:28.184501+02:00</SearchEndDate> <SearchStartDate>2026-01-17T07:06:28.184501+02:00</SearchStartDate> <SendInterval>Hourly</SendInterval> <Subject>sample string 3</Subject> <ToAddresses>sample string 10</ToAddresses> </ReportSchedule>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.