POST Visual/SaveHF

保存页眉页脚模板

Request Information

URI Parameters

None.

Body Parameters

VisualSaveHFReqModel
NameDescriptionTypeAdditional information
fHfType

integer

None.

fObjectId

integer

None.

fName

string

None.

fHFId

integer

None.

list

Collection of t_DbHFEntry

None.

fIsSystem

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "fHfType": 1,
  "fObjectId": 2,
  "fName": "sample string 3",
  "fHFId": 4,
  "list": [
    {
      "fHFId": 1,
      "fKey": "sample string 2",
      "fEntry": 3,
      "fValue": "sample string 4",
      "fFontSize": 5,
      "fFontBold": true
    },
    {
      "fHFId": 1,
      "fKey": "sample string 2",
      "fEntry": 3,
      "fValue": "sample string 4",
      "fFontSize": 5,
      "fFontBold": true
    }
  ],
  "fIsSystem": true
}

application/xml, text/xml

Sample:
<VisualSaveHFReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.Models.Visual">
  <fHFId>4</fHFId>
  <fHfType>1</fHfType>
  <fIsSystem>true</fIsSystem>
  <fName>sample string 3</fName>
  <fObjectId>2</fObjectId>
  <list xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">
    <d2p1:t_DbHFEntry>
      <d2p1:fEntry>3</d2p1:fEntry>
      <d2p1:fFontBold>true</d2p1:fFontBold>
      <d2p1:fFontSize>5</d2p1:fFontSize>
      <d2p1:fHFId>1</d2p1:fHFId>
      <d2p1:fKey>sample string 2</d2p1:fKey>
      <d2p1:fValue>sample string 4</d2p1:fValue>
    </d2p1:t_DbHFEntry>
    <d2p1:t_DbHFEntry>
      <d2p1:fEntry>3</d2p1:fEntry>
      <d2p1:fFontBold>true</d2p1:fFontBold>
      <d2p1:fFontSize>5</d2p1:fFontSize>
      <d2p1:fHFId>1</d2p1:fHFId>
      <d2p1:fKey>sample string 2</d2p1:fKey>
      <d2p1:fValue>sample string 4</d2p1:fValue>
    </d2p1:t_DbHFEntry>
  </list>
</VisualSaveHFReqModel>

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>