Fee
API version
Select a version to change the base URI
in syntax and code examples. Learn about versions:
in syntax and code examples. Learn about versions
Represents a single fee.
URI
/api/v9/fees/IDGET Get a fee
Return information about a fee identified by the fee ID.
Syntax
GET /api/v9/fees/123
Host: apply.example.edu
Authorization: DREAM apikey="..."Example request
Request
curl
curl \
-X GET \
-H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
"https://apply.example.edu/api/v9/fees/123"Response headers
| Header | Value | Description |
|---|---|---|
Content-Type | application/json | Media type of the resource |
Response codes
| Response code | Description |
|---|---|
200 OK | The fee data was successfully returned |
404 Not Found | The fee was not found |
Example response
Response
{
"name": "Tuition fee",
"type": "Tuition",
"notes": null,
"amounts": {
"001": {
"qualifier": null,
"currency": "EUR",
"amount": "1100.00",
"basis": "Year",
"info": ""
},
"EE": {
"qualifier": null,
"currency": "EUR",
"amount": "99.00",
"basis": "Year",
"info": "Special price for applicants from Estonia :)"
},
"EU": {
"qualifier": null,
"currency": "EUR",
"amount": "123.00",
"basis": "Year",
"info": "Additional information may be specified here"
}
}
}