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

