POST api/TaskManagement/AddProject
Request Information
URI Parameters
None.
Body Parameters
tbl_ProjectName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
ProjectType | integer |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Value | string |
None. |
|
Descripition | string |
None. |
|
EntryDate | date |
None. |
|
UpdatedDate | date |
None. |
|
Createdby | integer |
None. |
|
Updatedby | integer |
None. |
|
CompanyID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "ProjectType": 1, "StartDate": "2025-01-10T21:53:26.0355581+04:00", "EndDate": "2025-01-10T21:53:26.0355581+04:00", "Value": "sample string 3", "Descripition": "sample string 4", "EntryDate": "2025-01-10T21:53:26.0355581+04:00", "UpdatedDate": "2025-01-10T21:53:26.0355581+04:00", "Createdby": 1, "Updatedby": 1, "CompanyID": 1 }
application/xml, text/xml
Sample:
<tbl_Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaskManagementServices.Models"> <CompanyID>1</CompanyID> <Createdby>1</Createdby> <Descripition>sample string 4</Descripition> <EndDate>2025-01-10T21:53:26.0355581+04:00</EndDate> <EntryDate>2025-01-10T21:53:26.0355581+04:00</EntryDate> <ID>1</ID> <Name>sample string 2</Name> <ProjectType>1</ProjectType> <StartDate>2025-01-10T21:53:26.0355581+04:00</StartDate> <UpdatedDate>2025-01-10T21:53:26.0355581+04:00</UpdatedDate> <Updatedby>1</Updatedby> <Value>sample string 3</Value> </tbl_Project>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |