post https://api.alocity.com/v1/integration-management/card
This endpoint is used to manually add a card to a user. If the card was successfully created and associated with the user, then the Id of that card will be returned.
Controlled Errors
Error Code | Error Message |
---|---|
error_card_not_created | Failed to create card. |
error_user_not_found | User with the Id provided was not found. |
error_card_duplicated | An active card with the provided combination of facility code and card number already exists. |
error_card_lost_or_stolen | A card that has been reported lost or stolen |
Any status codes returned that are not provided here are generic status codes that can be found here.