dingtalk.oapi.rhino.mos.exec.clothes.size.count (获取衣服各细码数量)

获取衣服各细码数量

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
req ClothesGroupBySizeConditionReq 必须 入参
  • └ clothes_status_list
  • String []
  • 必须
  • ["FINISH"]
  • 衣服状态列表
  • └ order_id
  • Number
  • 必须
  • 1
  • 订单ID
  • └ tenant_id
  • String
  • 必须
  • 1
  • 租户ID
  • └ userid
  • String
  • 可选
  • 1
  • 预留参数

响应参数

名称 类型 示例值 描述
errcode Number 0 错误码
errmsg String 服务异常 错误信息
model ClothesCountGroupBySizeDto [] 返回结果
  • └ count
  • Number
  • 1
  • └ size_code
  • String
  • 1
success Boolean true 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/topapi/rhino/mos/exec/clothes/size/count");
OapiRhinoMosExecClothesSizeCountRequest req = new OapiRhinoMosExecClothesSizeCountRequest();
ClothesGroupBySizeConditionReq obj1 = new ClothesGroupBySizeConditionReq();
obj1.setClothesStatusList(""FINISH"");
obj1.setOrderId(1L);
obj1.setTenantId("1");
obj1.setUserid("1");
req.setReq(obj1);
OapiRhinoMosExecClothesSizeCountResponse rsp = client.execute(req, access_token);
System.out.println(rsp.getBody());

响应示例

  • JSON示例
{
    "errcode":0,
    "errmsg":"服务异常",
    "model":[
        {
                "count":,
                "size_code":""
        }
    ],
    "success":true
}

异常示例

  • JSON示例
{
	"errcode":88,
	"errmsg":"ding talk error"
}

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部