Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Inputs and mappings

    Map stable business identifiers into destination requests.

    On this page

    Declare input mappings

    A step’s mapping associates a destination field with an input path. Map orderNumber to input.order.number for the order reference. Keep the name expected by the receiving connector on the left and the input path on the right.

    JSON

    {
      "orderNumber": "input.order.number"
    }

    Preserve types and identifiers

    Send monetary totals as decimal strings. Preserve the order number through retries, and avoid inserting credentials into the mapped object. A changed mapping belongs to a new definition, while an existing run keeps its original definition.

    Inspect input and output

    Read the step after an attempt. Compare input with the connector’s expected fields and inspect output and attemptLog. When a mapping is wrong, correct the definition and start a new run; retrying the same version does not change its mapping.

    curl

    curl "$RDC_BASE_URL/integrations/v1/runs/run-b73a02/steps/trigger" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/integrations/v1/runs/run-b73a02/steps/trigger`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/integrations/v1/runs/run-b73a02/steps/trigger',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/integrations/v1/runs/run-b73a02/steps/trigger');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/integrations/v1/runs/run-b73a02/steps/trigger");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    {
      "id": "trigger",
      "status": "pending",
      "attempts": 0,
      "started": null,
      "ended": null,
      "retryAt": null,
      "input": {
        "order": {
          "number": "CV-1046",
          "currency": "RON",
          "netTotal": "2818.41"
        }
      },
      "output": {},
      "attemptLog": []
    }