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_applications_id_studyplans [2015/02/13 16:01] Lauriapi:api_applications_id_studyplans [2024/07/30 11:50] (current) – external edit 127.0.0.1
Line 3: Line 3:
 ===== HEAD, GET ===== ===== HEAD, GET =====
  
-Get a list of studyplans that have been attached to this application. The ''HEAD'' verb is useful if you only want to test if this application has any study plans attached at all (and how many). Use the ''GET'' verb to get the listing of study plans.+Get a list of study plans that have been attached to this application. The ''HEAD'' verb is useful if you only want to test if this application has any study plans attached at all (and how many). Use the ''GET'' verb to get the listing of study plans.
  
 Note that an applicant may have more study plans, but only a subset of them may be attached to this particular application. Use the [[api:api_applicants_ID_studyplans|/api/applicants/ID/studyplans]] call to see all of the study plans that have been created by an applicant regardless of application. Note that an applicant may have more study plans, but only a subset of them may be attached to this particular application. Use the [[api:api_applicants_ID_studyplans|/api/applicants/ID/studyplans]] call to see all of the study plans that have been created by an applicant regardless of application.
  
-**To see the complete data for a study plan**, including the subjects selected, query this study plan by ID via [[api:api_applicants_ID_studyplans_ID|/api/applicants/ID/studyplans/ID]].+**To see the complete data for a study plan**, including the subjects selected, query the study plan by it'ID using [[api:api_applications_ID_studyplans_ID|/api/applications/ID/studyplans/ID]].
  
-A study plan is always created in a particular application and are related to a particular course (you can see the identifiers in the example data below).+A study plan is always created in a particular application and are related to a particular course.
  
 The statuses can currently be: The statuses can currently be:
Line 39: Line 39:
         "revised": "2015-02-13T15:56:10+00:00",         "revised": "2015-02-13T15:56:10+00:00",
         "course": "/api/courses/321",         "course": "/api/courses/321",
 +        "applicant": "/api/applicants/123",
         "application": "/api/applications/123",         "application": "/api/applications/123",
         "status": "Prepare"         "status": "Prepare"
     }     }
   }   }