PUT api/schemas/{schema}/fields/{fieldId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
schema

string

Required

fieldId

integer

Required

Body Parameters

ApplicationFieldViewModel
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

fieldId

string

None.

sequence

integer

None.

fieldValue

string

None.

displayText

string

None.

typeId

integer

None.

type

MasterCollectionViewModel

None.

length

integer

None.

mandatory

boolean

None.

errorText

string

None.

isDeleteAllowed

boolean

None.

metadata

string

None.

isFilter

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "fieldId": "sample string 3",
  "sequence": 4,
  "fieldValue": "sample string 5",
  "displayText": "sample string 6",
  "typeId": 7,
  "type": {
    "id": 1,
    "value": "sample string 2",
    "Type": "sample string 3"
  },
  "length": 8,
  "mandatory": true,
  "errorText": "sample string 10",
  "isDeleteAllowed": true,
  "metadata": "sample string 12",
  "isFilter": true
}

application/xml, text/xml

Sample:
<ApplicationFieldViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolERP.API.ViewModels.Common">
  <displayText>sample string 6</displayText>
  <errorText>sample string 10</errorText>
  <fieldId>sample string 3</fieldId>
  <fieldValue>sample string 5</fieldValue>
  <id>1</id>
  <isDeleteAllowed>true</isDeleteAllowed>
  <isFilter>true</isFilter>
  <length>8</length>
  <mandatory>true</mandatory>
  <metadata>sample string 12</metadata>
  <name>sample string 2</name>
  <sequence>4</sequence>
  <type>
    <Type>sample string 3</Type>
    <id>1</id>
    <value>sample string 2</value>
  </type>
  <typeId>7</typeId>
</ApplicationFieldViewModel>

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.