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

(-)a/Koha/Booking.pm (-1 / +4 lines)
Lines 241-247 on the API. Link Here
241
=cut
241
=cut
242
242
243
sub to_api_mapping {
243
sub to_api_mapping {
244
    return {};
244
    return {
245
        created_on => "creation_date",
246
        updated_on => "modification_date"
247
    };
245
}
248
}
246
249
247
=head3 delete
250
=head3 delete
(-)a/api/v1/swagger/definitions/booking.yaml (-1 / +8 lines)
Lines 10-15 properties: Link Here
10
  booking_id:
10
  booking_id:
11
    description: Internal booking identifier
11
    description: Internal booking identifier
12
    type: integer
12
    type: integer
13
  creation_date:
14
    description: Creation date and time of this booking
15
    format: date-time
16
    type: string
13
  end_date:
17
  end_date:
14
    description: Start date and time of this booking
18
    description: Start date and time of this booking
15
    format: date-time
19
    format: date-time
Lines 24-29 properties: Link Here
24
    type:
28
    type:
25
      - object
29
      - object
26
      - 'null'
30
      - 'null'
31
  modification_date:
32
    description: Modification date and time of this booking
33
    format: date-time
34
    type: string
27
  patron_id:
35
  patron_id:
28
    description: Internal patron identifier
36
    description: Internal patron identifier
29
    type: integer
37
    type: integer
30
- 

Return to bug 37592