POST to /inventory/instances does not return newly-created object

Description

Summary:

When creating a new inventory instance record via the mod-circulation API (/inventory/instances), the API documentation indicates that the response should have status code 201 and return the newly-minted instance object. However, while the response code is 201, the response body is empty.

Steps to reproduce

  1. In folio-snapshot environment

  2. Post a new instance object to /inventory/instances

Expected results

Response includes newly-minted object

Actual results

Response is empty

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

Create UUID client-side and retrieve the record via subsequent request if response is 201 to the POST or use storage API, which does return the created object.

Checklist

hide

Activity

Show:

AnyaNovember 4, 2024 at 3:03 PM

Support: ​any update on this ticket?

and

AnyaOctober 28, 2024 at 2:14 PM

Support: ​any update on this record?

and

AnyaOctober 14, 2024 at 2:07 PM

Support: ​any update on this record?

and

AnyaOctober 7, 2024 at 4:14 PM

Support: it was talked about at the Support sig that this may need the Inventory POs and that it might be with Fast Add functions.

Khalilah GambrellOctober 7, 2024 at 4:09 PM

Hey - what do you mean? That you can reproduce issue when using FastAdd?

Details

Assignee

Reporter

Priority

Development Team

Folijet

Release

Trillium (R2 2025)

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 19, 2024 at 1:32 PM
Updated March 5, 2025 at 5:32 PM
TestRail: Cases
TestRail: Runs