POST api/PM/SaveNewProjectTask

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProjectId": 2,
  "PhaseId": 3,
  "TempId": 1,
  "TaskCode": "sample string 4",
  "TaskTitle": "sample string 5",
  "TaskStartDate": "2021-10-27T00:00:00+02:00",
  "TaskEndDate": "2021-10-27T00:00:00+02:00",
  "Details": "sample string 8",
  "ProjectPhaseName": "sample string 9",
  "IsDefaultTask": true,
  "WorkItemWeight": 1.0,
  "Quantity": 1.0,
  "SellPrice": 1.0,
  "AchievedQuantity": 1.0,
  "UnitOfMeasure": 1,
  "PhaseCode": "sample string 11",
  "EmpId": 12,
  "InCT": "sample string 13",
  "Direction": "sample string 14"
}

application/xml, text/xml

Sample:
<Pro_VM_ProjectTasks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_Api.ModelsVM">
  <AchievedQuantity>1</AchievedQuantity>
  <Details>sample string 8</Details>
  <Direction>sample string 14</Direction>
  <EmpId>12</EmpId>
  <Id>1</Id>
  <InCT>sample string 13</InCT>
  <IsDefaultTask>true</IsDefaultTask>
  <PhaseCode>sample string 11</PhaseCode>
  <PhaseId>3</PhaseId>
  <ProjectId>2</ProjectId>
  <ProjectPhaseName>sample string 9</ProjectPhaseName>
  <Quantity>1</Quantity>
  <SellPrice>1</SellPrice>
  <TaskCode>sample string 4</TaskCode>
  <TaskEndDate>2021-10-27T00:00:00+02:00</TaskEndDate>
  <TaskStartDate>2021-10-27T00:00:00+02:00</TaskStartDate>
  <TaskTitle>sample string 5</TaskTitle>
  <TempId>1</TempId>
  <UnitOfMeasure>1</UnitOfMeasure>
  <WorkItemWeight>1</WorkItemWeight>
</Pro_VM_ProjectTasks>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Pro_VM_ProjectTasks'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>