Download and Upload Documents to Niko
Perform Download and Upload Documents to Niko through Parachute Health.
parachute_download_upload_documents_to_nikowriteparachute
Inputs
- Order Id
order_idexpressionrequiredRequired literal value or workflow expression.
- Supplier Id
supplier_idexpressionOptional literal value or workflow expression.
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Downloadable Documents
downloadable_documentsexpressionOptional literal value or workflow expression.
- Document Keys
document_keystextOptional text value.
Default:
"all" - Document Type
document_typeselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
Default:
"Parachute Documents"
Outputs
successSuccessstatusStatusuploaded_countUploaded Countskipped_countSkipped Countfailed_countFailed Countdocument_idsDocument Idspatient_document_idsPatient Document IdsdocumentsDocumentserrorErrorerror_messageError Message
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",
"patient_id"
],
"properties": {
"order_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"supplier_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_keys": {
"type": "string",
"default": "all",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"document_type": {
"type": "string",
"default": "Parachute Documents",
"description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "select"
},
"downloadable_documents": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"status": {},
"success": {},
"documents": {},
"document_ids": {},
"failed_count": {},
"error_message": {},
"skipped_count": {},
"uploaded_count": {},
"patient_document_ids": {}
},
"additionalProperties": true
}