POST api/SysHomeSolution/AddSysHomeSolutionSubmit

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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-24T06:27:26.2768702+08:00",
  "ModifyId": 8,
  "ModifyBy": "sample string 9",
  "ModifyTime": "2019-05-24T06:27:26.2768702+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-24T06:27:26.2768702+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-24T06:27:26.2768702+08:00</ModifyTime>
</SysHomeSolutionDTO>

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

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>