Skip to content

Commit

Permalink
Merge pull request #58 from folio-org/MODDCB-59
Browse files Browse the repository at this point in the history
MODDCB-59
  • Loading branch information
MagzhanArtykov authored Dec 12, 2023
2 parents a010d6e + 59c328e commit 98fe1c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private void createCirculationItem(DcbItem item, String pickupServicePointId){
.materialTypeId(materialTypeId)
.permanentLoanTypeId(LOAN_TYPE_ID)
.pickupLocation(pickupServicePointId)
.lendingLibraryCode(item.getLendingLibraryCode())
.build();

circulationItemClient.createCirculationItem(item.getId(), circulationItem);
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/swagger.api/schemas/CirculationItem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ CirculationItem:
type: string
pickupLocation:
type: string
lendingLibraryCode:
description: 5 digit agency code which identifies the lending library
type: string
additionalProperties: false

CirculationItemCollection:
Expand Down

0 comments on commit 98fe1c9

Please sign in to comment.