GET api/package/attr/{lang}?parentId={parentId}

获取属性列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

语言(zh-hk,zh-cn,en-us....)

string

Required

parentId

父节点

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取属性列表

ReturnResultOfListOfPackageAttrbuteContract
NameDescriptionTypeAdditional information
data

Collection of PackageAttrbuteContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "attrid": 1,
      "attrname": "sample string 2",
      "parentId": 3
    },
    {
      "attrid": 1,
      "attrname": "sample string 2",
      "parentId": 3
    }
  ],
  "code": 1,
  "message": "sample string 2"
}