POST Visual/SaveDsnModel

设计模型列表保存

Request Information

URI Parameters

None.

Body Parameters

DbDsnModelSaveDto
NameDescriptionTypeAdditional information
fAccessTypeId

integer

None.

fAccessId

integer

None.

fInterId

integer

None.

fName

string

None.

fIsDraft

boolean

None.

fLastModifyTime

date

None.

fBillTypeId

integer

None.

fBillTypeIdLvl1

integer

None.

fMainTreeKey

string

None.

fBgColor

string

None.

fBgImage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "fAccessTypeId": 1,
  "fAccessId": 2,
  "fInterId": 3,
  "fName": "sample string 4",
  "fIsDraft": true,
  "fLastModifyTime": "2026-04-21T19:17:59.9416721+08:00",
  "fBillTypeId": 7,
  "fBillTypeIdLvl1": 8,
  "fMainTreeKey": "sample string 9",
  "fBgColor": "sample string 10",
  "fBgImage": "sample string 11"
}

application/xml, text/xml

Sample:
<DbDsnModelSaveDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.Dto">
  <fBgColor xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">sample string 10</fBgColor>
  <fBgImage xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">sample string 11</fBgImage>
  <fBillTypeId xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">7</fBillTypeId>
  <fBillTypeIdLvl1 xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">8</fBillTypeIdLvl1>
  <fInterId xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">3</fInterId>
  <fIsDraft xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">true</fIsDraft>
  <fLastModifyTime xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">2026-04-21T19:17:59.9416721+08:00</fLastModifyTime>
  <fMainTreeKey xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">sample string 9</fMainTreeKey>
  <fName xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.DbEntity">sample string 4</fName>
  <fAccessId>2</fAccessId>
  <fAccessTypeId>1</fAccessTypeId>
</DbDsnModelSaveDto>

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>