Download Written Order PDF
Perform Download Written Order PDF through ClearPathMD.
clearpath_download_written_orderwriteclearpathmd
Inputs
- Order Id
order_idexpressionrequiredRequired literal value or workflow expression.
- Cmn Form Id
cmn_form_idexpressionOptional literal value or workflow expression.
Default:
"0" - Show In Inbox
show_in_inboxbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessstatusStatusorder_idOrder Iddocument_idDocument IdfilenameFilenamecontent_typeContent Typesize_bytesSize Byteswas_existingWas ExistingerrorError
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
}