foliolib.folio.api.ordersStorage.PoLineBatch
- class foliolib.folio.api.ordersStorage.PoLineBatch(tenant: str)
Bases:
foliolib.folio.FolioApiPO Line batch
**This module implements the PO lines batch processing interface. This API is intended for internal use only.
Base class of the Folio API
- Parameters
tenant (str) – Tenant id
Methods
modify_poLinesBatch(poLinesBatch)Update the list of PO lines in a batch
- modify_poLinesBatch(poLinesBatch: dict)
Update the list of PO lines in a batch
PUT /orders-storage/po-lines-batch- Parameters
poLinesBatch (dict) – See Schema below
- Raises
OkapiRequestError – Bad Request
OkapiRequestFatalError – Server Error
Schema
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "collection of purchase order line records", "type": "object", "properties": { "poLines": { "description": "collection of purchase order line records", "type": "array", "id": "poLines", "items": { "type": "object", "$ref": "po_line.json" } }, "totalRecords": { "description": "The number of objects contained in this collection", "type": "integer" } }, "additionalProperties": false, "required": [ "poLines", "totalRecords" ] }