Approval Policies

Get workflow by ID

Changed on

Retrieve a single approval workflow by its ID, including all steps, conditions, and approvers.

get/public/v1/workflows/{workflow_id}/

Request

  • Base URL: https://api.dualentry.com
  • URL: https://api.dualentry.com/public/v1/workflows/{workflow_id}/
  • Auth: none declared

Path parameters

workflow_idinteger required

Response

OK

idinteger required
record_type'invoice' | 'bill' | 'journal_entry' | 'bank_transfer' | 'purchase_order' | 'sales_order' | 'intercompany_journal_entry' | 'vendor' | 'customer' | 'account' | 'company' | 'custom_field' | 'item' | 'contract' | 'amortizable_asset' | 'fixed_asset' | 'customer_credit' | 'direct_expense' | 'cash_sale' | 'customer_prepayment' | 'customer_deposit' | 'customer_payment' | 'customer_refund' | 'vendor_prepayment_application' | 'customer_prepayment_application' | 'vendor_payment' | 'vendor_credit' | 'vendor_refund' | 'vendor_prepayment' | 'revenue_recognition_batch' | 'classification' | 'classification_line' | 'quote' required

Supported record types for workflows.

namestring required
is_activeboolean required
descriptionstring required
versioninteger required
priorityinteger required
company_idsinteger[] required
applies_to_all_companiesboolean required
allow_self_approvalboolean required
pending_approval_countinteger required
rolesobject required

Changes

    • warning

      added the new account enum value to the response property for the response status

    • warning

      added the new amortizable_asset enum value to the response property for the response status

    • warning

      added the new classification enum value to the response property for the response status

    • warning

      added the new classification_line enum value to the response property for the response status

    • warning

      added the new company enum value to the response property for the response status

    • warning

      added the new custom_field enum value to the response property for the response status

    • warning

      added the new fixed_asset enum value to the response property for the response status

    • warning

      added the new item enum value to the response property for the response status

    • warning

      added the new quote enum value to the response property for the response status

    • warning

      added the new revenue_recognition_batch enum value to the response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status