Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
api:api_applicants_id [2014/06/26 19:14] – created Lauri Elevantapi:api_applicants_id [2020/07/14 11:59] – [Response example] Lauri Elevant
Line 3: Line 3:
 ===== HEAD, GET ===== ===== HEAD, GET =====
  
-Return information about an application, identified by the applicant's ID.+Return information about an applicant, identified by the applicant's ID.
  
 ==== Syntax ==== ==== Syntax ====
Line 14: Line 14:
  
   Content-Type: application/json   Content-Type: application/json
-  Content-Length: 1456+  Content-Length: 1234 
 + 
 + 
 +==== Response example ==== 
 + 
 +  { 
 +        "registered": "2014-06-20T08:13:41+00:00", 
 +        "name":
 +            "given": "Joe", 
 +            "middle": "", 
 +            "family": "Smith" 
 +        }, 
 +        "email": "sample.applicant.21@example.com", 
 +        "skype": null, 
 +        "phone": "+372 123456789", 
 +        "reference": "foobar", 
 +        "citizenship": "US", 
 +        "trackers": "/api/applicants/123/trackers", 
 +        "photo": "/api/applicants/123/photo", 
 +        "documents": "/api/applicants/123/documents" 
 +  }