Search Purchase Orders
Perform Search Purchase Orders through ClaimSoft.
claimsoft_search_purchase_ordersreadclaimsoft
Inputs
- Search Text
search_texttextOptional text value.
- Order Status
order_statusmulti_selectOptional list of selected values.
Default:
["2","3","4","6"]Options: Open ("2"), Due ("3"), Closed ("4"), Deleted ("6")
- Warehouses
warehousesjsonOptional JSON value.
- Patient Id
patient_idexpressionOptional literal value or workflow expression.
- Practitioner Id
practitioner_idexpressionOptional literal value or workflow expression.
- Date From
date_fromdateOptional date in YYYY-MM-DD format.
- Date To
date_todateOptional date in YYYY-MM-DD format.
- Filters
filtersjsonOptional JSON value.
- Max Rows
max_rowsnumberOptional numeric value.
Default:
500
Outputs
server_returnedServer ReturnedreturnedReturnedclient_truncatedClient TruncatedordersOrdersinventory_urlInventory UrlerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"date_to": {
"type": "string",
"format": "date",
"description": "Optional date in YYYY-MM-DD format.",
"x-workflow-field-type": "date"
},
"filters": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"max_rows": {
"type": "number",
"default": 500,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"date_from": {
"type": "string",
"format": "date",
"description": "Optional date in YYYY-MM-DD format.",
"x-workflow-field-type": "date"
},
"patient_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"warehouses": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"search_text": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"order_status": {
"type": "array",
"items": {
"enum": [
"2",
"3",
"4",
"6"
],
"type": "string"
},
"default": [
"2",
"3",
"4",
"6"
],
"description": "Optional list of selected values.",
"x-workflow-field-type": "multi_select"
},
"practitioner_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"orders": {},
"returned": {},
"inventory_url": {},
"server_returned": {},
"client_truncated": {}
},
"additionalProperties": true
}