POST api/v2/PlantSearch/Get
Request Information
URI Parameters
None.
Body Parameters
SearchModelName | Description | Type | Additional information |
---|---|---|---|
Key | string |
None. |
|
AreaCode | string |
None. |
|
VagueCount | integer |
None. |
|
PlantQueryType | PlantQueryType |
None. |
|
PlantEquipment | PlantEquipment |
None. |
|
PlantStatus | PlantStatus |
None. |
|
ModeOfContributions | Collection of ModeOfContribution |
None. |
|
ChangeModeOfContributions | ModeOfContribution |
None. |
|
PlantTypes | Collection of PlantType |
None. |
|
PlanCapacities | Collection of RangeModel |
None. |
|
Pager | ApiPager |
None. |
|
ModuleCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "key": "sample string 1", "areaCode": "sample string 2", "vagueCount": 3, "plantQueryType": 1, "plantEquipment": 0, "plantStatus": 0, "modeOfContributions": [ 1, 1 ], "changeModeOfContributions": 1, "plantTypes": [ 1, 1 ], "planCapacities": [ { "min": 1.1, "max": 2.1 }, { "min": 1.1, "max": 2.1 } ], "pager": { "pageIndex": 1, "pageSize": 2, "records": 3, "sidx": "sample string 4", "sord": "sample string 5", "totalPage": 2 }, "moduleCode": "sample string 4" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataListModelOfPlantPageResultModelName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
Page | ApiPager |
None. |
|
Cols | Collection of ApiColModel |
None. |
|
Rows | Collection of PlantPageResultModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "title": "sample string 1", "page": { "pageIndex": 1, "pageSize": 2, "records": 3, "sidx": "sample string 4", "sord": "sample string 5", "totalPage": 2 }, "cols": [ { "index": 1, "label": "sample string 2", "rowName": "sample string 3", "width": 4, "formatter": "sample string 5", "seletele": [ { "key": "sample string 1", "value": 2, "index": 3, "attribute": "sample string 4" }, { "key": "sample string 1", "value": 2, "index": 3, "attribute": "sample string 4" } ] }, { "index": 1, "label": "sample string 2", "rowName": "sample string 3", "width": 4, "formatter": "sample string 5", "seletele": [ { "key": "sample string 1", "value": 2, "index": 3, "attribute": "sample string 4" }, { "key": "sample string 1", "value": 2, "index": 3, "attribute": "sample string 4" } ] } ], "rows": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ] }