Access Control Webservice

Create Wiegand credential

Create a wiegand credential

post/api/accesscontrol/createWiegandCredential

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/accesscontrol/createWiegandCredential
  • Auth: API key in header x-auth-apikey

Headers

x-auth-scheme'api-token' | 'api' | 'partner-api-token' | 'partner-api' required

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.

Request body

cardNumberinteger nullable

Card number for the credential

companyIdinteger nullable

Company ID used by HID CORP 1000

endDateEpochSecExclusiveinteger nullable

End date in epoch seconds (exclusive)

facilityCodeinteger nullable

Facility code for the credential

siteCodeinteger nullable

Site code for the credential

startDateEpochSecInclusiveinteger nullable

Start date in epoch seconds (inclusive)

userUuidstring RUUID nullable

base 64 (url-safe) uuid string

valuestring nullable

Final credential value used in RAW formats

wiegandFormat'H10301' | 'D10202' | 'H10304' | 'H10302' | 'HID_CORP1000_STD_35' | 'HID_CORP1000_STD_48' | 'WIEGAND_64BIT_RAW' | 'CUSTOM'

Example request

{
  "cardNumber": 456,
  "companyId": 1000,
  "endDateEpochSecExclusive": 1672531200,
  "facilityCode": 123,
  "siteCode": 789,
  "startDateEpochSecInclusive": 1640995200,
  "userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "value": "123456789"
}

Response

OK

Example response

{
  "credential": {
    "assigneeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "lastUsedAccessControlledDoorUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "lastUsedLocationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "managedCredUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.