PUT api/QueryField
Request Information
URI Parameters
None.
Body Parameters
QueryFieldEditViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Field | string |
None. |
|
| Value | string |
None. |
|
| ColorId | integer |
None. |
|
| AcceptableValue | integer |
None. |
|
| AcceptableTolerance | integer |
None. |
|
| Condition | integer |
None. |
|
| MinValue | integer |
None. |
|
| WarningValue | integer |
None. |
|
| DangerValue | integer |
None. |
|
| MaxValue | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Field": "sample string 2",
"Value": "sample string 3",
"ColorId": 4,
"AcceptableValue": 5,
"AcceptableTolerance": 6,
"Condition": 7,
"MinValue": 8,
"WarningValue": 9,
"DangerValue": 10,
"MaxValue": 11
}
application/xml, text/xml
Sample:
<QueryFieldEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dashboard.Models"> <AcceptableTolerance>6</AcceptableTolerance> <AcceptableValue>5</AcceptableValue> <ColorId>4</ColorId> <Condition>7</Condition> <DangerValue>10</DangerValue> <Field>sample string 2</Field> <Id>1</Id> <MaxValue>11</MaxValue> <MinValue>8</MinValue> <Value>sample string 3</Value> <WarningValue>9</WarningValue> </QueryFieldEditViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.