POST api/Project/AddOrUpdateProject
Request Information
URI Parameters
None.
Body Parameters
Project| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
None. |
|
| ProjectName | string |
None. |
|
| ProjectType | string |
None. |
|
| ProjectDescription | string |
None. |
|
| Status | string |
None. |
|
| Department | string |
None. |
|
| ClientCompany | string |
None. |
|
| ProjectLeader | string |
None. |
|
| EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjectId": 1,
"ProjectName": "sample string 2",
"ProjectType": "sample string 3",
"ProjectDescription": "sample string 4",
"Status": "sample string 5",
"Department": "sample string 6",
"ClientCompany": "sample string 7",
"ProjectLeader": "sample string 8",
"EndDate": "2025-12-11T14:33:50.9423047+00:00"
}
text/html
Sample:
{"ProjectId":1,"ProjectName":"sample string 2","ProjectType":"sample string 3","ProjectDescription":"sample string 4","Status":"sample string 5","Department":"sample string 6","ClientCompany":"sample string 7","ProjectLeader":"sample string 8","EndDate":"2025-12-11T14:33:50.9423047+00:00"}
application/xml, text/xml
Sample:
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/izyLogicTimeManagementWebApi.Models"> <ClientCompany>sample string 7</ClientCompany> <Department>sample string 6</Department> <EndDate>2025-12-11T14:33:50.9423047+00:00</EndDate> <ProjectDescription>sample string 4</ProjectDescription> <ProjectId>1</ProjectId> <ProjectLeader>sample string 8</ProjectLeader> <ProjectName>sample string 2</ProjectName> <ProjectType>sample string 3</ProjectType> <Status>sample string 5</Status> </Project>
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. |