🚧 The Rhombus Developer Documentation is currently in beta. For the official documentation, please visit docs.rhombus.com.
curl --request POST \
--url https://api2.rhombussystems.com/api/accesscontrol/createAccessControlCredentialByHexValueAndType \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"credentialType": "STANDARD_CSN",
"endDateEpochSecExclusive": 1672531200,
"hexValue": "1234567890ABCDEF",
"littleEndian": true,
"numValueBits": 123,
"startDateEpochSecInclusive": 1640995200,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'{
"credential": {
"createdAtMillis": 123,
"endDateEpochSecExclusive": 123,
"lastUsedAccessControlledDoorUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"lastUsedAtMillis": 123,
"lastUsedLocationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"lowercaseHexValue": "<string>",
"managedCredUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"note": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"startDateEpochSecInclusive": 123,
"type": "STANDARD_CSN",
"updatedAtMillis": 123,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"value": "<string>",
"workflowStatus": "ACTIVE"
}
}Create a credential based on a hex value and credential type. Useful if you see an unauthorized badge event, know its type and want to import it
curl --request POST \
--url https://api2.rhombussystems.com/api/accesscontrol/createAccessControlCredentialByHexValueAndType \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"credentialType": "STANDARD_CSN",
"endDateEpochSecExclusive": 1672531200,
"hexValue": "1234567890ABCDEF",
"littleEndian": true,
"numValueBits": 123,
"startDateEpochSecInclusive": 1640995200,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'{
"credential": {
"createdAtMillis": 123,
"endDateEpochSecExclusive": 123,
"lastUsedAccessControlledDoorUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"lastUsedAtMillis": 123,
"lastUsedLocationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"lowercaseHexValue": "<string>",
"managedCredUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"note": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"startDateEpochSecInclusive": 123,
"type": "STANDARD_CSN",
"updatedAtMillis": 123,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"value": "<string>",
"workflowStatus": "ACTIVE"
}
}Your API key for Rhombus.
Authentication scheme indicator ("api-token").
9Request to create an access control credential by hex value and type.
STANDARD_CSN, RHOMBUS_SECURE_CSN, RHOMBUS_SECURE_MOBILE, PIN_CODE, WIEGAND_H10301, WIEGAND_H10304, WIEGAND_D10202, WIEGAND_64BIT_RAW, HID_CORP1000_STD_35, HID_CORP1000_STD_48, CUSTOM End date in epoch seconds (exclusive)
1672531200
Hex value of the credential
"1234567890ABCDEF"
Only needed when creating Wiegand credentials
Only needed when creating Wiegand credentials
Start date in epoch seconds (inclusive)
1640995200
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
OK
Response for access control credential creation by hex value and type.
Updated Wiegand credential details
Show child attributes
Was this page helpful?