NameDescriptionTypeAdditional information
ReassignCardIfAlreadyAssigned

Optional. If true, deletes current card assignment (if any) for a given card before assigning it to the given User

boolean

None.

NumberOfCardUses

Number of Card Uses

integer

None.

PublicNotes

Public Notes

string

None.

CredentialTypeId

Credential Type Id (optional)

integer

None.

UserId

Required: The PK of the existing User that you want to add the card to.

globally unique identifier

None.

CardId

Optional: The PK of an existing card that you want to assign to the User. Retrieve possible values from /Card/GetAllCards. If null, CardType, CardACSystem, InternalCardNumber, ExternalCardNumber and Facility code are required.

globally unique identifier

None.

CardType

Conditional: If CardId is null, this is required. Represents the type of card being added dynamically. Retrieve possible values from /Card/GetAllCardTypes

integer

None.

CardACSystemId

Conditional: If CardId is null, this is required. Represents the Access Control System of the card being added dynamically. Retrieve possible values from /ACSystem/GetAllSystems

globally unique identifier

None.

InternalCardNumber

Conditional: If CardId is null, this is required. Represents the internal/encoded number of the card being added dynamically.

integer

None.

ExternalCardNumber

Conditional: If CardId is null, this is required. Represents the external number printed on the card being added dynamically.

string

None.

CardSerialNumber

Conditional: If CardType supports it, this is required. Represents the serial number of the smart card being added dynamically.

integer

None.

FacilityCode

Conditional: If CardType supports it, this is required. Represents the facility code of the smart card being added dynamically.

integer

None.

IssueCode

Conditional: If CardType supports it, this is required. Represents the issue code of the smart card being added dynamically.

integer

None.

PIN

Optional: The PIN that the User may use in conjunction with this Card for Card + PIN mode or for when Readers are in PIN mode only.

string

None.

EnforceOccupancySystem

Optional: Requests to verify if the CardACSystemId matches the system the User's Occupancy belongs to

boolean

None.

CardActivationStartDateTime

Optional: Date and time of the card activation

date

None.

CardDeactivationStartDateTime

Optional: Date and time of the card de-activation

date

None.

CardUserFlags

Card User Flags

CardUserFlags

None.