POST api/ProjectCampaign/Activate
Request Information
URI Parameters
None.
Body Parameters
ProjectCampaignModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Expenditures | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ProjectCampaignStatusId | globally unique identifier |
None. |
|
| ProjectCampaignStatusName | string |
None. |
|
| ProjectCampaignStatusColor | string |
None. |
|
| Created | date |
None. |
|
| Modified | date |
None. |
|
| Deleted | date |
None. |
|
| ProjectId | globally unique identifier |
None. |
|
| Tasks | integer |
None. |
|
| CompletedTasks | integer |
None. |
|
| CompletionPercentage | integer |
None. |
|
| ActualHours | integer |
None. |
|
| EstimatedHours | integer |
None. |
|
| ActualExpenditure | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "95765103-d840-4ab5-a8ce-6ffc8979a1cf",
"Name": "sample string 2",
"Description": "sample string 3",
"Expenditures": 4,
"StartDate": "2025-12-06T07:32:40.4327282+02:00",
"EndDate": "2025-12-06T07:32:40.4327282+02:00",
"ProjectCampaignStatusId": "33847c42-80af-4a84-b6e9-3da6976164b9",
"ProjectCampaignStatusName": "sample string 8",
"ProjectCampaignStatusColor": "sample string 9",
"Created": "2025-12-06T07:32:40.4327282+02:00",
"Modified": "2025-12-06T07:32:40.4327282+02:00",
"Deleted": "2025-12-06T07:32:40.4327282+02:00",
"ProjectId": "af00ea26-21d9-4cec-abdc-42863d58bbb2",
"Tasks": 14,
"CompletedTasks": 15,
"CompletionPercentage": 16,
"ActualHours": 1,
"EstimatedHours": 1,
"ActualExpenditure": 1.0
}
application/xml, text/xml
Sample:
<ProjectCampaignModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nozala.Model"> <ActualExpenditure>1</ActualExpenditure> <ActualHours>1</ActualHours> <CompletedTasks>15</CompletedTasks> <CompletionPercentage>16</CompletionPercentage> <Created>2025-12-06T07:32:40.4327282+02:00</Created> <Deleted>2025-12-06T07:32:40.4327282+02:00</Deleted> <Description>sample string 3</Description> <EndDate>2025-12-06T07:32:40.4327282+02:00</EndDate> <EstimatedHours>1</EstimatedHours> <Expenditures>4</Expenditures> <Id>95765103-d840-4ab5-a8ce-6ffc8979a1cf</Id> <Modified>2025-12-06T07:32:40.4327282+02:00</Modified> <Name>sample string 2</Name> <ProjectCampaignStatusColor>sample string 9</ProjectCampaignStatusColor> <ProjectCampaignStatusId>33847c42-80af-4a84-b6e9-3da6976164b9</ProjectCampaignStatusId> <ProjectCampaignStatusName>sample string 8</ProjectCampaignStatusName> <ProjectId>af00ea26-21d9-4cec-abdc-42863d58bbb2</ProjectId> <StartDate>2025-12-06T07:32:40.4327282+02:00</StartDate> <Tasks>14</Tasks> </ProjectCampaignModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |