Simulate that the Next Credential Scan Will Fail
Simulates that the next attempt to scan a credential using the specified encoder will fail. You can only perform this action within a sandbox workspace.
Simulates that the next attempt to scan a credential using the specified encoder will fail.
Code:
await seam.acs.encoders.simulate.nextCredentialScanWillFail({
acs_encoder_id: "182ea706-8e14-4921-8e57-ee18d5a7de31",
error_code: "no_credential_on_encoder",
});Output:
// voidSimulates that the next attempt to scan a credential using the specified encoder will fail.
Code:
curl --include --request POST "https://connect.getseam.com/acs/encoders/simulate/next_credential_scan_will_fail" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"acs_encoder_id": "182ea706-8e14-4921-8e57-ee18d5a7de31",
"error_code": "no_credential_on_encoder"
}
EOFOutput:
{}Simulates that the next attempt to scan a credential using the specified encoder will fail.
Code:
seam.acs.encoders.simulate.next_credential_scan_will_fail(
acs_encoder_id="182ea706-8e14-4921-8e57-ee18d5a7de31",
error_code="no_credential_on_encoder",
)Output:
NoneSimulates that the next attempt to scan a credential using the specified encoder will fail.
Code:
seam.acs.encoders.simulate.next_credential_scan_will_fail(
acs_encoder_id: "182ea706-8e14-4921-8e57-ee18d5a7de31",
error_code: "no_credential_on_encoder",
)Output:
nilSimulates that the next attempt to scan a credential using the specified encoder will fail.
Code:
$seam->acs->encoders->simulate->next_credential_scan_will_fail(
acs_encoder_id: "182ea706-8e14-4921-8e57-ee18d5a7de31",
error_code: "no_credential_on_encoder"
);Output:
Simulates that the next attempt to scan a credential using the specified encoder will fail.
Code:
seam acs encoders simulate next-credential-scan-will-fail --acs_encoder_id "182ea706-8e14-4921-8e57-ee18d5a7de31" --error_code "no_credential_on_encoder"Output:
{}Request Parameters
acs_encoder_id String (Required)
ID of the acs_encoder that will fail to scan the acs_credential in the next request.
acs_credential_id_on_seam String
error_code String
Response
void
Last updated
Was this helpful?

