POST VueApi/getTreeTypeList

获取树分类

Request Information

URI Parameters

None.

Body Parameters

TreeTypeReqModel
NameDescriptionTypeAdditional information
fClassId

string

None.

fItemClassId

integer

None.

fGroupId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "fClassId": "sample string 1",
  "fItemClassId": 2,
  "fGroupId": 3
}

application/xml, text/xml

Sample:
<TreeTypeReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel">
  <fClassId>sample string 1</fClassId>
  <fGroupId>3</fGroupId>
  <fItemClassId>2</fItemClassId>
</TreeTypeReqModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TreeTypeModel
NameDescriptionTypeAdditional information
leftTree

Collection of LeftTreeType

None.

error

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "leftTree": [
    {
      "fName": "sample string 1",
      "fFieldName": "sample string 2",
      "fParentId": 3,
      "fBillTypeId": 4,
      "fGroupId": 5,
      "fItemClassId": 6
    },
    {
      "fName": "sample string 1",
      "fFieldName": "sample string 2",
      "fParentId": 3,
      "fBillTypeId": 4,
      "fGroupId": 5,
      "fItemClassId": 6
    }
  ],
  "error": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<TreeTypeModel 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>
  <leftTree xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
    <d2p1:LeftTreeType>
      <d2p1:fBillTypeId>4</d2p1:fBillTypeId>
      <d2p1:fFieldName>sample string 2</d2p1:fFieldName>
      <d2p1:fGroupId>5</d2p1:fGroupId>
      <d2p1:fItemClassId>6</d2p1:fItemClassId>
      <d2p1:fName>sample string 1</d2p1:fName>
      <d2p1:fParentId>3</d2p1:fParentId>
    </d2p1:LeftTreeType>
    <d2p1:LeftTreeType>
      <d2p1:fBillTypeId>4</d2p1:fBillTypeId>
      <d2p1:fFieldName>sample string 2</d2p1:fFieldName>
      <d2p1:fGroupId>5</d2p1:fGroupId>
      <d2p1:fItemClassId>6</d2p1:fItemClassId>
      <d2p1:fName>sample string 1</d2p1:fName>
      <d2p1:fParentId>3</d2p1:fParentId>
    </d2p1:LeftTreeType>
  </leftTree>
</TreeTypeModel>