code: public BacnetDevice getDevice(long gatewayid, long instanceNumber) {
          InternalRequest internalRequest =
                  createRequest(new GenericAccountRequest(), HttpMethodName.GET, BACNET, DEVICE, GATEWAY,
                          String.valueOf(gatewayid), DEVICE, String.valueOf(instanceNumber));
          return this.invokeHttpClient(internalRequest, BacnetDevice.class);
      }
docs: bacnet devices