POST api/QueryField/Field
Request Information
URI Parameters
None.
Body Parameters
QueryFieldAddViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| QueryId | integer |
None. |
|
| Field | string |
None. |
|
| Value | string |
None. |
|
| ColorId | integer |
None. |
|
| Condition | integer |
None. |
|
| MinValue | integer |
None. |
|
| WarningValue | integer |
None. |
|
| DangerValue | integer |
None. |
|
| MaxValue | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"QueryId": 1,
"Field": "sample string 2",
"Value": "sample string 3",
"ColorId": 4,
"Condition": 5,
"MinValue": 6,
"WarningValue": 7,
"DangerValue": 8,
"MaxValue": 9
}
application/xml, text/xml
Sample:
<QueryFieldAddViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dashboard.Models"> <ColorId>4</ColorId> <Condition>5</Condition> <DangerValue>8</DangerValue> <Field>sample string 2</Field> <MaxValue>9</MaxValue> <MinValue>6</MinValue> <QueryId>1</QueryId> <Value>sample string 3</Value> <WarningValue>7</WarningValue> </QueryFieldAddViewModel>
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.