POST VueApi/saveQueryPlan
保存高级过滤查询方案
Request Information
URI Parameters
None.
Body Parameters
QueryPlanSuperReqModel| Name | Description | Type | Additional information |
|---|---|---|---|
| fPlanId | integer |
None. |
|
| fName | string |
None. |
|
| super | boolean |
None. |
|
| fClassId | string |
None. |
|
| superListCond | Collection of QueryPlanReqModelDic |
None. |
|
| listCond | Collection of QueryCondReqModelDic |
None. |
|
| listDetail | Collection of QueryDetail |
None. |
|
| listStatus | Collection of QueryPlanStatusReqModelDic |
None. |
|
| autosave | boolean |
None. |
|
| cache | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"fPlanId": 1,
"fName": "sample string 2",
"super": true,
"fClassId": "sample string 4",
"superListCond": [
{
"fPageIndex": 1,
"super": true,
"left": "sample string 3",
"key": "sample string 4",
"fIsVariable": true,
"value": {},
"right": "sample string 7",
"logic": "sample string 8",
"caption": "sample string 9",
"fListCtlType": 10,
"fScale": "sample string 11",
"sqlValue": "sample string 12",
"opt": "sample string 13",
"fNeedValue": true
},
{
"fPageIndex": 1,
"super": true,
"left": "sample string 3",
"key": "sample string 4",
"fIsVariable": true,
"value": {},
"right": "sample string 7",
"logic": "sample string 8",
"caption": "sample string 9",
"fListCtlType": 10,
"fScale": "sample string 11",
"sqlValue": "sample string 12",
"opt": "sample string 13",
"fNeedValue": true
}
],
"listCond": [
{
"fPageIndex": 1,
"fFieldName": "sample string 2",
"value": {},
"sqlValue": "sample string 4",
"opt": "sample string 5",
"fNeedValue": true
},
{
"fPageIndex": 1,
"fFieldName": "sample string 2",
"value": {},
"sqlValue": "sample string 4",
"opt": "sample string 5",
"fNeedValue": true
}
],
"listDetail": [
{
"fPageIndex": "sample string 1",
"fName": "sample string 2",
"fCheck": "sample string 3",
"fIsEntry": true,
"fMustCheck": true
},
{
"fPageIndex": "sample string 1",
"fName": "sample string 2",
"fCheck": "sample string 3",
"fIsEntry": true,
"fMustCheck": true
}
],
"listStatus": [
{
"fKey": "sample string 1",
"fValue": "sample string 2"
},
{
"fKey": "sample string 1",
"fValue": "sample string 2"
}
],
"autosave": true,
"cache": "sample string 6"
}
application/xml, text/xml
Sample:
<QueryPlanSuperReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.Models.Vue">
<autosave>true</autosave>
<cache>sample string 6</cache>
<fClassId>sample string 4</fClassId>
<fName>sample string 2</fName>
<fPlanId>1</fPlanId>
<listCond xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:QueryCondReqModelDic>
<d2p1:fFieldName>sample string 2</d2p1:fFieldName>
<d2p1:fNeedValue>true</d2p1:fNeedValue>
<d2p1:fPageIndex>1</d2p1:fPageIndex>
<d2p1:opt>sample string 5</d2p1:opt>
<d2p1:sqlValue>sample string 4</d2p1:sqlValue>
<d2p1:value />
</d2p1:QueryCondReqModelDic>
<d2p1:QueryCondReqModelDic>
<d2p1:fFieldName>sample string 2</d2p1:fFieldName>
<d2p1:fNeedValue>true</d2p1:fNeedValue>
<d2p1:fPageIndex>1</d2p1:fPageIndex>
<d2p1:opt>sample string 5</d2p1:opt>
<d2p1:sqlValue>sample string 4</d2p1:sqlValue>
<d2p1:value />
</d2p1:QueryCondReqModelDic>
</listCond>
<listDetail xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:QueryDetail>
<d2p1:fCheck>sample string 3</d2p1:fCheck>
<d2p1:fIsEntry>true</d2p1:fIsEntry>
<d2p1:fMustCheck>true</d2p1:fMustCheck>
<d2p1:fName>sample string 2</d2p1:fName>
<d2p1:fPageIndex>sample string 1</d2p1:fPageIndex>
</d2p1:QueryDetail>
<d2p1:QueryDetail>
<d2p1:fCheck>sample string 3</d2p1:fCheck>
<d2p1:fIsEntry>true</d2p1:fIsEntry>
<d2p1:fMustCheck>true</d2p1:fMustCheck>
<d2p1:fName>sample string 2</d2p1:fName>
<d2p1:fPageIndex>sample string 1</d2p1:fPageIndex>
</d2p1:QueryDetail>
</listDetail>
<listStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:QueryPlanStatusReqModelDic>
<d2p1:fKey>sample string 1</d2p1:fKey>
<d2p1:fValue>sample string 2</d2p1:fValue>
</d2p1:QueryPlanStatusReqModelDic>
<d2p1:QueryPlanStatusReqModelDic>
<d2p1:fKey>sample string 1</d2p1:fKey>
<d2p1:fValue>sample string 2</d2p1:fValue>
</d2p1:QueryPlanStatusReqModelDic>
</listStatus>
<super>true</super>
<superListCond xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
<d2p1:QueryPlanReqModelDic>
<d2p1:caption>sample string 9</d2p1:caption>
<d2p1:fIsVariable>true</d2p1:fIsVariable>
<d2p1:fListCtlType>10</d2p1:fListCtlType>
<d2p1:fNeedValue>true</d2p1:fNeedValue>
<d2p1:fPageIndex>1</d2p1:fPageIndex>
<d2p1:fScale>sample string 11</d2p1:fScale>
<d2p1:key>sample string 4</d2p1:key>
<d2p1:left>sample string 3</d2p1:left>
<d2p1:logic>sample string 8</d2p1:logic>
<d2p1:opt>sample string 13</d2p1:opt>
<d2p1:right>sample string 7</d2p1:right>
<d2p1:sqlValue>sample string 12</d2p1:sqlValue>
<d2p1:super>true</d2p1:super>
<d2p1:value />
</d2p1:QueryPlanReqModelDic>
<d2p1:QueryPlanReqModelDic>
<d2p1:caption>sample string 9</d2p1:caption>
<d2p1:fIsVariable>true</d2p1:fIsVariable>
<d2p1:fListCtlType>10</d2p1:fListCtlType>
<d2p1:fNeedValue>true</d2p1:fNeedValue>
<d2p1:fPageIndex>1</d2p1:fPageIndex>
<d2p1:fScale>sample string 11</d2p1:fScale>
<d2p1:key>sample string 4</d2p1:key>
<d2p1:left>sample string 3</d2p1:left>
<d2p1:logic>sample string 8</d2p1:logic>
<d2p1:opt>sample string 13</d2p1:opt>
<d2p1:right>sample string 7</d2p1:right>
<d2p1:sqlValue>sample string 12</d2p1:sqlValue>
<d2p1:super>true</d2p1:super>
<d2p1:value />
</d2p1:QueryPlanReqModelDic>
</superListCond>
</QueryPlanSuperReqModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResModel| Name | Description | Type | Additional information |
|---|---|---|---|
| error | integer |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": 1,
"Msg": "sample string 2"
}
application/xml, text/xml
Sample:
<ResModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.VueApi"> <Msg>sample string 2</Msg> <error>1</error> </ResModel>