POST api/Compaign/DeleteCompaign
Request Information
URI Parameters
None.
Body Parameters
Compaign| Name | Description | Type | Additional information |
|---|---|---|---|
| CompaignId | integer |
None. |
|
| CompaignName | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Description | string |
None. |
|
| status | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| TemplateId | integer |
None. |
|
| EmailId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompaignId": 1,
"CompaignName": "sample string 2",
"StartDate": "2025-12-21T09:02:16.9401045+00:00",
"EndDate": "2025-12-21T09:02:16.9401045+00:00",
"Description": "sample string 3",
"status": 1,
"CreatedBy": 1,
"CreatedDate": "2025-12-21T09:02:16.9401045+00:00",
"ModifiedBy": 1,
"ModifiedDate": "2025-12-21T09:02:16.9401045+00:00",
"TemplateId": 1,
"EmailId": 1
}
application/xml, text/xml
Sample:
<Compaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDPS"> <CompaignId>1</CompaignId> <CompaignName>sample string 2</CompaignName> <CreatedBy>1</CreatedBy> <CreatedDate>2025-12-21T09:02:16.9401045+00:00</CreatedDate> <Description>sample string 3</Description> <EmailId>1</EmailId> <EndDate>2025-12-21T09:02:16.9401045+00:00</EndDate> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-12-21T09:02:16.9401045+00:00</ModifiedDate> <StartDate>2025-12-21T09:02:16.9401045+00:00</StartDate> <TemplateId>1</TemplateId> <status>1</status> </Compaign>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| message | string |
None. |
|
| data | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.