Fee amounts
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 list of fee amounts specified for different territories.
URI
/api/v9/fees/ID/amountsGET List fee amounts
List fee amounts specified for different territories in the system.
In the response body, territories are identified by their ISO 3166-1 alpha-2 country codes. The global (worldwide) fee is identified by code 001.
Syntax
GET /api/v9/fees/123/amounts
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/amounts"Response headers
| Header | Value | Description |
|---|---|---|
Content-Type | application/json | Media type of the resource |
X-Count | 3 | Number of fee amounts |
Response codes
| Response code | Description |
|---|---|
200 OK | The list of fee amounts was successfully returned |
Example response
Response
{
"001": {
"qualifier": null,
"currency": "EUR",
"amount": "1100.00",
"info": "",
"basis": "Year"
},
"EE": {
"qualifier": null,
"currency": "EUR",
"amount": "99.00",
"info": "Special price for applicants from Estonia :)",
"basis": "Year"
},
"EU": {
"qualifier": null,
"currency": "EUR",
"amount": "123.00",
"info": "Additional information may be specified here",
"basis": "Year"
}
}