POST api/Ems/GetPageExam

列表

Request Information

URI Parameters

None.

Body Parameters

GetPageExamCommand
NameDescriptionTypeAdditional information
UserId

string

None.

IsShowAll

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

OrderBy

string

None.

Keyword

string

None.

ExecutionResult

ServiceResult

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "IsShowAll": 2,
  "PageIndex": 3,
  "PageSize": 4,
  "OrderBy": "sample string 5",
  "Keyword": "sample string 6",
  "ExecutionResult": {
    "RetCode": 1,
    "Msg": "sample string 2",
    "Result": {}
  }
}

text/xml

Sample:
<GetPageExamCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Ems.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 6</Keyword>
  <OrderBy xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds">sample string 5</OrderBy>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds">3</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Tdf.Commanding.Cmds">4</PageSize>
  <IsShowAll>2</IsShowAll>
  <UserId>sample string 1</UserId>
</GetPageExamCommand>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetPageExamCommand'.

Response Information

Resource Description

ServiceResult
NameDescriptionTypeAdditional 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>