openapi: 3.2.0 info: title: Folio Declare Claimed Returned Item As Missing API version: v1 description: 'Operations tagged declareClaimedReturnedItemAsMissing across 2 of this provider''s published API definitions: folio-mod-circulation-bff-circulationbff-openapi.json, folio-mod-circulation-bff-circulationbff-openapi.yml. Each path carries the servers of the definition it was published in.' tags: - name: declareClaimedReturnedItemAsMissing paths: /circulation-bff/loans/{loanId}/declare-claimed-returned-item-as-missing: post: operationId: declareClaimedReturnedItemAsMissing tags: - declareClaimedReturnedItemAsMissing parameters: - name: loanId in: path required: true schema: type: string format: uuid description: The ID of the loan requestBody: content: application/json: schema: $ref: '#/components/schemas/declareClaimedReturnedItemAsMissingRequest' required: true responses: '204': description: An item has been successfully declared missing '404': $ref: '#/components/responses/notFoundResponse' '422': $ref: '#/components/responses/unprocessableEntityResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' summary: Declare claimed returned item as missing x-summary-source: derived components: schemas: parameter: description: List of key/value parameters of an error type: object properties: key: description: Parameter key type: string value: description: Parameter value type: string example: key: source value: 'null' errorResponse: description: A set of errors type: object properties: errors: description: List of errors type: array items: $ref: '#/components/schemas/error' total_records: description: Total number of errors type: integer example: errors: - message: Illegal argument error type: IllegalArgumentException code: unknown_error total_records: 1 error: description: An error type: object properties: message: type: string description: Error message text type: type: string description: Error message type code: type: string description: Error message code parameters: type: array items: $ref: '#/components/schemas/parameter' declareClaimedReturnedItemAsMissingRequest: type: object description: Request body schema for resolving claim as missing API properties: comment: description: Comment explaining why the item has been marked missing type: string additionalProperties: true required: - comment examples: validationErrorResponse: value: errors: - message: must not be null type: MethodArgumentNotValidException code: validation_error parameters: - key: parameter value: 'null' total_records: 1 unknownError: value: errors: - message: Illegal argument error type: IllegalArgumentException code: unknown_error total_records: 1 responses: internalServerErrorResponse: description: When unhandled exception occurred during code execution, e.g. NullPointerException. content: application/json: schema: $ref: '#/components/schemas/errorResponse' examples: unknownError: $ref: '#/components/examples/unknownError' notFoundResponse: description: Not found content: application/json: example: errors: - message: Not found total_records: 1 schema: $ref: '#/components/schemas/errorResponse' unprocessableEntityResponse: description: Validation error for the request. content: application/json: schema: $ref: '#/components/schemas/errorResponse' examples: response: $ref: '#/components/examples/validationErrorResponse' x-refined-from: - folio-mod-circulation-bff-circulationbff-openapi.json - folio-mod-circulation-bff-circulationbff-openapi.yml