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

(-)a/Koha/Hold.pm (-1 / +1 lines)
Lines 416-422 sub to_api_mapping { Link Here
416
        branchcode       => 'pickup_library_id',
416
        branchcode       => 'pickup_library_id',
417
        notificationdate => undef,
417
        notificationdate => undef,
418
        reminderdate     => undef,
418
        reminderdate     => undef,
419
        cancellationdate => 'cancelation_date',
419
        cancellationdate => 'cancellation_date',
420
        reservenotes     => 'notes',
420
        reservenotes     => 'notes',
421
        found            => 'status',
421
        found            => 'status',
422
        itemnumber       => 'item_id',
422
        itemnumber       => 'item_id',
(-)a/api/v1/swagger/definitions/hold.json (-1 / +1 lines)
Lines 22-28 Link Here
22
      "type": ["string", "null"],
22
      "type": ["string", "null"],
23
      "description": "Internal library identifier for the pickup library"
23
      "description": "Internal library identifier for the pickup library"
24
    },
24
    },
25
    "cancelation_date": {
25
    "cancellation_date": {
26
      "type": ["string", "null"],
26
      "type": ["string", "null"],
27
      "format": "date",
27
      "format": "date",
28
      "description": "The date the hold was cancelled"
28
      "description": "The date the hold was cancelled"
(-)a/api/v1/swagger/paths/holds.json (-2 / +1 lines)
Lines 37-43 Link Here
37
          "type": "string"
37
          "type": "string"
38
        },
38
        },
39
        {
39
        {
40
          "name": "cancelation_date",
40
          "name": "cancellation_date",
41
          "in": "query",
41
          "in": "query",
42
          "description": "The date the hold was cancelled",
42
          "description": "The date the hold was cancelled",
43
          "type": "string",
43
          "type": "string",
44
- 

Return to bug 25535