POST _api/AMTAPI/NewProject

Request Information

URI Parameters

None.

Body Parameters

ProjectReq
NameDescriptionTypeAdditional information
Name

string

None.

Createdby

string

None.

Dept

integer

None.

StartDate

date

None.

EndDate

date

None.

Resources

integer

None.

EstimatedBudget

decimal number

None.

ProjectCategory

string

None.

AuditCategory

string

None.

PlanRef

integer

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Createdby": "sample string 2",
  "Dept": 1,
  "StartDate": "2025-12-24T23:28:20.5054553-06:00",
  "EndDate": "2025-12-24T23:28:20.5054553-06:00",
  "Resources": 1,
  "EstimatedBudget": 1.0,
  "ProjectCategory": "sample string 3",
  "AuditCategory": "sample string 4",
  "PlanRef": 1,
  "Description": "sample string 5"
}

application/xml, text/xml

Sample:
<ProjectReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMTAPI.Models">
  <AuditCategory>sample string 4</AuditCategory>
  <Createdby>sample string 2</Createdby>
  <Dept>1</Dept>
  <Description>sample string 5</Description>
  <EndDate>2025-12-24T23:28:20.5054553-06:00</EndDate>
  <EstimatedBudget>1</EstimatedBudget>
  <Name>sample string 1</Name>
  <PlanRef>1</PlanRef>
  <ProjectCategory>sample string 3</ProjectCategory>
  <Resources>1</Resources>
  <StartDate>2025-12-24T23:28:20.5054553-06:00</StartDate>
</ProjectReq>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.