@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Ex Libris APIs
@base https://api-eu.hosted.exlibrisgroup.com
@version 1.0
@auth ApiKey apikey in query
@endpoints 11
@toc almaws(11)

@endpoint GET /almaws/v1/task-lists/printouts
@optional {letter: str=ALL, status: str=ALL, printer_id: str=ALL, printed_by: str=ALL, printout_id: str=ALL, limit: int=10, offset: int=0}
@returns(200)
@errors {400, 500}

@endpoint POST /almaws/v1/task-lists/printouts
@required {op: str}
@optional {letter: str=ALL, status: str=ALL, printer_id: str=ALL, printed_by: str=ALL, printout_id: str=ALL}
@returns(200)
@errors {400, 500}

@endpoint POST /almaws/v1/task-lists/printouts/create
@returns(200)
@errors {400, 500}

@endpoint GET /almaws/v1/task-lists/printouts/{printout_id}
@required {printout_id: str}
@returns(200)
@errors {400, 500}

@endpoint POST /almaws/v1/task-lists/printouts/{printout_id}
@required {printout_id: str, op: str}
@returns(200)
@errors {400, 500}

@endpoint GET /almaws/v1/task-lists/requested-resources
@required {library: str, circ_desk: str}
@optional {location: str=, order_by: str=call_number, direction: str=asc, pickup_inst: str=, reported: str=, printed: str=, limit: int=10, offset: int=0}
@returns(200)
@errors {400, 500}

@endpoint POST /almaws/v1/task-lists/requested-resources
@optional {library: str=, circ_desk: str=, op: str=, location: str=, pickup_inst: str=, reported: str=, printed: str=}
@returns(200)
@errors {400, 500}

@endpoint GET /almaws/v1/task-lists/rs/lending-requests
@optional {library: str=, status: str=, printed: str=, reported: str=, partner: str=, requested_format: str=, supplied_format: str=}
@returns(200)
@errors {400, 500}

@endpoint POST /almaws/v1/task-lists/rs/lending-requests
@optional {library: str=, op: str=, status: str=, printed: str=, reported: str=, partner: str=, requested_format: str=, supplied_format: str=}
@returns(200)
@errors {400, 500}

@endpoint GET /almaws/v1/task-lists/test
@returns(200)
@errors {400, 500}

@endpoint POST /almaws/v1/task-lists/test
@returns(200)
@errors {400, 500}

@end
