PUT api/Field

Request Information

URI Parameters

None.

Body Parameters

FieldEditViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

TableId

integer

None.

Title

string

None.

FieldName

string

None.

FieldType

integer

None.

CalendarType

integer

None.

Length

integer

None.

RefTableId

integer

None.

RefFieldShow

string

None.

IsActive

boolean

None.

IsValue

boolean

None.

IsTitle

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TableId": 2,
  "Title": "sample string 3",
  "FieldName": "sample string 4",
  "FieldType": 5,
  "CalendarType": 6,
  "Length": 7,
  "RefTableId": 8,
  "RefFieldShow": "sample string 9",
  "IsActive": true,
  "IsValue": true,
  "IsTitle": true
}

application/xml, text/xml

Sample:
<FieldEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dashboard.Models">
  <CalendarType>6</CalendarType>
  <FieldName>sample string 4</FieldName>
  <FieldType>5</FieldType>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsTitle>true</IsTitle>
  <IsValue>true</IsValue>
  <Length>7</Length>
  <RefFieldShow>sample string 9</RefFieldShow>
  <RefTableId>8</RefTableId>
  <TableId>2</TableId>
  <Title>sample string 3</Title>
</FieldEditViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.