GET /api/sheepAndGoat/prices?memberStateCodes=PT&productCodes=EU_H&beginDate=29/12/2014&endDate=04/01/2015 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. |
productCodes |
true |
The optional sheep and goat product code(s) are EU_L and EU_H they must be comma-separated. |
marketCodes |
true |
The optional sheep and goat market name(s) are EU member state code(s) and they must be comma-separated. For more details check REST API : /api/sheepAndGoat/markets |
marketingYears |
true |
The optional marketing year(s) to search for sheep and goat. |
months |
true |
The optional month(s) to search for sheep and goat. |
weeks |
true |
The optional week(s) of a year to search for sheep and goat. The first week of January is number 1. |
beginDate |
true |
The optional date interval start to search for sheep and goat prices. |
endDate |
true |
The optional date interval end to search for sheep and goat prices. |
GET /api/sheepAndGoat/prices?memberStateCodes=PT&productCodes=EU_H&beginDate=29/12/2014&endDate=04/01/2015 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Sheep and Goat prices |
|
|
The code of the EU Member State. |
|
|
The name of the EU Member State. |
|
|
The valid start date period of the sheep and goat price. |
|
|
The valid end date period of the sheep and goat price. |
|
|
The week number of the year. |
|
|
The marketing year of the sheep and goat price. |
|
|
The category of the sheep and goat. |
|
|
The market name of the sheep and goat. |
|
|
The unit of the sheep and goat. |
|
|
The price of the sheep and goat. |
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"memberStateCode" : "PT",
"memberStateName" : "Portugal",
"beginDate" : "29/12/2014",
"endDate" : "04/01/2015",
"weekNumber" : 1,
"price" : "€524.00",
"unit" : "100CARC",
"category" : "Heavy Lamb",
"marketName" : "PT",
"marketingYear" : 2015
} ]
GET /api/sheepAndGoat/categories HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Sheep and Goat categories |
|
|
The category of the sheep and goat. |
|
|
The code of the sheep and goat product. |
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"productCode" : "EU_H",
"category" : "Heavy Lamb"
}, {
"productCode" : "EU_L",
"category" : "Light Lamb"
} ]
GET /api/sheepAndGoat/markets HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Sheep and Goat markets |
|
|
The code of the sheep and goat market. |
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"marketCode" : "ALL"
}, {
"marketCode" : "BE"
} ]
Parameter | Optional | Description |
---|---|---|
memberStateCodes |
true |
The optional codes of the EU Member States. |
years |
true |
The optional year to search for a specific sheep and goat production volume(s). |
months |
true |
The optional month name(s) to search for sheep and goat. They must be comma-separated and cannot be numbers. |
meats |
true |
The optional sheep and goat meat name(s) must be comma-separated. For more details check REST API : /api/sheepAndGoat/production/meats |
items |
true |
The optional sheep and goat meat item(s) must be comma-separated. For more details check REST API : /api/sheepAndGoat/production/items |
GET /api/sheepAndGoat/production?memberStateCodes=AT&meats=Sheepmeat&items=Slaughterings&years=2022&months=June HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Sheep and Goat production volumes |
|
|
The code of the EU Member State. |
|
|
The name of the EU Member State. |
|
|
The year corresponding to the sheep and goat production volume.. |
|
|
The month of the year. |
|
|
The meat type of the sheep and goat. |
|
|
The specific sheep and goat item. |
|
|
The number of production volume in 1000 Tonnes. |
|
|
The number of production volume in 1000 Heads. |
|
|
The number of production volume in Kg/head. |
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"memberStateCode" : "AT",
"memberStateName" : "Austria",
"year" : 2022,
"month" : "June",
"meat" : "Sheepmeat",
"item" : "Slaughterings",
"tonnes" : 0.56,
"heads" : 28.49,
"kgPerHead" : 19.66
} ]
GET /api/sheepAndGoat/production/meats HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Sheep and Goat production meats |
HTTP/1.1 200 OK
Content-Type: application/json
[ "Sheepmeat", "Goat meat" ]
GET /api/sheepAndGoat/production/items HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Path | Type | Description |
---|---|---|
|
|
Array with Sheep and Goat items |
HTTP/1.1 200 OK
Content-Type: application/json
[ "Slaughterings", "Slaughterings, other than in slaughterhouses" ]