Copy POST /acs/encoders/encode_credential ⇒ { action_attempt }
Encodes an existing credential onto a plastic card placed on the specified encoder .
Authentication Methods
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
message
Format: String
type
Format: Enum
Possible enum values:
credential_cannot_be_reissued
---
result
Format: Object
Means by which an ACS user gains access at an entrance . The acs_credential
object represents a credential that provides an ACS user access within an access control system . For each acs_credential
object, you define the access method. You can also specify additional properties, such as a PIN code.
access_method
Format: Enum
Access method for the credential . Supported values: code
, card
, mobile_key
.
Possible enum values:
acs_credential_id
Format: UUID
acs_credential_pool_id
Format: UUID
acs_system_id
Format: UUID
acs_user_id
Format: UUID
assa_abloy_vostio_metadata
Format: Object
assa_abloy_vostio_metadata.door_names
Format: List
Item format: String
assa_abloy_vostio_metadata.endpoint_id
Format: String
assa_abloy_vostio_metadata.key_id
Format: String
assa_abloy_vostio_metadata.key_issuing_request_id
Format: String
assa_abloy_vostio_metadata.override_guest_acs_entrance_ids
Format: List
Item format: String
card_number
Format: String
Number of the card associated with the credential .
code
Format: String
created_at
Format: Datetime
Date and time at which the credential was created.
display_name
Format: String
Display name that corresponds to the credential type.
ends_at
Format: String
Date and time at which the credential validity ends, in ISO 8601 format. Must be a time in the future and after starts_at
.
errors
Format: List
Item format: Object
Errors associated with the credential .
error_code
Format: String
external_type
Format: Enum
Brand-specific terminology for the credential type. Supported values: pti_card
, brivo_credential
, hid_credential
, visionline_card
.
Possible enum values:
external_type_display_name
Format: String
Display name that corresponds to the brand-specific terminology for the credential type.
is_issued
Format: Boolean
Indicates whether the credential has been encoded onto a card.
is_latest_desired_state_synced_with_provider
Format: Boolean
Indicates whether the latest state of the credential has been synced from Seam to the provider.
is_managed
Format: Boolean
is_multi_phone_sync_credential
Format: Boolean
is_one_time_use
Format: Boolean
Indicates whether the credential can only be used once. If true
, the code becomes invalid after the first use.
issued_at
Format: Datetime
Date and time at which the credential was encoded onto a card.
latest_desired_state_synced_with_provider_at
Format: Datetime
Date and time at which the state of the credential was most recently synced from Seam to the provider.
parent_acs_credential_id
Format: UUID
starts_at
Format: String
visionline_metadata
Format: Object
visionline_metadata.auto_join
Format: Boolean
visionline_metadata.card_function_type
Format: Enum
visionline_metadata.card_id
Format: String
visionline_metadata.common_acs_entrance_ids
Format: List
Item format: UUID
visionline_metadata.credential_id
Format: String
visionline_metadata.guest_acs_entrance_ids
Format: List
Item format: UUID
visionline_metadata.is_valid
Format: Boolean
visionline_metadata.joiner_acs_credential_ids
Format: List
Item format: UUID
warnings
Format: List
Item format: Object
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:
schedule_externally_modified
unknown_issue_with_acs_credential
workspace_id
Format: UUID
---
status
Format: Enum
Possible enum values: