Request
Request URL

https://apim.eu.mybuildings.abb.com/adtg-api/v1/graphql

Request headers
Fieldtypedescription
AuthorizationstringOAuth 2.0 access token obtained from eu.mybuildings.abb.com.
Request body
{
ISystemWIP(dtId: "c376b842-8f78-4b69-ae31-f815f24d5b90") {
DeviceManagementWIP {
RPCQueryCredentialMethod {
callMethod(block:4,floor:1,room:1) {
code
payload {
index
name
password
}
}
}
}
}
Response
{
  "data": {
    "ISystemWIP": [
      {
        "DeviceManagementWIP": {
          "RPCQueryCredentialMethod": {
            "callMethod": {
              "code": 200,
              "payload": [
                {
                  "index": 7,
                  "name": "ookk1",
                  "password": "11C4BB28DC27D475"
                }
              ]
            }
          }
        }
      }
    ]
  }
}

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