POST UserRole/loadAccessFieldObject

字段权限:加载授权

Request Information

URI Parameters

None.

Body Parameters

LoadFieldRightReqModel
NameDescriptionTypeAdditional information
fType

integer

None.

fObjectId

integer

None.

fBillTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "fType": 1,
  "fObjectId": 2,
  "fBillTypeId": 3
}

application/xml, text/xml

Sample:
<LoadFieldRightReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel">
  <fBillTypeId>3</fBillTypeId>
  <fObjectId>2</fObjectId>
  <fType>1</fType>
</LoadFieldRightReqModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AccessFieldObjectResModel
NameDescriptionTypeAdditional information
result

Collection of AccessFieldObjectDto

None.

error

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": [
    {
      "fPageIndex": 1,
      "fFieldName": "sample string 2",
      "fVisible": true,
      "fEnable": true,
      "fCaption": "sample string 5"
    },
    {
      "fPageIndex": 1,
      "fFieldName": "sample string 2",
      "fVisible": true,
      "fEnable": true,
      "fCaption": "sample string 5"
    }
  ],
  "error": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<AccessFieldObjectResModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Visual">
  <Msg>sample string 2</Msg>
  <error>1</error>
  <result xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
    <d2p1:AccessFieldObjectDto>
      <d2p1:fCaption>sample string 5</d2p1:fCaption>
      <d2p1:fEnable>true</d2p1:fEnable>
      <d2p1:fFieldName>sample string 2</d2p1:fFieldName>
      <d2p1:fPageIndex>1</d2p1:fPageIndex>
      <d2p1:fVisible>true</d2p1:fVisible>
    </d2p1:AccessFieldObjectDto>
    <d2p1:AccessFieldObjectDto>
      <d2p1:fCaption>sample string 5</d2p1:fCaption>
      <d2p1:fEnable>true</d2p1:fEnable>
      <d2p1:fFieldName>sample string 2</d2p1:fFieldName>
      <d2p1:fPageIndex>1</d2p1:fPageIndex>
      <d2p1:fVisible>true</d2p1:fVisible>
    </d2p1:AccessFieldObjectDto>
  </result>
</AccessFieldObjectResModel>