githubEdit

Encode a Credential

POST /acs/encoders/encode_credential β‡’ { action_attempt }

Encodes an existing credential onto a plastic card placed on the specified encoder.

Authentication Methods

  • API key

  • Personal access token Must also include the seam-workspace header in the request.

Request Parameters

acs_credential_id

Type: string Required: Yes

ID of the acs_credential to encode onto a card.


acs_encoder_id

Type: string Required: Yes

ID of the acs_encoder to use to encode the acs_credential.


Return Type

action_attempt

ENCODE_CREDENTIAL

Encoding credential data from physical encoder.

action_attempt_id

Format: UUID

The ID of the action attempt.


action_type

Format: String


error

Format: Object

chevron-rightmessage Format: Stringhashtag

chevron-righttype Format: Enumhashtag

Possible enum values:

  • uncategorized_error

  • action_attempt_expired

  • no_credential_on_encoder

  • incompatible_card_format

  • credential_cannot_be_reissued

---

result

Format: Object

Means by which an ACS userarrow-up-right gains access at an entrance. The acs_credential object represents a credential that provides an ACS user access within an access control systemarrow-up-right. For each acs_credential object, you define the access method. You can also specify additional properties, such as a PIN code.

chevron-rightaccess_method Format: Enumhashtag

Access method for the credential. Supported values: code, card, mobile_key.

Possible enum values:

  • code

  • card

  • mobile_key

chevron-rightacs_credential_id Format: UUIDhashtag

ID of the credential.

chevron-rightacs_credential_pool_id Format: UUIDhashtag

chevron-rightacs_system_id Format: UUIDhashtag

ID of the access control systemarrow-up-right that contains the credential.

chevron-rightacs_user_id Format: UUIDhashtag

ID of the ACS userarrow-up-right to whom the credential belongs.

chevron-rightassa_abloy_vostio_metadata Format: Objecthashtag

Vostio-specific metadata for the credential.

chevron-rightassa_abloy_vostio_metadata.door_names Format: List Item format: Stringhashtag

chevron-rightassa_abloy_vostio_metadata.endpoint_id Format: Stringhashtag

chevron-rightassa_abloy_vostio_metadata.key_id Format: Stringhashtag

chevron-rightassa_abloy_vostio_metadata.key_issuing_request_id Format: Stringhashtag

chevron-rightassa_abloy_vostio_metadata.override_guest_acs_entrance_ids Format: List Item format: Stringhashtag

chevron-rightcard_number Format: Stringhashtag

Number of the card associated with the credential.

chevron-rightcode Format: Stringhashtag

Access (PIN) code for the credential.

chevron-rightcreated_at Format: Datetimehashtag

Date and time at which the credential was created.

chevron-rightdisplay_name Format: Stringhashtag

Display name that corresponds to the credential type.

chevron-rightends_at Format: Stringhashtag

Date and time at which the credential validity ends, in ISO 8601arrow-up-right format. Must be a time in the future and after starts_at.

chevron-righterrors Format: List Item format: Objecthashtag

Errors associated with the credential.

  • error_code Format: String

  • message Format: String

chevron-rightexternal_type Format: Enumhashtag

Brand-specific terminology for the credential type. Supported values: pti_card, brivo_credential, hid_credential, visionline_card.

Possible enum values:

  • pti_card

  • brivo_credential

  • hid_credential

  • visionline_card

  • salto_ks_credential

  • assa_abloy_vostio_key

  • salto_space_key

chevron-rightexternal_type_display_name Format: Stringhashtag

Display name that corresponds to the brand-specific terminology for the credential type.

chevron-rightis_issued Format: Booleanhashtag

Indicates whether the credential has been encoded onto a card.

chevron-rightis_latest_desired_state_synced_with_provider Format: Booleanhashtag

Indicates whether the latest state of the credential has been synced from Seam to the provider.

chevron-rightis_managed Format: Booleanhashtag

chevron-rightis_multi_phone_sync_credential Format: Booleanhashtag
chevron-rightis_one_time_use Format: Booleanhashtag

Indicates whether the credential can only be used once. If true, the code becomes invalid after the first use.

chevron-rightissued_at Format: Datetimehashtag

Date and time at which the credential was encoded onto a card.

chevron-rightlatest_desired_state_synced_with_provider_at Format: Datetimehashtag

Date and time at which the state of the credential was most recently synced from Seam to the provider.

chevron-rightparent_acs_credential_id Format: UUIDhashtag

ID of the parent credential.

chevron-rightstarts_at Format: Stringhashtag

Date and time at which the credential validity starts, in ISO 8601arrow-up-right format.

chevron-rightvisionline_metadata Format: Objecthashtag

Visionline-specific metadata for the credential.

chevron-rightvisionline_metadata.auto_join Format: Booleanhashtag

chevron-rightvisionline_metadata.card_function_type Format: Enumhashtag

Possible enum values:

  • guest

  • staff

chevron-rightvisionline_metadata.card_id Format: Stringhashtag

chevron-rightvisionline_metadata.common_acs_entrance_ids Format: List Item format: UUIDhashtag

chevron-rightvisionline_metadata.credential_id Format: Stringhashtag

chevron-rightvisionline_metadata.guest_acs_entrance_ids Format: List Item format: UUIDhashtag

chevron-rightvisionline_metadata.is_valid Format: Booleanhashtag

chevron-rightvisionline_metadata.joiner_acs_credential_ids Format: List Item format: UUIDhashtag

chevron-rightwarnings Format: List Item format: Objecthashtag

Warnings associated with the credential.

  • created_at Format: Datetime

    Date and time at which Seam created the warning.

  • message Format: String

    Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.

  • warning_code Format: Enum

    Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.

    Possible enum values:

    • waiting_to_be_issued

    • schedule_externally_modified

    • schedule_modified

    • being_deleted

    • unknown_issue_with_acs_credential

    • needs_to_be_reissued

chevron-rightworkspace_id Format: UUIDhashtag

ID of the workspace that contains the credential.

---

status

Format: Enum

Possible enum values:

  • success

  • pending

  • error


Last updated

Was this helpful?