GET /api/pigmeat/prices?memberStateCodes=PT,SI&pigClasses=S,E&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. |
|
pigClasses |
true |
The optional class(es) of the pigmeat are S, E, R, SE or/and Piglet and they must be comma-separated. |
|
marketingYears |
true |
The optional year(s) to search for pigmeat. |
|
months |
true |
The optional month(s) to search for pigmeat. |
|
weeks |
true |
The optional week(s) of a year to search for pigmeat. The first week of January is number 1. |
|
beginDate |
true |
The optional date interval start to search for pigmeat prices. |
|
endDate |
true |
The optional date interval end to search for pigmeat prices. |
GET /api/pigmeat/prices?memberStateCodes=PT,SI&pigClasses=S,E&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 pigmeat prices |
|
|
|
The code of the EU Member State. |
|
|
|
The name of the EU Member State. |
|
|
|
The valid start date period of the pigmeat price. |
|
|
|
The valid end date period of the pigmeat price. |
|
|
|
The week number of the year. |
|
|
|
The class of the pigmeat. |
|
|
|
The unit of the pigmeat. |
|
|
|
The price of the pigmeat. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 223
[ {
"memberStateCode" : "PT",
"memberStateName" : "Portugal",
"beginDate" : "23/03/2020",
"endDate" : "30/04/2020",
"weekNumber" : 5,
"price" : "€18.17",
"unit" : "100 KG",
"pigClass" : "Average S + E"
} ]
| Parameter | Optional | Description |
|---|---|---|
|
memberStateCodes |
true |
The optional codes of the EU Member States. |
|
categories |
true |
The optional category(ies) of the pigmeat cuts prices. They must be comma-separated. |
|
priceTypes |
true |
The optional price type(s) of the pigmeat cuts prices. They must be comma-separated. |
|
marketingYears |
true |
The optional year(s) to search for pigmeat cuts. |
|
months |
true |
The optional month(s) to search for pigmeat cuts. |
|
weeks |
true |
The optional week(s) of a year to search for pigmeat cuts. The first week of January is number 1. |
|
beginDate |
true |
The optional date interval start to search for pigmeat cuts prices. |
|
endDate |
true |
The optional date interval end to search for pigmeat cuts prices. |
GET /api/pigmeat/cuts/prices?memberStateCodes=DK,LT&categories=Ham,Minced%20Meat&priceTypes=Selling%20price&beginDate=24/01/2022&endDate=30/01/2022 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with pigmeat cuts prices |
|
|
|
The code of the EU Member State. |
|
|
|
The name of the EU Member State. |
|
|
|
The valid start date period of the pigmeat cuts price. |
|
|
|
The valid end date period of the pigmeat cuts price. |
|
|
|
The week number of the year. |
|
|
|
The category of the pigmeat cuts. |
|
|
|
The price type of the pigmeat cuts. |
|
|
|
The unit of the pigmeat cuts. |
|
|
|
The price of the pigmeat cuts. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 246
[ {
"memberStateCode" : "DK",
"memberStateName" : "Denmark",
"beginDate" : "24/01/2022",
"endDate" : "30/01/2022",
"weekNumber" : 4,
"price" : "€118.23",
"unit" : "100 KG",
"category" : "Ham",
"priceType" : "Selling price"
} ]
GET /api/pigmeat/cuts/categories HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with all pigmeat cuts categories |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 53
[ "Belly", "Ham", "Loin", "Minced Meat", "Shoulder" ]
GET /api/pigmeat/cuts/priceTypes HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with all pigmeat cuts price types |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 69
[ "Selling Price", "Retail buying price", "Non-retail buying price" ]
| Parameter | Optional | Description |
|---|---|---|
|
memberStateCodes |
true |
The optional codes of the EU Member States. |
|
categories |
true |
The optional category(ies) of the pigmeat cuts monthly prices. They must be comma-separated. |
|
priceTypes |
true |
The optional price type(s) of the pigmeat cuts monthly prices. They must be comma-separated. |
|
marketingYears |
true |
The optional year(s) to search for pigmeat cuts monthly prices. |
|
months |
true |
The optional month(s) to search for pigmeat cuts monthly prices. |
|
beginDate |
true |
The optional date interval start to search for pigmeat cuts monthly prices. |
|
endDate |
true |
The optional date interval end to search for pigmeat cuts monthly prices. |
GET /api/pigmeat/cuts/prices/month?memberStateCodes=DK,LT&categories=Minced%20Meat&priceTypes=Selling%20price&marketingYears=2022&months=1 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with pigmeat cuts monthly prices |
|
|
|
The code of the EU Member State. |
|
|
|
The name of the EU Member State. |
|
|
|
The valid start date period of the pigmeat cuts monthly price. |
|
|
|
The valid end date period of the pigmeat cuts monthly price. |
|
|
|
The marketing year of the pigmeat cuts monthly price. |
|
|
|
The month of the pigmeat cuts monthly price. |
|
|
|
The month number of the pigmeat cuts monthly price. |
|
|
|
The category of the pigmeat cuts monthly price. |
|
|
|
The price type of the pigmeat cuts monthly price. |
|
|
|
The unit of the pigmeat cuts monthly price. |
|
|
|
The price of the pigmeat cuts monthly price. |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 304
[ {
"memberStateCode" : "DK",
"memberStateName" : "Denmark",
"beginDate" : "01/01/2022",
"endDate" : "31/01/2022",
"price" : "€118.23",
"unit" : "100 KG",
"marketingYear": 2022,
"monthNumber" : 1,
"month" : "January",
"category" : "Minced Meat",
"priceType" : "Selling price"
} ]
GET /api/pigmeat/cuts/prices/month/categories HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with all pigmeat cuts monthly categories |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 17
[ "Minced Meat" ]
GET /api/pigmeat/cuts/prices/month/priceTypes HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
| Path | Type | Description |
|---|---|---|
|
|
|
Array with all pigmeat cuts monthly price types |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 69
[ "Selling Price", "Retail buying price", "Non-retail buying price" ]
| Parameter | Optional | Description |
|---|---|---|
|
memberStateCodes |
true |
The optional codes of the EU Member States to search for pigmeat production. |
|
years |
true |
The optional year(s) to search for pigmeat production. |
|
months |
true |
The optional month(s) number to search for pigmeat production. |
GET /api/pigmeat/production?memberStateCodes=SE&years=2022 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
| Path | Type | Description |
|---|---|---|
|
|
|
Array with pigmeat production |
|
|
|
The code of the EU Member State. |
|
|
|
The name of the EU Member State. |
|
|
|
The year corresponding to the pigmeat production volume. |
|
|
|
The month of the year. |
|
|
|
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
Content-Length: 178
[ {
"memberStateCode" : "SE",
"memberStateName" : "Sweden",
"year" : 2022,
"month" : "December",
"tonnes" : 20.53,
"heads" : 217.17,
"kgPerHead" : 94.53
} ]