POST api/wf-designer/datafield/updatedatafield

Request Information

URI Parameters

None.

Body Parameters

DTOSYSWFDataField
NameDescriptionTypeAdditional information
WFDataFieldID

integer

None.

WFDataID

integer

None.

WFDataFieldSectionID

integer

None.

FieldName

string

None.

Caption

string

None.

DataType

string

None.

ControlType

string

None.

Format

string

None.

Size

integer

None.

TokenValue

string

None.

Required

boolean

None.

IsLookup

boolean

None.

LookupQueryID

integer

None.

LookupFieldValue

string

None.

LookupFieldDisplay

string

None.

IsCompute

boolean

None.

ComputeExpression

string

None.

IsSearchKey

boolean

None.

SearchQueryID

integer

None.

ImportSearchResult

boolean

None.

SearchResultMap

string

None.

Location

string

None.

FlagDeleted

boolean

None.

ConfigID

integer

None.

TabIndex

integer

None.

ImportTargetTable

string

None.

IsPersist

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "WFDataFieldID": 1,
  "WFDataID": 2,
  "WFDataFieldSectionID": 3,
  "FieldName": "sample string 4",
  "Caption": "sample string 5",
  "DataType": "sample string 6",
  "ControlType": "sample string 7",
  "Format": "sample string 8",
  "Size": 9,
  "TokenValue": "sample string 10",
  "Required": true,
  "IsLookup": true,
  "LookupQueryID": 13,
  "LookupFieldValue": "sample string 14",
  "LookupFieldDisplay": "sample string 15",
  "IsCompute": true,
  "ComputeExpression": "sample string 17",
  "IsSearchKey": true,
  "SearchQueryID": 19,
  "ImportSearchResult": true,
  "SearchResultMap": "sample string 21",
  "Location": "sample string 22",
  "FlagDeleted": true,
  "ConfigID": 24,
  "TabIndex": 25,
  "ImportTargetTable": "sample string 26",
  "IsPersist": true
}

application/xml, text/xml

Sample:
<DTOSYSWFDataField xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Caption>sample string 5</Caption>
  <ComputeExpression>sample string 17</ComputeExpression>
  <ConfigID>24</ConfigID>
  <ControlType>sample string 7</ControlType>
  <DataType>sample string 6</DataType>
  <FieldName>sample string 4</FieldName>
  <FlagDeleted>true</FlagDeleted>
  <Format>sample string 8</Format>
  <ImportSearchResult>true</ImportSearchResult>
  <ImportTargetTable>sample string 26</ImportTargetTable>
  <IsCompute>true</IsCompute>
  <IsLookup>true</IsLookup>
  <IsPersist>true</IsPersist>
  <IsSearchKey>true</IsSearchKey>
  <Location>sample string 22</Location>
  <LookupFieldDisplay>sample string 15</LookupFieldDisplay>
  <LookupFieldValue>sample string 14</LookupFieldValue>
  <LookupQueryID>13</LookupQueryID>
  <Required>true</Required>
  <SearchQueryID>19</SearchQueryID>
  <SearchResultMap>sample string 21</SearchResultMap>
  <Size>9</Size>
  <TabIndex>25</TabIndex>
  <TokenValue>sample string 10</TokenValue>
  <WFDataFieldID>1</WFDataFieldID>
  <WFDataFieldSectionID>3</WFDataFieldSectionID>
  <WFDataID>2</WFDataID>
</DTOSYSWFDataField>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DTOSYSWFDataField'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>