Get a customer scenario execution data for one scenario execution.
GET/customers/:customerId/scenario-executions/:executionId
Get a single customer's scenario execution data.
Request
Path Parameters
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD1
- MOD2
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- ]
scenario_executions object[]required
rules object[]required
Possible values: [ChallengeQuery
, OffChainZKP
, IndividualCustomerMonitoring
, TransactionMonitoring
]
result object
result objectrequired
data object
ID3 objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
AMLScreeningsResults objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
IDScan objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
IDInformation objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
IDScanSelfie objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
SelfieImage objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
IDScanPassport objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
IDImage objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
ProofOfResidence objectnullable
credentialSubject objectrequired
credentialStatus objectrequired
Possible values: [SparseMerkleTreeProof
, Iden3ReverseSparseMerkleTreeProof
, Iden3commRevocationStatusV1.0
, Iden3OnchainSparseMerkleTreeProof2023
]
credentialSchema objectrequired
rule_data objectnullable
Possible values: [IDInformation
, SelfieImage
, IDImage
, ProofOfResidence
, AMLScreeningsResults
, ID3
, IDScan
, IDScanSelfie
, IDScanPassport
]
Request ID for ZKPs
value object required
boolean
string
number
string
number
Possible values: [$noop
, $eq
, $lt
, $lte
, $gt
, $gte
, $in
, $nin
, $ne
, $exists
]
Possible values: [valid
, not-valid
, error
, unknown
]
documents object[]nullable
Possible values: [proof_of_residence
, id_image_front
, id_image_back
, selfie_image
]
Possible values: [valid
, not-valid
, error
, unknown
]
Possible values: [valid
, not-valid
, error
, unknown
]
{
"execution_id": "string",
"session_id": "string",
"scenario_executions": [
{
"scenarioId": "string",
"rules": [
{
"id": "string",
"execution_id": "string",
"cms_object_id": "string",
"cms_scenario_id": "string",
"object_type": "ChallengeQuery",
"result": {},
"rule_data": {
"type": "IDInformation",
"requestId": 0,
"attribute": "string",
"value": true,
"operator": "$noop"
},
"status": "valid",
"executed_at": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z",
"documents": [
{
"documentType": "proof_of_residence",
"url": "string"
}
]
}
],
"scenarioStatus": "valid",
"executed_at": "2024-07-29T15:51:28.071Z"
}
],
"execution_status": "valid",
"last_execution_date": "2024-07-29T15:51:28.071Z"
}
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
issues object[]
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}