CampaignTemplateController
Base route: marketing/campaign/template
| Namespace | Axiom.App.Marketing.Api |
|---|---|
| Base Route | marketing/campaign/template |
| Security | SalesProfessional, SalesEssential |
Endpoints
| Method | Route | Method Name | Parameters | Return Type |
|---|---|---|---|---|
| Get | marketing/campaign/template/lists/{Id:int} |
GetList | id: int, searchText: string, skip: int, limit: int, tags: List<string>, orderBy: string, direction: string, filters: string | List |
| Get | marketing/campaign/template/form/{form}/ |
GetForm | form: string | DocumentForm |
| Get | marketing/campaign/template/{campaignTemplateId:int} |
Get | campaignTemplateId: int | CampaignTemplate |
| Post | marketing/campaign/template/new |
Post | campaignTemplate: CampaignTemplate | int |
| Put | marketing/campaign/template |
Update | campaignTemplate: CampaignTemplate | int |
| Delete | marketing/campaign/template/{Id:int} |
Delete | Id: int | bool |
| Post | marketing/campaign/template/deleteselected |
DeleteSelected | selectedIds: List<int> | bool |
Detailed Endpoint Information
Get
marketing/campaign/template/lists/{Id:int}
GetList
Return Type
List
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
id |
int |
Query | No |
searchText |
string |
Query | No |
skip |
int |
Query | No |
limit |
int |
Query | No |
tags |
List<string> |
FromQuery | No |
orderBy |
string |
Query | No |
direction |
string |
Query | No |
filters |
string |
Query | No |
Get
marketing/campaign/template/form/{form}/
GetForm
Return Type
DocumentForm
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
form |
string |
Query | No |
Get
marketing/campaign/template/{campaignTemplateId:int}
Get
Return Type
CampaignTemplate
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
campaignTemplateId |
int |
Query | No |
Post
marketing/campaign/template/new
Post
Return Type
int
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
campaignTemplate |
CampaignTemplate |
FromBody | No |
Put
marketing/campaign/template
Update
Return Type
int
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
campaignTemplate |
CampaignTemplate |
FromBody | No |
Delete
marketing/campaign/template/{Id:int}
Delete
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
Id |
int |
Query | No |
Post
marketing/campaign/template/deleteselected
DeleteSelected
Return Type
bool
Parameters
| Name | Type | Source | Optional |
|---|---|---|---|
selectedIds |
List<int> |
FromBody | No |