POST api/Campaign/CreateCampaign

Request Information

URI Parameters

None.

Body Parameters

VMCampaign
NameDescriptionTypeAdditional information
Id

integer

None.

Officeid

integer

None.

Subject

string

None.

EmailContent

string

None.

CreatedDate

date

None.

IsDeleted

boolean

None.

tbCampaignDetails

Collection of VMCampaignDetail

None.

vMCampaignDetails

Collection of VMCampaignDetail

None.

SenderEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Officeid": 1,
  "Subject": "sample string 2",
  "EmailContent": "sample string 3",
  "CreatedDate": "2025-09-10T06:49:53.0890062+00:00",
  "IsDeleted": true,
  "tbCampaignDetails": [
    {
      "$id": "2",
      "Id": 1,
      "CampaignId": 1,
      "UserEmail": "sample string 2",
      "tbCampaign": {
        "$ref": "1"
      },
      "SenderName": "sample string 3",
      "SenderAccountName": "sample string 4"
    },
    {
      "$ref": "2"
    }
  ],
  "vMCampaignDetails": [
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "SenderEmail": "sample string 4"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.