get_virtual_credential_request
Retrieve the assignment status of a mobile credential for a person and card format. Returns the credential state or indicates an unrecognized card format with a NOT FOUND failure.
Instructions
Retrieves a mobile (virtual) credential and its assignment state for a person and card format (wraps NBAPI GetVirtualCredentialRequest). Returns CARDFORMAT, PERSONID and STATUS. A card format the controller does not know answers FAIL with "CARDFORMAT NOT FOUND"; use get_card_formats for valid names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| PERSONID | Yes | Required. The PERSONID the credential is assigned to. | |
| CARDFORMAT | Yes | Required. Name of the card format used to decode the credential (see get_card_formats). |