POST api/TaskManagement/AddField

Request Information

URI Parameters

None.

Body Parameters

tbl_Fieldwork
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

FieldType

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",
  "FieldType": 1,
  "StartDate": "2025-01-10T21:55:58.4336305+04:00",
  "EndDate": "2025-01-10T21:55:58.4336305+04:00",
  "Value": "sample string 3",
  "Descripition": "sample string 4",
  "EntryDate": "2025-01-10T21:55:58.4336305+04:00",
  "UpdatedDate": "2025-01-10T21:55:58.4336305+04:00",
  "Createdby": 1,
  "Updatedby": 1,
  "CompanyID": 1
}

application/xml, text/xml

Sample:
<tbl_Fieldwork 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:55:58.4336305+04:00</EndDate>
  <EntryDate>2025-01-10T21:55:58.4336305+04:00</EntryDate>
  <FieldType>1</FieldType>
  <ID>1</ID>
  <Name>sample string 2</Name>
  <StartDate>2025-01-10T21:55:58.4336305+04:00</StartDate>
  <UpdatedDate>2025-01-10T21:55:58.4336305+04:00</UpdatedDate>
  <Updatedby>1</Updatedby>
  <Value>sample string 3</Value>
</tbl_Fieldwork>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.