View | Details | Raw Unified | Return to bug 41530
Collapse All | Expand All

(-)a/Koha/REST/V1/Clubs/Holds.pm (-2 / +2 lines)
Lines 52-58 sub add { Link Here
52
        my $biblio_id           = $body->{biblio_id};
52
        my $biblio_id           = $body->{biblio_id};
53
        my $pickup_library_id   = $body->{pickup_library_id};
53
        my $pickup_library_id   = $body->{pickup_library_id};
54
        my $item_id             = $body->{item_id};
54
        my $item_id             = $body->{item_id};
55
        my $item_type           = $body->{item_type};
55
        my $item_type_id        = $body->{item_type_id};
56
        my $expiration_date     = $body->{expiration_date};
56
        my $expiration_date     = $body->{expiration_date};
57
        my $notes               = $body->{notes};
57
        my $notes               = $body->{notes};
58
        my $default_patron_home = $body->{default_patron_home};
58
        my $default_patron_home = $body->{default_patron_home};
Lines 96-102 sub add { Link Here
96
                pickup_library_id   => $pickup_library_id,
96
                pickup_library_id   => $pickup_library_id,
97
                expiration_date     => $expiration_date,
97
                expiration_date     => $expiration_date,
98
                notes               => $notes,
98
                notes               => $notes,
99
                item_type           => $item_type,
99
                item_type           => $item_type_id,
100
                default_patron_home => $default_patron_home
100
                default_patron_home => $default_patron_home
101
            }
101
            }
102
        );
102
        );
(-)a/api/v1/swagger/paths/clubs.yaml (-2 / +1 lines)
Lines 39-45 Link Here
39
              type:
39
              type:
40
                - string
40
                - string
41
                - "null"
41
                - "null"
42
            item_type:
42
            item_type_id:
43
              description: Limit hold on one itemtype (ignored for item-level holds)
43
              description: Limit hold on one itemtype (ignored for item-level holds)
44
              type:
44
              type:
45
                - string
45
                - string
46
- 

Return to bug 41530