POST api/Project

Request Information

URI Parameters

None.

Body Parameters

ProjectModel
NameDescriptionTypeAdditional information
ProjectId

integer

None.

CompanyAccountId

integer

None.

ProjectCustomerId

integer

None.

ProjectName

string

None.

ProjectDescription

string

None.

ProjectStartDate

date

None.

ProjectEndDate

date

None.

ProjectStatusId

integer

None.

ProjectSortOrder

integer

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

CreatedAt

date

None.

ModifiedAt

date

None.

DeletedStatus

boolean

None.

ActiveStatus

boolean

None.

ProjectCustomerName

string

None.

ProjectTotalTasks

integer

None.

ProjectCompletedTasks

integer

None.

ProjectTasksEstimatedTotalMinutes

integer

None.

ProjectTasksTimeLogTotalMinutes

integer

None.

ProjectAssignedResourcesCount

integer

None.

ProjectTaskAssignedResourcesCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "CompanyAccountId": 2,
  "ProjectCustomerId": 3,
  "ProjectName": "sample string 4",
  "ProjectDescription": "sample string 5",
  "ProjectStartDate": "2020-11-28T16:12:52.9054463+00:00",
  "ProjectEndDate": "2020-11-28T16:12:52.9054463+00:00",
  "ProjectStatusId": 6,
  "ProjectSortOrder": 7,
  "CreatedBy": 8,
  "ModifiedBy": 9,
  "CreatedAt": "2020-11-28T16:12:52.9054463+00:00",
  "ModifiedAt": "2020-11-28T16:12:52.9054463+00:00",
  "DeletedStatus": true,
  "ActiveStatus": true,
  "ProjectCustomerName": "sample string 12",
  "ProjectTotalTasks": 13,
  "ProjectCompletedTasks": 14,
  "ProjectTasksEstimatedTotalMinutes": 15,
  "ProjectTasksTimeLogTotalMinutes": 16,
  "ProjectAssignedResourcesCount": 17,
  "ProjectTaskAssignedResourcesCount": 18
}

application/xml, text/xml

Sample:
<ProjectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.Business.Model">
  <ActiveStatus>true</ActiveStatus>
  <CompanyAccountId>2</CompanyAccountId>
  <CreatedAt>2020-11-28T16:12:52.9054463+00:00</CreatedAt>
  <CreatedBy>8</CreatedBy>
  <DeletedStatus>true</DeletedStatus>
  <ModifiedAt>2020-11-28T16:12:52.9054463+00:00</ModifiedAt>
  <ModifiedBy>9</ModifiedBy>
  <ProjectAssignedResourcesCount>17</ProjectAssignedResourcesCount>
  <ProjectCompletedTasks>14</ProjectCompletedTasks>
  <ProjectCustomerId>3</ProjectCustomerId>
  <ProjectCustomerName>sample string 12</ProjectCustomerName>
  <ProjectDescription>sample string 5</ProjectDescription>
  <ProjectEndDate>2020-11-28T16:12:52.9054463+00:00</ProjectEndDate>
  <ProjectId>1</ProjectId>
  <ProjectName>sample string 4</ProjectName>
  <ProjectSortOrder>7</ProjectSortOrder>
  <ProjectStartDate>2020-11-28T16:12:52.9054463+00:00</ProjectStartDate>
  <ProjectStatusId>6</ProjectStatusId>
  <ProjectTaskAssignedResourcesCount>18</ProjectTaskAssignedResourcesCount>
  <ProjectTasksEstimatedTotalMinutes>15</ProjectTasksEstimatedTotalMinutes>
  <ProjectTasksTimeLogTotalMinutes>16</ProjectTasksTimeLogTotalMinutes>
  <ProjectTotalTasks>13</ProjectTotalTasks>
</ProjectModel>

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.