2 "/article_requests/{article_request_id}":
4 x-mojo-to: ArticleRequests#cancel
5 operationId: cancelArticleRequest
8 summary: Cancel article requests
10 - name: article_request_id
12 description: Article request identifier
15 - name: cancellation_reason
17 description: Article request cancellation reason
22 description: Article request custom cancellation reason
29 description: Article request canceled
31 description: Bad request
33 $ref: "../swagger.yaml#/definitions/error"
35 description: Authentication required
37 $ref: "../swagger.yaml#/definitions/error"
39 description: Access forbidden
41 $ref: "../swagger.yaml#/definitions/error"
43 description: Patron not found
45 $ref: "../swagger.yaml#/definitions/error"
48 Internal server error. Possible `error_code` attribute values:
50 * `internal_server_error`
52 $ref: "../swagger.yaml#/definitions/error"
54 description: Under maintenance
56 $ref: "../swagger.yaml#/definitions/error"
59 circulate: circulate_remaining_permissions
60 "/public/patrons/{patron_id}/article_requests/{article_request_id}":
62 x-mojo-to: ArticleRequests#patron_cancel
63 operationId: publicCancelPatronArticleRequest
66 summary: Cancel patron's article requests
68 - $ref: "../swagger.yaml#/parameters/patron_id_pp"
69 - name: article_request_id
71 description: Article request identifier
74 - name: cancellation_reason
76 description: Article request cancellation reason
81 description: Article request custom cancellation reason
88 description: Patron's article request canceled
90 description: Bad request
92 $ref: "../swagger.yaml#/definitions/error"
94 description: Authentication required
96 $ref: "../swagger.yaml#/definitions/error"
98 description: Access forbidden
100 $ref: "../swagger.yaml#/definitions/error"
102 description: Patron not found
104 $ref: "../swagger.yaml#/definitions/error"
107 Internal server error. Possible `error_code` attribute values:
109 * `internal_server_error`
111 $ref: "../swagger.yaml#/definitions/error"
113 description: Under maintenance
115 $ref: "../swagger.yaml#/definitions/error"
116 x-koha-authorization: