Add Group

https://api.sciener.com/v3/group/add

Add a group, a group belongs to a user, you can add locks and ekeys to a group and query locks and ekeys by group. You can request Init lock API with parameter groupId to add the lock into a group, or you can set the group of a lock at any time. Then you can query your locks and ekeys by group.

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
nameStringYGroup name
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
groupIdIntGroup ID