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

(-)a/Koha/REST/V1/Patrons.pm (-2 lines)
Lines 400-406 our $to_api_mapping = { Link Here
400
    debarredcomment     => undef, # calculated, API consumers will use /restrictions instead
400
    debarredcomment     => undef, # calculated, API consumers will use /restrictions instead
401
    emailpro            => 'secondary_email',
401
    emailpro            => 'secondary_email',
402
    flags               => undef, # permissions manipulation handled in /permissions
402
    flags               => undef, # permissions manipulation handled in /permissions
403
    flgAnonymized       => 'anonymized',
404
    gonenoaddress       => 'incorrect_address',
403
    gonenoaddress       => 'incorrect_address',
405
    guarantorid         => 'guarantor_id',
404
    guarantorid         => 'guarantor_id',
406
    lastseen            => 'last_seen',
405
    lastseen            => 'last_seen',
Lines 444-450 our $to_api_mapping = { Link Here
444
443
445
our $to_model_mapping = {
444
our $to_model_mapping = {
446
    altaddress_notes         => 'contactnote',
445
    altaddress_notes         => 'contactnote',
447
    anonymized               => 'flgAnonymized',
448
    category_id              => 'categorycode',
446
    category_id              => 'categorycode',
449
    check_previous_checkout  => 'checkprevcheckout',
447
    check_previous_checkout  => 'checkprevcheckout',
450
    date_enrolled            => 'dateenrolled',
448
    date_enrolled            => 'dateenrolled',
(-)a/api/v1/swagger/definitions/patron.json (-4 / +3 lines)
Lines 274-282 Link Here
274
      "description": "persist OverDrive auth token"
274
      "description": "persist OverDrive auth token"
275
    },
275
    },
276
    "anonymized": {
276
    "anonymized": {
277
        "type": "boolean",
277
      "type": "boolean",
278
        "readOnly": true,
278
      "readOnly": true,
279
        "description": "If the patron has been anonymized"
279
      "description": "If the patron has been anonymized"
280
    }
280
    }
281
  },
281
  },
282
  "additionalProperties": false,
282
  "additionalProperties": false,
283
- 

Return to bug 22729