POST api/Projects/InsertProject
Request Information
URI Parameters
None.
Body Parameters
ProjectsBO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| IsExternal | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| Type | string |
None. |
|
| EstimatedHours | decimal number |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ProjectOwner | string |
None. |
|
| ProjectDescription | string |
None. |
|
| isUpdateProjectBudget | boolean |
None. |
|
| ProjectBudgetYear | date |
None. |
|
| ContractHours | decimal number |
None. |
|
| JanContract | decimal number |
None. |
|
| FebContract | decimal number |
None. |
|
| MarContract | decimal number |
None. |
|
| AprContract | decimal number |
None. |
|
| MayContract | decimal number |
None. |
|
| JunContract | decimal number |
None. |
|
| JulContract | decimal number |
None. |
|
| AugContract | decimal number |
None. |
|
| SepContract | decimal number |
None. |
|
| OctContract | decimal number |
None. |
|
| NovContract | decimal number |
None. |
|
| DecContract | decimal number |
None. |
|
| ClientID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"IsExternal": true,
"IsActive": true,
"Type": "sample string 5",
"EstimatedHours": 6.1,
"StartDate": "2025-12-16T10:48:12.9223908+01:00",
"EndDate": "2025-12-16T10:48:12.9223908+01:00",
"ProjectOwner": "sample string 7",
"ProjectDescription": "sample string 8",
"isUpdateProjectBudget": true,
"ProjectBudgetYear": "2025-12-16T10:48:12.9223908+01:00",
"ContractHours": 10.1,
"JanContract": 11.1,
"FebContract": 12.1,
"MarContract": 13.1,
"AprContract": 14.1,
"MayContract": 15.1,
"JunContract": 16.1,
"JulContract": 17.1,
"AugContract": 18.1,
"SepContract": 19.1,
"OctContract": 20.1,
"NovContract": 21.1,
"DecContract": 22.1,
"ClientID": 23
}
application/xml, text/xml
Sample:
<ProjectsBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DemoEFBO.Projects"> <AprContract>14.1</AprContract> <AugContract>18.1</AugContract> <ClientID>23</ClientID> <ContractHours>10.1</ContractHours> <DecContract>22.1</DecContract> <EndDate>2025-12-16T10:48:12.9223908+01:00</EndDate> <EstimatedHours>6.1</EstimatedHours> <FebContract>12.1</FebContract> <ID>1</ID> <IsActive>true</IsActive> <IsExternal>true</IsExternal> <JanContract>11.1</JanContract> <JulContract>17.1</JulContract> <JunContract>16.1</JunContract> <MarContract>13.1</MarContract> <MayContract>15.1</MayContract> <Name>sample string 2</Name> <NovContract>21.1</NovContract> <OctContract>20.1</OctContract> <ProjectBudgetYear>2025-12-16T10:48:12.9223908+01:00</ProjectBudgetYear> <ProjectDescription>sample string 8</ProjectDescription> <ProjectOwner>sample string 7</ProjectOwner> <SepContract>19.1</SepContract> <StartDate>2025-12-16T10:48:12.9223908+01:00</StartDate> <Type>sample string 5</Type> <isUpdateProjectBudget>true</isUpdateProjectBudget> </ProjectsBO>
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. |