GET api/SysHomeSolution/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

SysHomeSolutionDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ModeID

integer

None.

ModeContent

string

None.

IsObsoleted

boolean

None.

CreateId

integer

None.

CreateBy

string

None.

CreateTime

date

None.

ModifyId

integer

None.

ModifyBy

string

None.

ModifyTime

date

None.

ModeContents

Collection of SolutionModeContent

None.

ModeType

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ModeID": 2,
  "ModeContent": "sample string 3",
  "IsObsoleted": true,
  "CreateId": 5,
  "CreateBy": "sample string 6",
  "CreateTime": "2019-05-24T15:04:07.6363563+08:00",
  "ModifyId": 8,
  "ModifyBy": "sample string 9",
  "ModifyTime": "2019-05-24T15:04:07.6363563+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
}

application/xml, text/xml

Sample:
<SysHomeSolutionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 6</CreateBy>
  <CreateId>5</CreateId>
  <CreateTime>2019-05-24T15:04:07.6363563+08:00</CreateTime>
  <Id>1</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModeContent>sample string 3</ModeContent>
  <ModeContents>
    <SolutionModeContent>
      <compData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </compData>
      <id>sample string 1</id>
      <initComp>true</initComp>
      <listsName>sample string 2</listsName>
      <rowHeight>4</rowHeight>
      <rowName>sample string 3</rowName>
    </SolutionModeContent>
    <SolutionModeContent>
      <compData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </compData>
      <id>sample string 1</id>
      <initComp>true</initComp>
      <listsName>sample string 2</listsName>
      <rowHeight>4</rowHeight>
      <rowName>sample string 3</rowName>
    </SolutionModeContent>
  </ModeContents>
  <ModeID>2</ModeID>
  <ModeType>11</ModeType>
  <ModifyBy>sample string 9</ModifyBy>
  <ModifyId>8</ModifyId>
  <ModifyTime>2019-05-24T15:04:07.6363563+08:00</ModifyTime>
</SysHomeSolutionDTO>