Differences

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

Link to this comparison view

Next revision
Previous revision
api:api_applications_id_offers_id [2014/07/17 11:20] – created Lauri Elevantapi:api_applications_id_offers_id [2024/01/15 11:21] (current) – [Response example] Safak Samiloglu
Line 1: Line 1:
-====== /api/applications/ID/offer/ID ======+====== /api/applications/ID/offers/ID ======
  
 ===== HEAD, GET ===== ===== HEAD, GET =====
  
 Fetch information about a specific application offer identified by the offer ID. Also see [[api:api_applications_id_offers|/api/applications/ID/offers]] Fetch information about a specific application offer identified by the offer ID. Also see [[api:api_applications_id_offers|/api/applications/ID/offers]]
 +
  
 ==== Syntax ==== ==== Syntax ====
Line 10: Line 11:
   Host: apply.example.edu   Host: apply.example.edu
   Authorization: DREAM apikey="..."   Authorization: DREAM apikey="..."
 +
  
 ==== Response headers ==== ==== Response headers ====
Line 16: Line 18:
   Content-Length: 1234   Content-Length: 1234
  
 +
 +==== Response example ====
 +
 +== API version >= 4 ==
 +
 +  {
 +      "priority": 2,
 +      "inserted": "2014-06-20T11:00:19+00:00",
 +      "saved": "2014-06-20T11:00:19+00:00",
 +      "confirmed": "2014-06-20T11:00:19+00:00",
 +      "course": "/api/courses/3",
 +      "type": "/api/v4/applications/offers/types/1",
 +      "type-confirmed": "/api/v4/applications/offers/types/20",
 +      "comments": null,
 +      "comments-confirmed": null,
 +      "decision": "Final",
 +      "decision-policy": "None",
 +      "decision-deadline": null,
 +      "score": {
 +        "auto": null,
 +        "extra": "85.50"
 +      },
 +      "notes": null
 +  }
 +  
 +== API version <= 3 ==
 +
 +  {
 +      "priority": 2,
 +      "inserted": "2014-06-20T11:00:19+00:00",
 +      "saved": "2014-06-20T11:00:19+00:00",
 +      "confirmed": "2014-06-20T11:00:19+00:00",
 +      "course": "/api/courses/3",
 +      "type": "Unreplied",
 +      "type-confirmed": "Accepted",
 +      "comments": null,
 +      "comments-confirmed": null,
 +      "decision": "Final",
 +      "decision-policy": "None",
 +      "decision-deadline": null,
 +      "score": {
 +        "auto": null,
 +        "extra": "85.50"
 +      },
 +      "notes": null
 +  }