新增管理员
请求信息
接口地址
http://passport.hkapi.esuhaitao.com/Admin
请求方式
PUT
Head 参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Authorization |
参数签名 把“输入参数 JSON 格式的字符串内容”使用HMACSHA1(URL安全的Base64编码) 进行加密 查看示例 |
string |
Required |
222002v1H0Y3u0n1T2Z2M052x1C1C0M0 |
无。 |
输入参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| SiteAppId |
所属站点Id |
integer |
无。 |
无。 |
无。 |
| OrgId |
组织机构Id |
integer |
Required |
无。 |
无。 |
| UserName |
登录名 |
string |
Required |
无。 |
无。 |
| Password |
密码 |
string |
Required |
无。 |
无。 |
|
|
string |
无。 |
无。 |
无。 |
|
| Mobile |
手机电话 |
string |
无。 |
无。 |
无。 |
| TrueName |
姓名 |
string |
Required |
无。 |
无。 |
| Nickname |
昵称 |
string |
Required |
无。 |
无。 |
| GroupIds |
角色集合 |
Collection of integer |
Required |
无。 |
无。 |
| Remark |
备注 |
string |
无。 |
无。 |
无。 |
| Status |
状态 0禁用 1启用 |
integer |
无。 |
无。 |
无。 |
| JobNumber |
工号 |
string |
无。 |
无。 |
无。 |
| WarehouseCode |
所属仓库地址 |
string |
无。 |
无。 |
无。 |
请求参数格式
application/json 或 text/json
Sample:
{
"SiteAppId": 1,
"OrgId": 2,
"UserName": "sample string 3",
"Password": "sample string 4",
"Email": "sample string 5",
"Mobile": "sample string 6",
"TrueName": "sample string 7",
"Nickname": "sample string 8",
"GroupIds": [
1,
2
],
"Remark": "sample string 9",
"Status": 10,
"JobNumber": "sample string 11",
"WarehouseCode": "sample string 12",
"OpUserId": 13
}
应答信息
资源说明
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Code | integer |
无。 |
无。 |
无。 |
|
| Message | string |
无。 |
无。 |
无。 |
应答结果格式
application/json 或 text/json
Sample:
{
"Code": 1,
"Message": "sample string 2"
}