GET /api/wine/prices?memberStateCodes=PT,ES&beginDate=22/01/2019&endDate=22/04/2020 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. |
descriptions |
true |
The optional wine descriptions(s). Multiple categories must be comma-separated. For more details check the REST API : /api/wine/descriptions |
years |
true |
The optional year(s) to search for wine. |
months |
true |
The optional month(s) to search for wine. |
weeks |
true |
The optional week(s) of a marketing year to search for wine. The first week of August is number 1. |
beginDate |
true |
The optional date interval start to search for wine prices. |
endDate |
true |
The optional date interval end to search for wine prices. |
GET /api/wine/prices?memberStateCodes=PT,ES&beginDate=22/01/2019&endDate=22/04/2020 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with wine prices |
|
|
The code of the EU Member State. |
|
|
The name of the EU Member State. |
|
|
The valid start date period of the wine price. |
|
|
The valid end date period of the wine price. |
|
|
The week number of the year. |
|
|
The description of the wine. |
|
|
The unit of the wine. |
|
|
The price of the wine. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 232
[ {
"memberStateCode" : "IT",
"memberStateName" : "Italy",
"beginDate" : "23/11/2018",
"endDate" : "30/12/2018",
"weekNumber" : 5,
"price" : "€90.00",
"unit" : "Euro / HL.",
"description" : "Verona Vino bianco DOP"
} ]
GET /api/wine/descriptions HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Wine descriptions |
|
|
The description of the wine. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 86
[ {
"description" : "Blancs / Vin AOP"
}, {
"description" : "Blancs / VIP IGP"
} ]