CDB3-327 dgf-english not correct "unsuccessfulReason" when 2 bidders disqualified
Summary: not correct reason setted during changing procedure state to "unsuccessful"
STR:
- Go to /api/procedures/ endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2020-11-23T13:38:00+00:00"
},
"previousAuctionId": "UA-PS-1999-12-12-000000-0",
"sellingMethod": "dgf-english-fast",
"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": 0,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "UAH",
"amount": 10,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"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": "string",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "04000000-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"
},
"itemProps": {
"totalBuildingArea": 12.5,
"totalObjectArea": 2222.3,
"constructionYear": 2020
}
},
{
"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"
},
"itemProps": {
"brand": "test",
"productionYear": 2020,
"transmission": "manual"
}
}
]
}
- Create 1 bid, make active
- Create 2 bid, make active
- Go to auction and make 1 bid > than bid.value.amount
- Upload doc to 1st award (rejectionProtocol), set "terminationReason": 1, change status to 'unsuccessful'
- Upload doc to 2nd award (rejectionProtocol), set "terminationReason": 1, change status to 'unsuccessful'
- Check procedure status and reason
Procedure example: id - 5fbbba40632a9ffefb5e48f4 | acc_token - fb074e7f-e5ca-4b1b-bba3-babd0b36d0a5
X-Request-ID: 22a11b69-8cde-42fe-8562-da67fa6a7a20
Actual result: "unsuccessfulReason" == 2
Expected result: in this case "unsuccessfulReason" should be 1 - https://prnt.sc/vofyw4