POST api/CampaignTask/Post

Request Information

URI Parameters

None.

Body Parameters

CampaignTaskModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserProfileId

globally unique identifier

None.

AssignedTo

string

None.

Name

string

None.

CampaignName

string

None.

ProjectName

string

None.

Description

string

None.

Expenditures

integer

None.

StartDate

date

None.

EndDate

date

None.

Created

date

None.

Modified

date

None.

Deleted

date

None.

CampaignId

globally unique identifier

None.

ProjectId

globally unique identifier

None.

TaskStatusId

globally unique identifier

None.

Color

string

None.

Documents

integer

None.

TaskStatus

string

None.

TaskStatusColor

string

None.

AllDay

boolean

None.

NotificationUrl

string

None.

EstimatedHours

integer

None.

ActualHours

integer

None.

PriorityLevel

integer

None.

CompletionPercentage

integer

None.

PriorityLevelName

string

None.

ActualExpenditure

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "de3fa4b0-bb01-4d8e-a555-f98d9842d5a7",
  "UserProfileId": "f51e19ed-9eb1-4068-a70a-07c562eed2e0",
  "AssignedTo": "sample string 2",
  "Name": "sample string 3",
  "CampaignName": "sample string 4",
  "ProjectName": "sample string 5",
  "Description": "sample string 6",
  "Expenditures": 7,
  "StartDate": "2025-12-06T07:29:25.8012099+02:00",
  "EndDate": "2025-12-06T07:29:25.8012099+02:00",
  "Created": "2025-12-06T07:29:25.8012099+02:00",
  "Modified": "2025-12-06T07:29:25.8012099+02:00",
  "Deleted": "2025-12-06T07:29:25.8012099+02:00",
  "CampaignId": "ac14c75b-4601-49fc-bf9f-0ef3b0ad9ed9",
  "ProjectId": "067188af-a175-41e2-b7ca-c9c8cfa3701f",
  "TaskStatusId": "1587ca66-a186-4118-b00c-99fce9d4aecd",
  "Color": "sample string 14",
  "Documents": 15,
  "TaskStatus": "sample string 16",
  "TaskStatusColor": "sample string 17",
  "AllDay": true,
  "NotificationUrl": "sample string 19",
  "EstimatedHours": 1,
  "ActualHours": 1,
  "PriorityLevel": 20,
  "CompletionPercentage": 1,
  "PriorityLevelName": "sample string 21",
  "ActualExpenditure": 1.0
}

application/xml, text/xml

Sample:
<CampaignTaskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nozala.Model">
  <ActualExpenditure>1</ActualExpenditure>
  <ActualHours>1</ActualHours>
  <AllDay>true</AllDay>
  <AssignedTo>sample string 2</AssignedTo>
  <CampaignId>ac14c75b-4601-49fc-bf9f-0ef3b0ad9ed9</CampaignId>
  <CampaignName>sample string 4</CampaignName>
  <Color>sample string 14</Color>
  <CompletionPercentage>1</CompletionPercentage>
  <Created>2025-12-06T07:29:25.8012099+02:00</Created>
  <Deleted>2025-12-06T07:29:25.8012099+02:00</Deleted>
  <Description>sample string 6</Description>
  <Documents>15</Documents>
  <EndDate>2025-12-06T07:29:25.8012099+02:00</EndDate>
  <EstimatedHours>1</EstimatedHours>
  <Expenditures>7</Expenditures>
  <Id>de3fa4b0-bb01-4d8e-a555-f98d9842d5a7</Id>
  <Modified>2025-12-06T07:29:25.8012099+02:00</Modified>
  <Name>sample string 3</Name>
  <NotificationUrl>sample string 19</NotificationUrl>
  <PriorityLevel>20</PriorityLevel>
  <PriorityLevelName>sample string 21</PriorityLevelName>
  <ProjectId>067188af-a175-41e2-b7ca-c9c8cfa3701f</ProjectId>
  <ProjectName>sample string 5</ProjectName>
  <StartDate>2025-12-06T07:29:25.8012099+02:00</StartDate>
  <TaskStatus>sample string 16</TaskStatus>
  <TaskStatusColor>sample string 17</TaskStatusColor>
  <TaskStatusId>1587ca66-a186-4118-b00c-99fce9d4aecd</TaskStatusId>
  <UserProfileId>f51e19ed-9eb1-4068-a70a-07c562eed2e0</UserProfileId>
</CampaignTaskModel>

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.