Lab Services — Orders
2 min
get_orders
sync(client: AuthenticatedClient | Client, protocol_id: int | Unset = UNSET, include_details: bool | Unset = UNSET, search_all_orders: bool | Unset = UNSET, state: OrderState | Unset = UNSET, system_name: list[str] | Unset = UNSET, apiversion: str | Unset = UNSET) -> list[Order] | NoneParameter | Type | Default |
|---|---|---|
client | AuthenticatedClient | Client | required |
protocol_id | int | Unset | UNSET |
include_details | bool | Unset | UNSET |
search_all_orders | bool | Unset | UNSET |
state | OrderState | Unset | UNSET |
system_name | list[str] | Unset | UNSET |
apiversion | str | Unset | UNSET |
Returns: list[Order] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |