Skip to content

//kotlin-sdk/fr.gasmartbuilding.gasmartaccessreadersdk/ACSService/registerDeviceToACS

registerDeviceToACS

[androidJvm]\

@POST(value = "v1/badge")

abstract suspend fun registerDeviceToACS(@Header(value = "udid")udid: String, @Bodybody: UserIdRequest): Response<DeviceRegistration>

Endpoint for registering a device to ACS

Return

DeviceRegistration containing the user badge ID and the SAR public key

Parameters

androidJvm

udid string representing a unique identifier for the device
body containing the user ID and various metadata about the device env