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_offers [2017/07/20 09:05] – [Response example] Safakapi:api_applications_id_offers [2024/11/12 21:18] (current) – [Response example] Lauri
Line 25: Line 25:
  
 ==== Response example ==== ==== Response example ====
 +
 +== API version >= 4 ==
 +
 +  {
 +    "12": {
 +        "priority": 1,
 +        "inserted": "2014-06-20T11:00:19+00:00",
 +        "saved": "2014-06-20T11:00:19+00:00",
 +        "confirmed": null,
 +        "course": "/api/courses/1",
 +        "type": "/api/v4/applications/offers/types/7",
 +        "type-confirmed": "/api/v4/applications/offers/types/1",
 +        "comments": null,
 +        "comments-confirmed": null,
 +        "decision": "None",
 +        "decision-policy": "None",
 +        "decision-deadline": null,
 +        "score": {
 +          "auto": "10.00",
 +          "extra": null
 +        },
 +        "notes": null
 +    },
 +    "13": {
 +        "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": "12.45"
 +        },
 +        "notes": null
 +    }
 +  }
 +  
 +== API version <= 3 ==
 +
 +Please note that this is no longer accurate if you use custom offer types. In this case both "type" and "type-confirmed" will be set to "null". Please consider upgrading to API version 4 or later.
  
   {   {