POST V2/Vote/GetList
Request Information
URI Parameters
None.
Body Parameters
VoteCondName | Description | Type | Additional information |
---|---|---|---|
PageInfo | PageInfo |
None. |
|
Key | string |
None. |
|
ClassId | globally unique identifier |
None. |
|
VoteKeys | Collection of string |
None. |
|
ClassKeys | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PageInfo": { "Page": 1, "PageSize": 2, "Offset": 0, "SortName": "sample string 3", "SortOrder": "sample string 4" }, "Key": "sample string 1", "ClassId": "251d9994-c8b4-4d7d-be8b-09d25aae7a9b", "VoteKeys": [ "sample string 1", "sample string 2" ], "ClassKeys": [ "sample string 1", "sample string 2" ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PageDataOfVoteItemViewName | Description | Type | Additional information |
---|---|---|---|
TotalPage | integer |
None. |
|
TotalRecord | integer |
None. |
|
Data | Collection of VoteItemView |
None. |
|
Page | integer |
None. |
|
PageSize | integer |
None. |
|
Offset | integer |
None. |
|
SortName | string |
None. |
|
SortOrder | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalPage": 1, "TotalRecord": 1, "Data": [ { "Id": "f4c970eb-ab0f-427f-bc70-8761fe5b25e7", "Name": "sample string 2", "Info": "sample string 3", "Image": "sample string 4", "Qty": 5, "VoteKey": "sample string 6", "Rand": 7, "L": 8, "VoteClass": { "Id": "9d6300e7-c5d7-4872-a28e-437058a64014", "ClassName": "sample string 2", "ClassLogo": "sample string 3", "Type": "sample string 4" } }, { "Id": "f4c970eb-ab0f-427f-bc70-8761fe5b25e7", "Name": "sample string 2", "Info": "sample string 3", "Image": "sample string 4", "Qty": 5, "VoteKey": "sample string 6", "Rand": 7, "L": 8, "VoteClass": { "Id": "9d6300e7-c5d7-4872-a28e-437058a64014", "ClassName": "sample string 2", "ClassLogo": "sample string 3", "Type": "sample string 4" } } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }