POST api/PM/SaveNewProjectPhase

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,
  "PhaseCode": "sample string 3",
  "PhaseTitle": "sample string 4",
  "PhaseStartDate": "2025-03-14T08:30:46.4008837+02:00",
  "PhaseEndDate": "2025-03-14T08:30:46.4008837+02:00",
  "Weight": 1.0,
  "Hours": 1.0,
  "Percentage": 5.0,
  "LimitedOrNot": true,
  "EmpId": 6,
  "InCT": "sample string 7",
  "Direction": "sample string 8"
}

application/xml, text/xml

Sample:
<Pro_VM_ProjectPhases xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_Api.ModelsVM">
  <Direction>sample string 8</Direction>
  <EmpId>6</EmpId>
  <Hours>1</Hours>
  <Id>1</Id>
  <InCT>sample string 7</InCT>
  <LimitedOrNot>true</LimitedOrNot>
  <Percentage>5</Percentage>
  <PhaseCode>sample string 3</PhaseCode>
  <PhaseEndDate>2025-03-14T08:30:46.4008837+02:00</PhaseEndDate>
  <PhaseStartDate>2025-03-14T08:30:46.4008837+02:00</PhaseStartDate>
  <PhaseTitle>sample string 4</PhaseTitle>
  <ProjectId>2</ProjectId>
  <Weight>1</Weight>
</Pro_VM_ProjectPhases>

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_ProjectPhases'.

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>