Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
api:api_applicants_id_invoices [2020/01/29 11:05] Safakapi:api_applicants_id_invoices [2024/07/30 11:50] (current) – external edit 127.0.0.1
Line 5: Line 5:
 Due to GDPR regulations, it is possible to delete applicants from the system, for example with the "Right to be forgotten" tool, batch purge (by academic term) or with an individual applicant record deletion. Due to GDPR regulations, it is possible to delete applicants from the system, for example with the "Right to be forgotten" tool, batch purge (by academic term) or with an individual applicant record deletion.
  
-However, in order to not destroy accounting records, invoices are the only data that is preserved after an applicant record is destroyed. To achieve this, invoices are detached from the applicant records, losing this association. This is why in the admin UI they are distinctive with a gray "anonymous" icon and also why in the API response the ''applicant'' field is set to ''NULL''+However, in order to not destroy accounting records, invoices are the only data that is preserved after an applicant record is destroyed. To achieve this, invoices are detached from the applicant records, losing this association. This is why in the admin UI they are distinctive with a gray "anonymous" icon and also why in the API response the ''applicant'' and ''application'' field is set to ''NULL''
  
 ===== HEAD, GET ===== ===== HEAD, GET =====
Line 51: Line 51:
         "applicant": "/api/applicants/65",         "applicant": "/api/applicants/65",
         "application": "/api/applications/70",         "application": "/api/applications/70",
-        "course": "/api/courses/5",+        "course": null,
         "issued": "2014-07-17T10:54:19+00:00",         "issued": "2014-07-17T10:54:19+00:00",
         "delivered": "2014-07-17T10:54:19+00:00",         "delivered": "2014-07-17T10:54:19+00:00",