PUT api/user/{cipher}/{id}?remarks={remarks}&authorizationDaysFix={authorizationDaysFix}&deviceLimit={deviceLimit}

更新用户信息的特定属性

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cipher

暗号

string

Required

id

编号

globally unique identifier

Required

remarks

新的备注

string

None.

authorizationDaysFix

授权日期修正,在原有的授权结束日期上增加指定的天数,如果为负数即为减去指定的天数

integer

Default value is 0

deviceLimit

群控设备数量限制,小于或等于0为不限制

integer

None.

Body Parameters

None.

Response Information

Resource Description

用户信息

UserInfo
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdByClient

globally unique identifier

None.

MachineCode

string

None.

AuthorizeCode

string

None.

SessionId

globally unique identifier

None.

Deadline

date

None.

LastLoginTime

date

None.

RegisterTime

date

None.

LastLoginIp

string

None.

Remarks

string

None.

DeviceQuantityLimit

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "f8447f5c-56f9-45cb-a0bf-db09df4a57f0",
  "IdByClient": "33bb5965-28a1-4b7b-a2b4-754f320cbb95",
  "MachineCode": "sample string 3",
  "AuthorizeCode": "sample string 4",
  "SessionId": "8d75d461-cc19-4dae-9a0a-1ec110a7e036",
  "Deadline": "2018-09-25T23:43:40.3735099+08:00",
  "LastLoginTime": "2018-09-25T23:43:40.3735099+08:00",
  "RegisterTime": "2018-09-25T23:43:40.3735099+08:00",
  "LastLoginIp": "sample string 9",
  "Remarks": "sample string 10",
  "DeviceQuantityLimit": 11
}

application/xml, text/xml

Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidClusterControlCommonClass">
  <AuthorizeCode>sample string 4</AuthorizeCode>
  <Deadline>2018-09-25T23:43:40.3735099+08:00</Deadline>
  <DeviceQuantityLimit>11</DeviceQuantityLimit>
  <Id>f8447f5c-56f9-45cb-a0bf-db09df4a57f0</Id>
  <IdByClient>33bb5965-28a1-4b7b-a2b4-754f320cbb95</IdByClient>
  <LastLoginIp>sample string 9</LastLoginIp>
  <LastLoginTime>2018-09-25T23:43:40.3735099+08:00</LastLoginTime>
  <MachineCode>sample string 3</MachineCode>
  <RegisterTime>2018-09-25T23:43:40.3735099+08:00</RegisterTime>
  <Remarks>sample string 10</Remarks>
  <SessionId>8d75d461-cc19-4dae-9a0a-1ec110a7e036</SessionId>
</UserInfo>