获取阶段下材料列表

更新时间:2021-01-25 10:25:33

接口说明

获取阶段下材料列表

基本信息

请求方式:GET

请求路径:

https://prod.open-api.mysre.cn/eq/{tenantCode}/api/material/get-material-list

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
category_id query string 阶段id
tenantCode path string 租户code

请求示例

{
    "category_id":"39e2cbc2-590a-67fa-86bb-0b87adcb4add"
}

返回成功示例

{
    "status": true,
    "data": [
         {
            "id": "1ecd13da-7142-11e7-b06d-2c44fd7fa0a8",
            "name": "夜(有规格)"
        },
         {
            "id": "1ecd13da-7142-11e7-b06d-2c44fd7fa099",
            "name": "夜(有规格)"
        }
    ]
  }

返回参数说明(成功)

参数名 参数类型 描述
status bool
data array
data.id string
data.name string

失败返回示例

{
  "status": false,
  "message": "错误原因"
}

返回参数说明(失败)

参数名 参数类型 描述
status bool
message string

results matching ""

    No results matching ""