getCustomerScenarioExecution

getCustomerScenarioExecution

This method allows you to retrieve data for a specific scenario execution for a given customer.

Parameters

  • customerId (uuid, required): The unique identifier of the customer.
  • executionId (uuid, required): The unique identifier of the scenario execution.

Returns

A JSON object containing the customer's scenario execution data, including fields like execution_id, session_id, scenario_executions, execution_status, and last_execution_date.

Usage Example

const axios = require('axios');

let config = {
  method: 'get',
  maxBodyLength: Infinity,
  url: 'https://api.nexera.id/customers/:customerId/scenario-executions/:executionId',
  headers: { 
    'Accept': 'application/json', 
    'Authorization': 'Bearer <TOKEN>'
  }
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});