POST VueApi/savePlat

保存布局

Request Information

URI Parameters

None.

Body Parameters

SavePlatReqModel
NameDescriptionTypeAdditional information
fLayoutId

integer

None.

list

Collection of PlatBlockDto

None.

Request Formats

application/json, text/json

Sample:
{
  "fLayoutId": 1,
  "list": [
    {
      "listComponent": [
        {
          "fIndex": 1,
          "fPlatTypeId": 2,
          "fPlatTypeName": "sample string 3",
          "fLayoutId": 4,
          "fBlockId": 5,
          "fHomeMsgId": 6,
          "fTitle": "sample string 7",
          "fHeight": 8
        },
        {
          "fIndex": 1,
          "fPlatTypeId": 2,
          "fPlatTypeName": "sample string 3",
          "fLayoutId": 4,
          "fBlockId": 5,
          "fHomeMsgId": 6,
          "fTitle": "sample string 7",
          "fHeight": 8
        }
      ],
      "fLayoutId": 1,
      "fBlockId": 2,
      "fIndex": 3,
      "fIsDefault": true,
      "fAlignType": 5,
      "fMaxColumn": 6
    },
    {
      "listComponent": [
        {
          "fIndex": 1,
          "fPlatTypeId": 2,
          "fPlatTypeName": "sample string 3",
          "fLayoutId": 4,
          "fBlockId": 5,
          "fHomeMsgId": 6,
          "fTitle": "sample string 7",
          "fHeight": 8
        },
        {
          "fIndex": 1,
          "fPlatTypeId": 2,
          "fPlatTypeName": "sample string 3",
          "fLayoutId": 4,
          "fBlockId": 5,
          "fHomeMsgId": 6,
          "fTitle": "sample string 7",
          "fHeight": 8
        }
      ],
      "fLayoutId": 1,
      "fBlockId": 2,
      "fIndex": 3,
      "fIsDefault": true,
      "fAlignType": 5,
      "fMaxColumn": 6
    }
  ]
}

application/xml, text/xml

Sample:
<SavePlatReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.Models.Vue">
  <fLayoutId>1</fLayoutId>
  <list xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
    <d2p1:PlatBlockDto>
      <fAlignType xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">5</fAlignType>
      <fBlockId xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">2</fBlockId>
      <fIndex xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">3</fIndex>
      <fIsDefault xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">true</fIsDefault>
      <fLayoutId xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">1</fLayoutId>
      <fMaxColumn xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">6</fMaxColumn>
      <d2p1:listComponent xmlns:d4p1="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">
        <d4p1:t_PlatComponent>
          <d4p1:fBlockId>5</d4p1:fBlockId>
          <d4p1:fHeight>8</d4p1:fHeight>
          <d4p1:fHomeMsgId>6</d4p1:fHomeMsgId>
          <d4p1:fIndex>1</d4p1:fIndex>
          <d4p1:fLayoutId>4</d4p1:fLayoutId>
          <d4p1:fPlatTypeId>2</d4p1:fPlatTypeId>
          <d4p1:fPlatTypeName>sample string 3</d4p1:fPlatTypeName>
          <d4p1:fTitle>sample string 7</d4p1:fTitle>
        </d4p1:t_PlatComponent>
        <d4p1:t_PlatComponent>
          <d4p1:fBlockId>5</d4p1:fBlockId>
          <d4p1:fHeight>8</d4p1:fHeight>
          <d4p1:fHomeMsgId>6</d4p1:fHomeMsgId>
          <d4p1:fIndex>1</d4p1:fIndex>
          <d4p1:fLayoutId>4</d4p1:fLayoutId>
          <d4p1:fPlatTypeId>2</d4p1:fPlatTypeId>
          <d4p1:fPlatTypeName>sample string 3</d4p1:fPlatTypeName>
          <d4p1:fTitle>sample string 7</d4p1:fTitle>
        </d4p1:t_PlatComponent>
      </d2p1:listComponent>
    </d2p1:PlatBlockDto>
    <d2p1:PlatBlockDto>
      <fAlignType xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">5</fAlignType>
      <fBlockId xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">2</fBlockId>
      <fIndex xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">3</fIndex>
      <fIsDefault xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">true</fIsDefault>
      <fLayoutId xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">1</fLayoutId>
      <fMaxColumn xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">6</fMaxColumn>
      <d2p1:listComponent xmlns:d4p1="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">
        <d4p1:t_PlatComponent>
          <d4p1:fBlockId>5</d4p1:fBlockId>
          <d4p1:fHeight>8</d4p1:fHeight>
          <d4p1:fHomeMsgId>6</d4p1:fHomeMsgId>
          <d4p1:fIndex>1</d4p1:fIndex>
          <d4p1:fLayoutId>4</d4p1:fLayoutId>
          <d4p1:fPlatTypeId>2</d4p1:fPlatTypeId>
          <d4p1:fPlatTypeName>sample string 3</d4p1:fPlatTypeName>
          <d4p1:fTitle>sample string 7</d4p1:fTitle>
        </d4p1:t_PlatComponent>
        <d4p1:t_PlatComponent>
          <d4p1:fBlockId>5</d4p1:fBlockId>
          <d4p1:fHeight>8</d4p1:fHeight>
          <d4p1:fHomeMsgId>6</d4p1:fHomeMsgId>
          <d4p1:fIndex>1</d4p1:fIndex>
          <d4p1:fLayoutId>4</d4p1:fLayoutId>
          <d4p1:fPlatTypeId>2</d4p1:fPlatTypeId>
          <d4p1:fPlatTypeName>sample string 3</d4p1:fPlatTypeName>
          <d4p1:fTitle>sample string 7</d4p1:fTitle>
        </d4p1:t_PlatComponent>
      </d2p1:listComponent>
    </d2p1:PlatBlockDto>
  </list>
</SavePlatReqModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResModel
NameDescriptionTypeAdditional information
error

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "error": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.VueApi">
  <Msg>sample string 2</Msg>
  <error>1</error>
</ResModel>