POST api/Act/GetPageAction
获取分页
Request Information
URI Parameters
None.
Body Parameters
GetPageActionCommandName | Description | Type | Additional information |
---|---|---|---|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
OrderBy | string |
None. |
|
Keyword | string |
None. |
|
ExecutionResult | ServiceResult |
None. |
Request Formats
application/json, text/json
Sample:
{ "PageIndex": 1, "PageSize": 2, "OrderBy": "sample string 3", "Keyword": "sample string 4", "ExecutionResult": { "RetCode": 1, "Msg": "sample string 2", "Result": {} } }
text/xml
Sample:
<GetPageActionCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Act.Commands"> <ExecutionResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds"> <d2p1:Msg>sample string 2</d2p1:Msg> <d2p1:Result /> <d2p1:RetCode>1</d2p1:RetCode> </ExecutionResult> <Keyword xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds">sample string 4</Keyword> <OrderBy xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds">sample string 3</OrderBy> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds">1</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds">2</PageSize> </GetPageActionCommand>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResultName | Description | Type | Additional information |
---|---|---|---|
RetCode | integer |
None. |
|
Msg | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "RetCode": 1, "Msg": "sample string 2", "Result": {} }
text/xml
Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking"> <Msg>sample string 2</Msg> <Result /> <RetCode>1</RetCode> </ServiceResult>