POST api/SysHomeSolution/GetHomeSolutionByModeID

Request Information

URI Parameters

None.

Body Parameters

SysHomeSolutionWhereDOM
NameDescriptionTypeAdditional information
CreateID

integer

None.

Account

string

None.

ModelId

integer

None.

Data

SysHomeSolutionDTO

None.

Status

integer

None.

StatusMessage

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CreateID": 1,
  "Account": "sample string 2",
  "ModelId": 3,
  "Data": {
    "Id": 1,
    "ModeID": 2,
    "ModeContent": "sample string 3",
    "IsObsoleted": true,
    "CreateId": 5,
    "CreateBy": "sample string 6",
    "CreateTime": "2019-03-20T10:44:54.8561421+08:00",
    "ModifyId": 8,
    "ModifyBy": "sample string 9",
    "ModifyTime": "2019-03-20T10:44:54.8561421+08:00",
    "ModeContents": [
      {
        "id": "sample string 1",
        "listsName": "sample string 2",
        "rowName": "sample string 3",
        "rowHeight": 4,
        "initComp": true,
        "compData": [
          {},
          {}
        ]
      },
      {
        "id": "sample string 1",
        "listsName": "sample string 2",
        "rowName": "sample string 3",
        "rowHeight": 4,
        "initComp": true,
        "compData": [
          {},
          {}
        ]
      }
    ],
    "ModeType": 11
  },
  "Status": 4,
  "StatusMessage": "sample string 5",
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<SysHomeSolutionWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <Account>sample string 2</Account>
  <CreateID>1</CreateID>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:CreateBy>sample string 6</d2p1:CreateBy>
    <d2p1:CreateId>5</d2p1:CreateId>
    <d2p1:CreateTime>2019-03-20T10:44:54.8561421+08:00</d2p1:CreateTime>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
    <d2p1:ModeContent>sample string 3</d2p1:ModeContent>
    <d2p1:ModeContents>
      <d2p1:SolutionModeContent>
        <d2p1:compData xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:compData>
        <d2p1:id>sample string 1</d2p1:id>
        <d2p1:initComp>true</d2p1:initComp>
        <d2p1:listsName>sample string 2</d2p1:listsName>
        <d2p1:rowHeight>4</d2p1:rowHeight>
        <d2p1:rowName>sample string 3</d2p1:rowName>
      </d2p1:SolutionModeContent>
      <d2p1:SolutionModeContent>
        <d2p1:compData xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:compData>
        <d2p1:id>sample string 1</d2p1:id>
        <d2p1:initComp>true</d2p1:initComp>
        <d2p1:listsName>sample string 2</d2p1:listsName>
        <d2p1:rowHeight>4</d2p1:rowHeight>
        <d2p1:rowName>sample string 3</d2p1:rowName>
      </d2p1:SolutionModeContent>
    </d2p1:ModeContents>
    <d2p1:ModeID>2</d2p1:ModeID>
    <d2p1:ModeType>11</d2p1:ModeType>
    <d2p1:ModifyBy>sample string 9</d2p1:ModifyBy>
    <d2p1:ModifyId>8</d2p1:ModifyId>
    <d2p1:ModifyTime>2019-03-20T10:44:54.8561421+08:00</d2p1:ModifyTime>
  </Data>
  <ModelId>3</ModelId>
  <Status>4</Status>
  <StatusMessage>sample string 5</StatusMessage>
</SysHomeSolutionWhereDOM>

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

Response Information

Resource Description

SysHomeSolutionWhereDOM
NameDescriptionTypeAdditional information
CreateID

integer

None.

Account

string

None.

ModelId

integer

None.

Data

SysHomeSolutionDTO

None.

Status

integer

None.

StatusMessage

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CreateID": 1,
  "Account": "sample string 2",
  "ModelId": 3,
  "Data": {
    "Id": 1,
    "ModeID": 2,
    "ModeContent": "sample string 3",
    "IsObsoleted": true,
    "CreateId": 5,
    "CreateBy": "sample string 6",
    "CreateTime": "2019-03-20T10:44:54.8873433+08:00",
    "ModifyId": 8,
    "ModifyBy": "sample string 9",
    "ModifyTime": "2019-03-20T10:44:54.8873433+08:00",
    "ModeContents": [
      {
        "id": "sample string 1",
        "listsName": "sample string 2",
        "rowName": "sample string 3",
        "rowHeight": 4,
        "initComp": true,
        "compData": [
          {},
          {}
        ]
      },
      {
        "id": "sample string 1",
        "listsName": "sample string 2",
        "rowName": "sample string 3",
        "rowHeight": 4,
        "initComp": true,
        "compData": [
          {},
          {}
        ]
      }
    ],
    "ModeType": 11
  },
  "Status": 4,
  "StatusMessage": "sample string 5",
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<SysHomeSolutionWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <Account>sample string 2</Account>
  <CreateID>1</CreateID>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:CreateBy>sample string 6</d2p1:CreateBy>
    <d2p1:CreateId>5</d2p1:CreateId>
    <d2p1:CreateTime>2019-03-20T10:44:54.8873433+08:00</d2p1:CreateTime>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
    <d2p1:ModeContent>sample string 3</d2p1:ModeContent>
    <d2p1:ModeContents>
      <d2p1:SolutionModeContent>
        <d2p1:compData xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:compData>
        <d2p1:id>sample string 1</d2p1:id>
        <d2p1:initComp>true</d2p1:initComp>
        <d2p1:listsName>sample string 2</d2p1:listsName>
        <d2p1:rowHeight>4</d2p1:rowHeight>
        <d2p1:rowName>sample string 3</d2p1:rowName>
      </d2p1:SolutionModeContent>
      <d2p1:SolutionModeContent>
        <d2p1:compData xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:compData>
        <d2p1:id>sample string 1</d2p1:id>
        <d2p1:initComp>true</d2p1:initComp>
        <d2p1:listsName>sample string 2</d2p1:listsName>
        <d2p1:rowHeight>4</d2p1:rowHeight>
        <d2p1:rowName>sample string 3</d2p1:rowName>
      </d2p1:SolutionModeContent>
    </d2p1:ModeContents>
    <d2p1:ModeID>2</d2p1:ModeID>
    <d2p1:ModeType>11</d2p1:ModeType>
    <d2p1:ModifyBy>sample string 9</d2p1:ModifyBy>
    <d2p1:ModifyId>8</d2p1:ModifyId>
    <d2p1:ModifyTime>2019-03-20T10:44:54.8873433+08:00</d2p1:ModifyTime>
  </Data>
  <ModelId>3</ModelId>
  <Status>4</Status>
  <StatusMessage>sample string 5</StatusMessage>
</SysHomeSolutionWhereDOM>