{
  "$result_object_key": {
    "appointment_id": "12345",
    "cms1500_id": "12345",
    "details": "Follow-up Session",
    "id": "12345",
    "invoice_id": "12345",
    "invoice_type": "appointment",
    "is_preview": false,
    "notes": "Please see attached the invoice for your session.",
    "price": 123.456,
    "recipient_id": "12345",
    "sender_id": "12345",
    "service_date": "2024-04-22T09:00:00-04:00",
    "services_provided": "No-Show",
    "status": "Not Yet Paid"
  }
}
{
  "$result_object_key": {
    "appointment_id": "The ID of the appointment associated with this requested payment",
    "cms1500_id": "The ID of the CMS1500 to pay for",
    "details": "The details of the invoice (based off of associated item)",
    "id": "The unique identifier of the payment",
    "invoice_id": "The generated invoice ID",
    "invoice_type": "The type of invoice",
    "is_preview": "True if the invoice is still in preview mode",
    "notes": "Extra details on the invoice",
    "price": "Price of payment requested",
    "recipient_id": "The ID of the recipient (client)",
    "sender_id": "The ID of the sender (provider)",
    "service_date": "The service date",
    "services_provided": "The services provided",
    "status": "The status of the request"
  }
}

Parameters

Action
Parameters
{
  "$result_object_key": {
    "appointment_id": "12345",
    "cms1500_id": "12345",
    "details": "Follow-up Session",
    "id": "12345",
    "invoice_id": "12345",
    "invoice_type": "appointment",
    "is_preview": false,
    "notes": "Please see attached the invoice for your session.",
    "price": 123.456,
    "recipient_id": "12345",
    "sender_id": "12345",
    "service_date": "2024-04-22T09:00:00-04:00",
    "services_provided": "No-Show",
    "status": "Not Yet Paid"
  }
}
{
  "$result_object_key": {
    "appointment_id": "The ID of the appointment associated with this requested payment",
    "cms1500_id": "The ID of the CMS1500 to pay for",
    "details": "The details of the invoice (based off of associated item)",
    "id": "The unique identifier of the payment",
    "invoice_id": "The generated invoice ID",
    "invoice_type": "The type of invoice",
    "is_preview": "True if the invoice is still in preview mode",
    "notes": "Extra details on the invoice",
    "price": "Price of payment requested",
    "recipient_id": "The ID of the recipient (client)",
    "sender_id": "The ID of the sender (provider)",
    "service_date": "The service date",
    "services_provided": "The services provided",
    "status": "The status of the request"
  }
}

Result Object Field Details

You can use the result of the action’s data as inputs to downstream workflow actions.

Each fetch action requires a result object key to be specified which will nest the action’s result data inside the downstream data context in the Workflow.

Here we demonstrate how to refer to this data using the prefix $result_object_key.

RequestedPayment
Fetch Action Response Object