POST api/campaigns/save
Request Information
URI Parameters
None.
Body Parameters
Campaign| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ParentId | integer |
None. |
|
| PluginId | integer |
None. |
|
| DefaultLanguageId | integer |
None. |
|
| Name | string |
None. |
|
| USSDString | string |
None. |
|
| ResumeWindow | integer |
None. |
|
| LimitType | LimitType |
None. |
|
| TransactionLimitValue | integer |
None. |
|
| TimeLimitValue | integer |
None. |
|
| TotalTransactionLimit | integer |
None. |
|
| IsEnabled | boolean |
None. |
|
| IsExpired | boolean |
None. |
|
| DateCreated | date |
None. |
|
| DateModified | date |
None. |
|
| DateToStart | date |
None. |
|
| DateToEnd | date |
None. |
|
| SqlServerId | integer |
None. |
|
| InitialCatalog | string |
None. |
|
| MirrorCatalog | string |
None. |
|
| IsMirrored | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"parentId": 1,
"pluginId": 2,
"defaultLanguageId": 3,
"name": "sample string 4",
"ussdString": "sample string 5",
"resumeWindow": 6,
"limitType": 0,
"transactionLimitValue": 1,
"timeLimitValue": 1,
"totalTransactionLimit": 1,
"isEnabled": true,
"isExpired": true,
"dateCreated": "2026-01-17T07:07:36.8400414+02:00",
"dateModified": "2026-01-17T07:07:36.8400414+02:00",
"dateToStart": "2026-01-17T07:07:36.8400414+02:00",
"dateToEnd": "2026-01-17T07:07:36.8400414+02:00",
"sqlServerId": 1,
"initialCatalog": "sample string 13",
"mirrorCatalog": "sample string 14",
"isMirrored": true
}
application/xml, text/xml
Sample:
<Campaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/USSDDomain.DAL.Objects"> <DateCreated>2026-01-17T07:07:36.8400414+02:00</DateCreated> <DateModified>2026-01-17T07:07:36.8400414+02:00</DateModified> <DateToEnd>2026-01-17T07:07:36.8400414+02:00</DateToEnd> <DateToStart>2026-01-17T07:07:36.8400414+02:00</DateToStart> <DefaultLanguageId>3</DefaultLanguageId> <Id>1</Id> <InitialCatalog>sample string 13</InitialCatalog> <IsEnabled>true</IsEnabled> <IsExpired>true</IsExpired> <IsMirrored>true</IsMirrored> <LimitType>None</LimitType> <MirrorCatalog>sample string 14</MirrorCatalog> <Name>sample string 4</Name> <ParentId>1</ParentId> <PluginId>2</PluginId> <ResumeWindow>6</ResumeWindow> <SqlServerId>1</SqlServerId> <TimeLimitValue>1</TimeLimitValue> <TotalTransactionLimit>1</TotalTransactionLimit> <TransactionLimitValue>1</TransactionLimitValue> <USSDString>sample string 5</USSDString> </Campaign>
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.