CDB3-327 dgf-english sellingEntity.address.countryName.uk_UA field doesn't have check for values out of enum
Summary: there is no any verification if user enter sellingEntity.address.countryName.uk_UA value out from aviable enum list.
STR:
- Go to /api/procedures endpoint
- Create POST request with body:
{
"auctionPeriod": {
"startDate": "2020-11-23T14:21:00+00:00"
},
"previousAuctionId": "UA-PS-1999-12-12-000000-0",
"sellingMethod": "dgf-english",
"sellingEntity": {
"identifier": {
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "12345678"
},
"address": {
"addressID": {
"scheme": "koatuu",
"id": "0110136600"
},
"streetAddress": {
"uk_UA": "string",
"en_US": "string"
},
"locality": {
"uk_UA": "string",
"en_US": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим",
"en_US": "string"
},
"countryName": {
"uk_UA": " "
}
},
"contactPoint": {
"email": "Tadmin@example.com",
"telephone": "+380123456789",
"name": {
"uk_UA": "string",
"en_US": "string"
},
"url": "http://string.com"
},
"representativeInfo": "Довіреність № 123 від 22.02.2012, дійсна до 30.03.2012/Наказ № 142 від 14.12.2019/Статут ТОВ Кульбаба від 24.07.2002"
},
"lotId": "string",
"title": {
"uk_UA": "string",
"en_US": "string"
},
"description": {
"uk_UA": "string",
"en_US": "string"
},
"decision": {
"decisionId": "string",
"decisionDate": "2020-11-04T17:28:58.265Z"
},
"bankAccount": [
{
"bankName": {
"uk_UA": "string",
"en_US": "string"
},
"description": {
"uk_UA": "string",
"en_US": "string"
},
"accountIdentifications": [
{
"scheme": "UA-EDR",
"id": "12345678"
}
]
}
],
"x_documentRequirements": {
"uk_UA": "string",
"en_US": "string"
},
"x_additionalInformation": {
"uk_UA": "string",
"en_US": "string"
},
"value": {
"currency": "UAH",
"amount": 214748364743,
"valueAddedTaxIncluded": true
},
"discount": {
"previousAuctionValue": {
"currency": "UAH",
"amount": 9999999999992.99,
"valueAddedTaxIncluded": true
},
"discountPercent": 10.5,
"discount": true
},
"guarantee": {
"currency": "UAH",
"amount": 10,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 10,
"virtualDataRoom": "http://virtial-data-room.com/id_of_room",
"eligibilityCriteria": "eligibilityCriteria",
"accessDetails": {
"uk_UA": "ssss"
},
"items": [
{
"description": {
"uk_UA": "лоытвсолтылвотслоытвсолты",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "07126000-8"
},
"unit": {
"code": "H87"
},
"quantity": 11.1126,
"address": {
"addressID": {
"scheme": "koatuu",
"id": "0110136600"
},
"streetAddress": {
"uk_UA": "string",
"en_US": "string"
},
"locality": {
"uk_UA": "string",
"en_US": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим",
"en_US": "string"
},
"postalCode": "string",
"countryName": {
"uk_UA": "Україна"
}
},
"additionalClassifications": [
{
"scheme": "CPVS",
"id": "QB49-3"
}
],
"location": {
"latitude": "string",
"longitude": "string",
"elevation": "string"
}
},
{
"description": {
"uk_UA": "лоытвсолтылвотслоытвсолты",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "07126000-8"
},
"unit": {
"code": "H87"
},
"quantity": 11.1126,
"address": {
"addressID": {
"scheme": "koatuu",
"id": "0110136600"
},
"streetAddress": {
"uk_UA": "string",
"en_US": "string"
},
"locality": {
"uk_UA": "string",
"en_US": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим",
"en_US": "string"
},
"postalCode": "string",
"countryName": {
"uk_UA": "Україна"
}
},
"additionalClassifications": [
{
"scheme": "CPVS",
"id": "QB49-3"
}
],
"location": {
"latitude": "string",
"longitude": "string",
"elevation": "string"
}
}
],
"minimalStep": {
"currency": "UAH",
"amount": 10,
"valueAddedTaxIncluded": true
}
}
X-Request-ID: 90d986e2-3f0f-4d5e-b529-82068921bfea
Actual result: no verification
Expected result: verification required accroding to enum list (Україна) like in #730 (closed)
Edited by Olga Kochubynska