华为乾坤-新增用户信息:请求示例
时间:2025-05-12 15:32:03
请求示例
HTTP的示例
POST /controller/campus/v2/accountservice/accessuser/users HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-AC CES S-TOKEN: x-yyyyyy { "userGroupId" : "51cdcbe3-5e14-492b-ab27-86950b661d19", "password" : "Test@1234", "userName" : "test", "roleIds" : [ "" ], "email" : "xxx@example.com", "telephone" : "1xxxxxxxxxx", "vaildPeriod" : "1571710215000", "maxAccessNum" : 1, "accessType" : "deny", "description" : "0", "nextUpdateUserpass" : true, "deviceManagerFlag" : true, "name" : "", "bindInfo" : { "bindDeviceInfo" : [ { "deviceIp" : "10.1.1.1", "port" : "20", "vlan" : "3377" } ], "bindAccDeviceInfo" : [ { "deviceIp" : "10.1.1.1", "port" : "20", "vlan" : "3377" } ], "bindEsn" : "21500829352SH1903955,21500829352SH1903977", "bindIP" : "10.1.1.1,10.1.1.2", "bindImsi" : "12312,668", "bindMac" : "11-11-11-11-11-11,22-22-22-22-22-22" }, "fields" : [ { "customFieldId" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359cb", "customFieldValue" : "aaa" } ], "accountStatus" : 0 }
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128520818.html