TLR - data migration
Planned changes in Circulation request DB schema
| Current DB record structure (segments to be removed are in orange) | Proposed DB record structure (segments to be added are in green) |
|---|---|
{
|
|
Planned API changes
API endpoint: /circulation/requests
Note that item field has some additional instance-related values that will also be moved to the instance field.
| Current JSON structure (segments to be removed are in orange) | Proposed JSON structure (segments to be added are in green) |
|---|---|
|
|
Proposed JSON structure for request from UI side
{
"id": "df45dc97-32c9-458f-9b32-2c1ea8e73159",
"requestLevel": "Item",
"requestType": "Hold",
"fulfilmentPreference": "Hold Shelf",
"item": {
"barcode": "90000"
},
"itemId": "100d10bf-2f06-4aa0-be15-0b95b2d9f9e3",
"requester": {
"barcode": "11111"
},
"requestDate": "2021-10-19T12:54:47Z",
"requesterId": "503ea8a5-fdd0-4c7a-b38d-9bdf2368f869",
"pickupServicePointId": "3a40852d-49fd-4df2-a1f9-6e2641a6e91f",
"instanceId": "5bf370e0-8cca-4d9c-82e4-5170ab2a0a39"
}