6.2 HTTP API Changes
Caution
- The section includes the 2N® Access Commander API upgrade changes. The changes below may make your API communication, whatever it is, non-functional.
Version 1.17 to 2.0
What's New
GET/devices/{deviceId}/status nullGET/system/license/features nullPUT/system/license/activatebasic nullPUT/users/attendance/export.pdf nullPUT/lockdown/activate nullPUT/lockdown/deactivate null
What's Deprecated
What's Changed
GET /companies null
Return Type
Insert Lockdown
Insert Devices
Delete MonitoredUsers
Delete MonitoredUsersLeftPOST /companies null
Return Type
Insert Lockdown
Insert Devices
Delete MonitoredUsers
Delete MonitoredUsersLeftGET /companies/{companyId} null
Return Type
Insert Lockdown
Insert Devices
Delete MonitoredUsers
Delete MonitoredUsersLeftDELETE /companies/{companyId} null
Parameters
Insert Company.Lockdown
Insert Company.Devices
Delete Company.MonitoredUsers
Delete Company.MonitoredUsersLeftPUT /companies/{companyId} null
Parameters
Insert Company.Lockdown
Insert Company.Devices
Delete Company.MonitoredUsers
Delete Company.MonitoredUsersLeft
Return Type
Insert Lockdown
Insert Devices
Delete MonitoredUsers
Delete MonitoredUsersLeftDELETE /companies/{companyId}/zones null
Return Type
Insert HasLicensePlateAuthentication
Insert Lockdown
Insert DeviceCountPUT /companies/{companyId}/zones null
Return Type
Insert HasLicensePlateAuthentication
Insert Lockdown
Insert DeviceCountGET /devices null
Return Type
Insert Lockdown
Insert DoorSwitchPOST /devices null
Parameters
Insert Devices.Lockdown
Insert Devices.DoorSwitch
Return Type
Insert Lockdown
Insert DoorSwitchPATCH /devices null
Parameters
Insert Devices.Lockdown
Insert Devices.DoorSwitchGET /devices/scannetwork null
Return Type
Insert Lockdown
Insert DoorSwitchGET /devices/{deviceId} null
Return Type
Insert Lockdown
Insert DoorSwitchDELETE /devices/{deviceId} null
Parameters
Insert Device.Lockdown
Insert Device.DoorSwitch
Return Type
Insert Lockdown
Insert DoorSwitchPUT /devices/{deviceId} null
Parameters
Insert Device.Lockdown
Insert Device.DoorSwitchDELETE /devices/{deviceId}/cleardirectory null
Parameters
Insert Device.Lockdown
Insert Device.DoorSwitchDELETE /devices/{deviceId}/factoryreset null
Parameters
Insert Device.Lockdown
Insert Device.DoorSwitchPUT /devices/{deviceId}/replace null
Parameters
Insert Device.Lockdown
Insert Device.DoorSwitch
Return Type
Insert Lockdown
Insert DoorSwitchPUT /devices/{deviceId}/password null
Parameters
Insert Device.Lockdown
Insert Device.DoorSwitch
Return Type
Insert Lockdown
Insert DoorSwitchPUT /devices/{deviceId}/password/generate null
Parameters
Insert Device.Lockdown
Insert Device.DoorSwitch
Return Type
Insert Lockdown
Insert DoorSwitchPUT /deviceUpdate/firmware/{firmwareId}/candidate/devicetest null
Return Type
Insert Lockdown
Insert DoorSwitchGET /groups null
Return Type
Insert CompanyName
Insert UserCountPOST /groups null
Return Type
Insert CompanyName
Insert UserCountGET /groups/{groupId} null
Return Type
Insert CompanyName
Insert UserCountDELETE /groups/{groupId} null
Parameters
Insert Group.CompanyName
Insert Group.UserCountPUT /groups/{groupId} null
Parameters
Insert Group.CompanyName
Insert Group.UserCount
Return Type
Insert CompanyName
Insert UserCountPUT /groups/{groupId}/users null
Return Type
Insert GroupNamesGET /system/license null
Return Type
Insert LicenseTier
Insert AvailableUsers
Insert AvailableDevices
Insert AvailableManagers
Insert MaxManagers
Insert Uploaded
Insert HasAttendance
Delete ExploitedUsers
Delete ExploitedDevices
Delete LicenseUpdated
Delete LDAPEnabled
Delete DataSyncEnabledPUT /system/license/import.xml null
Return Type
Insert LicenseTier
Insert AvailableUsers
Insert AvailableDevices
Insert AvailableManagers
Insert MaxManagers
Insert Uploaded
Insert HasAttendance
Delete ExploitedUsers
Delete ExploitedDevices
Delete LicenseUpdated
Delete LDAPEnabled
Delete DataSyncEnabledGET /users null
Return Type
Insert GroupNamesPOST /users null
Return Type
Insert GroupNamesGET /users/{userId} null
Return Type
Insert GroupNamesPUT /users/{userId} null
Return Type
Insert GroupNamesDELETE /users/{userId}/groups null
Return Type
Insert CompanyName
Insert UserCountPUT /users/{userId}/groups null
Return Type
Insert CompanyName
Insert UserCountPUT /users/{userId}/password null
Return Type
Insert GroupNamesGET /zones null
Return Type
Insert HasLicensePlateAuthentication
Insert Lockdown
Insert DeviceCountPOST /zones null
Return Type
Insert HasLicensePlateAuthentication
Insert Lockdown
Insert DeviceCountGET /zones/{zoneId} null
Return Type
Insert HasLicensePlateAuthentication
Insert Lockdown
Insert DeviceCountDELETE /zones/{zoneId} null
Parameters
Insert Zone.HasLicensePlateAuthentication
Insert Zone.Lockdown
Insert Zone.DeviceCountPUT /zones/{zoneId} null
Parameters
Insert Zone.HasLicensePlateAuthentication
Insert Zone.Lockdown
Insert Zone.DeviceCount
Return Type
Insert HasLicensePlateAuthentication
Insert Lockdown
Insert DeviceCountPUT /zones/{zoneId}/devices null
Return Type
Insert Lockdown
Insert DoorSwitchDELETE /zones/{zoneId}/devices/{deviceId} null
Return Type
Insert Lockdown
Insert DoorSwitch