Skip to documentation
ClearPathMD integration

Download Written Order PDF

Perform Download Written Order PDF through ClearPathMD.

View as Markdown
clearpath_download_written_order
writeclearpathmd

Inputs

  • order_id
    expressionrequired
    Order Id

    Required literal value or workflow expression.

  • cmn_form_id
    expression
    Cmn Form Id

    Optional literal value or workflow expression.

    Default: "0"

  • show_in_inbox
    boolean
    Show In Inbox

    Optional true-or-false value.

    Default: false

Outputs

  • successSuccess
  • statusStatus
  • order_idOrder Id
  • document_idDocument Id
  • filenameFilename
  • content_typeContent Type
  • size_bytesSize Bytes
  • was_existingWas Existing
  • errorError

Output schema completeness: best_effort_declared

Safety

External effect
write
Confirmation recommended
No
Retry safe
No
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "required": [
    "order_id"
  ],
  "properties": {
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "cmn_form_id": {
      "default": "0",
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "show_in_inbox": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "success": {},
    "filename": {},
    "order_id": {},
    "size_bytes": {},
    "document_id": {},
    "content_type": {},
    "was_existing": {}
  },
  "additionalProperties": true
}
View all ClearPathMD actions