|
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', |