curl --request POST \
--url https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"endDateEpochSecExclusive": 1672531200,
"startDateEpochSecInclusive": 1640995200,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"value": "1234567890123456"
}
'import requests
url = "https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential"
payload = {
"endDateEpochSecExclusive": 1672531200,
"startDateEpochSecInclusive": 1640995200,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"value": "1234567890123456"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
endDateEpochSecExclusive: 1672531200,
startDateEpochSecInclusive: 1640995200,
userUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
value: '1234567890123456'
})
};
fetch('https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"endDateEpochSecExclusive\": 1672531200,\n \"startDateEpochSecInclusive\": 1640995200,\n \"userUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"value\": \"1234567890123456\"\n}")
.asString();{
"credential": {
"assigneeType": "USER",
"assigneeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"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 64-bit raw Wiegand credential
Create a 64bit raw wiegand credential. Used when an explicit endpoint for the wiegand format is not otherwise defined.
curl --request POST \
--url https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"endDateEpochSecExclusive": 1672531200,
"startDateEpochSecInclusive": 1640995200,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"value": "1234567890123456"
}
'import requests
url = "https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential"
payload = {
"endDateEpochSecExclusive": 1672531200,
"startDateEpochSecInclusive": 1640995200,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"value": "1234567890123456"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
endDateEpochSecExclusive: 1672531200,
startDateEpochSecInclusive: 1640995200,
userUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
value: '1234567890123456'
})
};
fetch('https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/accesscontrol/createWiegand64BitRawCredential")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"endDateEpochSecExclusive\": 1672531200,\n \"startDateEpochSecInclusive\": 1640995200,\n \"userUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"value\": \"1234567890123456\"\n}")
.asString();{
"credential": {
"assigneeType": "USER",
"assigneeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"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"
}
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Request to create a 64-bit raw Wiegand credential.
End date in epoch seconds (exclusive)
1672531200
Start date in epoch seconds (inclusive)
1640995200
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Credential value
"1234567890123456"
Response
OK
Response for 64-bit raw Wiegand credential creation.
Credentials assigned to the pass.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
Show child attributes
Show child attributes