500 internal server error, by passing incorrect procurementMethod
Sample request for create procedure:
{
"procurementMethod": "renewables-bad",
"auctionPeriod": {
"startDate": "2020-01-20T16:40:01.000+0200"
},
"procuringEntity": {
"identifier": {
"id": "MN102030",
"legalName": {
"uk_UA": "ООО Організація закупщик"
},
"scheme": "UA-EDR-passport"
},
"address": {
"streetAddress": "пр. Незалежності, 2",
"locality": "Харків",
"region": "Харківська",
"postalCode": "61058",
"countryName": {
"uk_UA": "Україна"
}
},
"contactPoint": {
"name": {
"uk_UA": "Організатор Сергій Петрович"
},
"telephone": "+380993501020",
"faxNumber": "+380572681020",
"email": "owner@mail.com",
"url": "http://owner.org"
}
},
"lotIdentifier": "lodID",
"title": "Lot number 1",
"description": " lot #1 description",
"value": {
"currency": "eurocent",
"amount": 1000.0,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "EUR",
"amount": 5000.00,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "EUR",
"amount": 20.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"id": "b75870ac-dad1-405a-9aae-ecea87cd38f7",
"description": "string",
"classification": {
"scheme": "CPV",
"id": "09300000-2"
},
"additionalClassifications": [
{
"scheme": "renewables",
"id": "07"
}
],
"unit": {
"code": "KWT"
},
"quantity": 100.0,
"address": {
"streetAddress": "string",
"locality": "string",
"region": "string",
"postalCode": "string",
"countryName": {
"uk_UA": "asd"
}
}
}
],
"documents": []
}
Response:
500 {
"message": "Internal server error"
}