https://apim.eu.mybuildings.abb.com/adtg-api/v1/graphql
Field | type | description |
---|---|---|
Authorization | string | OAuth 2.0 access token obtained from eu.mybuildings.abb.com. |
{ISystemWIP(dtId:"c376b842-8f78-4b69-ae31-f815f24d5b90"){DeviceManagementWIP{RPCCreateCredentialMethod{callMethod(password:"234113",to:1,from:1,max:1,timeprofile:0,name:"ookk",type:2,block:4,floor:1,room:1){code} }}}}
password - [String] If creating a PIN-Code, this filed is need, the password need provide by the cloud side. If creating a QR-Code, this filed is not need, the device will automatically generate a password
max - [Float] duration limit, how much time usable
to - [Float] the number of seconds from Jan 1, 1970
from - [Float] the number of seconds from Jan 1, 1970
timeprofile -[Float] whether there is a time limit. 0 means no a time limit, 1 means a time limit
name - [Float] custom name
block,floor,room - [Float] Physical address
{
"data": {
"ISystemWIP": [
{
"DeviceManagementWIP": {
"RPCCreateCredentialMethod": {
"callMethod": {
"code": 200
}
}
}
}
]
}
}
{
"data": {
"ISystemWIP": [
{
"DeviceManagementWIP": {
"RPCCreateCredentialMethod": {
"callMethod": {
"code": 409
}
}
}
}
]
}
}