POST api/AppSituation/GetTop1Data

Request Information

URI Parameters

None.

Body Parameters

AppSituationWhereDOM
NameDescriptionTypeAdditional information
DataSource

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DataSource": "sample string 1",
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<AppSituationWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <DataSource>sample string 1</DataSource>
</AppSituationWhereDOM>

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 'AppSituationWhereDOM'.

Response Information

Resource Description

AppSituationDTO
NameDescriptionTypeAdditional information
DataSource

string

None.

JsonData

string

None.

Id

编号

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DataSource": "sample string 1",
  "JsonData": "sample string 2",
  "Id": 3
}

application/xml, text/xml

Sample:
<AppSituationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 5</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2019-03-20T10:48:24.7780074+08:00</CreateTime>
  <Id>3</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 4</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2019-03-20T10:48:24.7780074+08:00</ModifyTime>
  <DataSource>sample string 1</DataSource>
  <JsonData>sample string 2</JsonData>
</AppSituationDTO>