CDB3-327 CDB3-328 dgf-english/dutch user can add not allowed bid docType during active_awarded state
Summary: docs with type commercialProposal, qualificationDocuments, eligibilityDocuments can be added
STR:
- Go to /api/procedures/ endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2020-12-03T16:07:00+00:00"
},
"sellingMethod": "dgf-dutch-fast",
"sellingEntity": {
"identifier": {
"scheme": "UA-IPN",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "1234563378"
},
"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": "sd",
"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-IBAN",
"id": "As223323232378678905467894323"
}
]
}
],
"x_documentRequirements": {
"uk_UA": "string",
"en_US": "string"
},
"x_additionalInformation": {
"uk_UA": "string",
"en_US": "string"
},
"value": {
"currency": "UAH",
"amount": 0.01,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "UAH",
"amount": 0,
"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": "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": {
"constructionTechnology": "monolithicFrame",
"totalBuildingArea": 12.5,
"totalObjectArea": 2222.3,
"constructionYear": 2020
}
},
{
"description": {
"uk_UA": "лоытвсолтылвотслоытвсолты",
"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"
}
},
{
"description": {
"uk_UA": "тест фівфwqeqweів",
"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"
}
},
{
"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"
}
}
],
"dutchStep": {}
}
- Make bid, make active
- Wait until auction finished
- Go to /api/procedures/:procedure_id/bids/:bid_id/documents?acc_token= endpoint and try to create doc with next body
{
"token": "",
"title": {
"uk_UA": "Назва",
"en_US": "Title"
},
"description": {
"uk_UA": "Опис",
"en_US": "Description"
},
"documentOf": "bid",
"documentType": "",
"index": 33,
"format": "string",
"language": 0
}
X-R: 12cea038-29ca-42e4-8201-b771fc28301d
Procedure example: id - 5fc90c06ceaa308ec13d1838 | acc_token - d1276387-4c5e-45ee-8143-592272d62062
Actual result: doc's created
Expected result: https://prnt.sc/vv65xv