POST api/FunctionModule/tableInfoTest

Request Information

URI Parameters

None.

Body Parameters

pagedListOfFormAttrDTO
NameDescriptionTypeAdditional information
columns

Collection of Columns

None.

pageInfo

PageInfo

None.

data

Collection of FormAttrDTO

None.

selection

Collection of FormAttrDTO

None.

whereDom

NewWhereDom

None.

Request Formats

application/json, text/json

Sample:
{
  "columns": [
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    },
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    }
  ],
  "pageInfo": {
    "pageNum": 1,
    "numPerPage": 2,
    "total": 3,
    "size": "sample string 4"
  },
  "data": [
    {
      "FormAttrName": "sample string 1",
      "FormAttrRemark": "sample string 2",
      "Id": 3,
      "CreateBy": "sample string 5",
      "CreateTime": "2019-05-19T22:18:52.3231873+08:00"
    },
    {
      "FormAttrName": "sample string 1",
      "FormAttrRemark": "sample string 2",
      "Id": 3,
      "CreateBy": "sample string 5",
      "CreateTime": "2019-05-19T22:18:52.3231873+08:00"
    }
  ],
  "selection": [
    {
      "FormAttrName": "sample string 1",
      "FormAttrRemark": "sample string 2",
      "Id": 3,
      "CreateBy": "sample string 5",
      "CreateTime": "2019-05-19T22:18:52.3231873+08:00"
    },
    {
      "FormAttrName": "sample string 1",
      "FormAttrRemark": "sample string 2",
      "Id": 3,
      "CreateBy": "sample string 5",
      "CreateTime": "2019-05-19T22:18:52.3231873+08:00"
    }
  ],
  "whereDom": {
    "pageNum": 1,
    "numPerPage": 1,
    "text1": "sample string 1",
    "text2": "sample string 2",
    "text3": "sample string 3",
    "text4": "sample string 4",
    "text5": "sample string 5",
    "text6": "sample string 6",
    "text7": "sample string 7",
    "text8": "sample string 8",
    "text9": "sample string 9",
    "text10": "sample string 10"
  }
}

application/xml, text/xml

Sample:
<pagedListOfFormAttrDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Columns xmlns:d2p1="http://schemas.datacontract.org/2004/07/CommonTool">
    <d2p1:Columns>
      <d2p1:align>sample string 5</d2p1:align>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:title>sample string 2</d2p1:title>
      <d2p1:type>sample string 3</d2p1:type>
      <d2p1:value>sample string 6</d2p1:value>
      <d2p1:width>4</d2p1:width>
    </d2p1:Columns>
    <d2p1:Columns>
      <d2p1:align>sample string 5</d2p1:align>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:title>sample string 2</d2p1:title>
      <d2p1:type>sample string 3</d2p1:type>
      <d2p1:value>sample string 6</d2p1:value>
      <d2p1:width>4</d2p1:width>
    </d2p1:Columns>
  </Columns>
  <Data>
    <FormAttrDTO>
      <CreateBy>sample string 5</CreateBy>
      <CreateId>1</CreateId>
      <CreateTime>2019-05-19T22:18:52.3231873+08:00</CreateTime>
      <Id>3</Id>
      <IsObsoleted>true</IsObsoleted>
      <ModifyBy>sample string 4</ModifyBy>
      <ModifyId>1</ModifyId>
      <ModifyTime>2019-05-19T22:18:52.3231873+08:00</ModifyTime>
      <FormAttrName>sample string 1</FormAttrName>
      <FormAttrRemark>sample string 2</FormAttrRemark>
    </FormAttrDTO>
    <FormAttrDTO>
      <CreateBy>sample string 5</CreateBy>
      <CreateId>1</CreateId>
      <CreateTime>2019-05-19T22:18:52.3231873+08:00</CreateTime>
      <Id>3</Id>
      <IsObsoleted>true</IsObsoleted>
      <ModifyBy>sample string 4</ModifyBy>
      <ModifyId>1</ModifyId>
      <ModifyTime>2019-05-19T22:18:52.3231873+08:00</ModifyTime>
      <FormAttrName>sample string 1</FormAttrName>
      <FormAttrRemark>sample string 2</FormAttrRemark>
    </FormAttrDTO>
  </Data>
  <PageInfo>
    <NumPerPage>2</NumPerPage>
    <PageNum>1</PageNum>
    <Size>sample string 4</Size>
    <Total>3</Total>
  </PageInfo>
  <Selection>
    <FormAttrDTO>
      <CreateBy>sample string 5</CreateBy>
      <CreateId>1</CreateId>
      <CreateTime>2019-05-19T22:18:52.3231873+08:00</CreateTime>
      <Id>3</Id>
      <IsObsoleted>true</IsObsoleted>
      <ModifyBy>sample string 4</ModifyBy>
      <ModifyId>1</ModifyId>
      <ModifyTime>2019-05-19T22:18:52.3231873+08:00</ModifyTime>
      <FormAttrName>sample string 1</FormAttrName>
      <FormAttrRemark>sample string 2</FormAttrRemark>
    </FormAttrDTO>
    <FormAttrDTO>
      <CreateBy>sample string 5</CreateBy>
      <CreateId>1</CreateId>
      <CreateTime>2019-05-19T22:18:52.3231873+08:00</CreateTime>
      <Id>3</Id>
      <IsObsoleted>true</IsObsoleted>
      <ModifyBy>sample string 4</ModifyBy>
      <ModifyId>1</ModifyId>
      <ModifyTime>2019-05-19T22:18:52.3231873+08:00</ModifyTime>
      <FormAttrName>sample string 1</FormAttrName>
      <FormAttrRemark>sample string 2</FormAttrRemark>
    </FormAttrDTO>
  </Selection>
  <WhereDom>
    <NumPerPage>1</NumPerPage>
    <PageNum>1</PageNum>
    <text1>sample string 1</text1>
    <text10>sample string 10</text10>
    <text2>sample string 2</text2>
    <text3>sample string 3</text3>
    <text4>sample string 4</text4>
    <text5>sample string 5</text5>
    <text6>sample string 6</text6>
    <text7>sample string 7</text7>
    <text8>sample string 8</text8>
    <text9>sample string 9</text9>
  </WhereDom>
</pagedListOfFormAttrDTOpv1JTFkd>

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 'pagedList`1'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>