华为乾坤-创建终端:响应示例
时间:2025-05-12 15:31:41
响应示例
返回状态码为201:创建成功信息。响应体参考TerminalMgrTerminalResponse。
HTTP/1.1 201 Created Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "successList" : [ { "id" : "22fbb5f2-d07e-4710-94ac-7705517ab842", "mac" : "11-11-11-11-11-11" } ], "failList" : [ { "errcode" : "0x022b0006", "errmsg" : "mac address is already exist", "id" : "22fbb5f2-d07e-4710-94ac-7705517ab842", "mac" : "11-11-11-11-11-11" } ] }
返回状态码为400:校验异常。
HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128679062.html