GET /api/rawMilk/prices?products=raw%20milk,smp&memberStateCodes=BG,NL&years=2017&months=7,8 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Parameter | Optional | Description |
---|---|---|
memberStateCodes |
true |
The optional codes of the EU Member States. |
products |
true |
The optional product(s) to search for raw milk prices. For more details check REST API : /api/rawMilk/products |
years |
true |
The optional year(s) must have the format yyyy. |
months |
true |
The optional month(s) of a year to search for raw milk. |
beginDate |
true |
The optional date interval start to search for raw milk prices. |
endDate |
true |
The optional date interval end to search for raw milk prices. |
GET /api/rawMilk/prices?products=raw%20milk,smp&memberStateCodes=BG,NL&years=2017&months=7,8 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Raw milk price values |
|
|
The code of the EU Member State. |
|
|
The name of the EU Member State. |
|
|
The valid start date period of the raw milk price. |
|
|
The valid end date period of the raw milk price. |
|
|
The product name. |
|
|
The month number of the calendar year. |
|
|
The month name of the calendar year. |
|
|
The calendar year of the raw milk price. |
|
|
The unit of the raw milk price. |
|
|
The raw milk price. |
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"memberStateCode" : "NL",
"memberStateName" : "Netherlands",
"beginDate" : "04/07/2017",
"endDate" : "11/08/2017",
"month" : 7,
"monthName" : "Jul",
"price" : "€133.19",
"unit" : "100KG",
"year" : 2017,
"product" : "Raw milk"
} ]
GET /api/rawMilk/products HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Raw milk products |
HTTP/1.1 200 OK
Content-Type: application/json
[ "Organic raw milk", "Raw Milk" ]
Parameter | Optional | Description |
---|---|---|
memberStateCodes |
true |
The optional codes of the EU Member States. |
products |
true |
The optional product(s) to search for dairy prices. For more details check REST API : /api/dairy/products |
years |
true |
The optional year(s) must have the format yyyy. |
weeks |
true |
The optional week(s) of a year to search for dairy. Week 1 is the week with the first Thursday in January. |
beginDate |
true |
The optional date interval start to search for dairy prices. |
endDate |
true |
The optional date interval end to search for dairy prices. |
GET /api/dairy/prices?products=butter,smp&memberStateCodes=BG,NL&years=2017&weeks=5 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with dairy price values |
|
|
The code of the EU Member State. |
|
|
The name of the EU Member State. |
|
|
The valid start date period of the dairy price. |
|
|
The valid end date period of the dairy price. |
|
|
The product name. |
|
|
The week number of the calendar year. |
|
|
The calendar year of the dairy price. |
|
|
The unit of the dairy price. |
|
|
The dairy price. |
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"memberStateCode" : "NL",
"memberStateName" : "Netherlands",
"beginDate" : "04/07/2017",
"endDate" : "11/08/2017",
"weekNumber" : 5,
"price" : "€133.19",
"unit" : "100KG",
"year" : 2017,
"product" : "BUTTER"
} ]
GET /api/dairy/products HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with dairy products |
HTTP/1.1 200 OK
Content-Type: application/json
[ "SMP", "BUTTER" ]
Parameter | Optional | Description |
---|---|---|
memberStateCodes |
true |
The optional codes of the EU Member States. |
years |
true |
The optional year(s) must be in format yyyy to search for dairy production volumes. |
categories |
true |
The optional dairy category(ies). Multiple categories must be comma-separated. For more details check the REST API : /api/dairy/production/categories |
months |
true |
The optional month(s) of the year to search for dairy production volumes. |
GET /api/dairy/production?memberStateCodes=AT&categories=Acidified milk (yoghurts and other),Total raw cow's milk delivered to dairies&years=2021&months=1 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with dairy production |
|
|
The code of the EU Member State. |
|
|
The name of the EU Member State. |
|
|
The year of the dairy production volume. |
|
|
The month of the year of the dairy production volume. |
|
|
The category of the dairy production volume. |
|
|
The unit of measure of the dairy production volume. |
|
|
The quantity of the dairy production volume. |
|
|
The unit of measure of the fat content. |
|
|
The fat content percentage (if any) of total quantity. |
|
|
The unit of measure of the protein content. |
|
|
The protein content percentage (if any) of total quantity. |
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"memberStateCode" : "AT",
"memberStateName" : "Austria",
"year" : 2021,
"month" : 1,
"category" : "Acidified milk (yoghurts and other)",
"unit" : "Thousand tonnes",
"production" : 19.87,
"fatUnit" : "% of product weight",
"fat" : null,
"proteinUnit" : "% of product weight",
"protein" : null
}, {
"memberStateCode" : "AT",
"memberStateName" : "Austria",
"year" : 2021,
"month" : 1,
"category" : "Total raw cow's milk delivered to dairies",
"unit" : "Thousand tonnes",
"production" : 268.01,
"fatUnit" : "% of product weight",
"fat" : 4.35,
"proteinUnit" : "% of product weight",
"protein" : 3.5
} ]
GET /api/dairy/production/categories HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with dairy categories |
HTTP/1.1 200 OK
Content-Type: application/json
[ "Drinking milk", "Skimmed milk powder" ]