CDB3-327 CDB3-328 dgf-english/dutch prolongation can be created for term < qualificationPeriod.endDate
Summary: qualificationPeriod.endDate can be changed to < in creation of prolongation
STR:
- Go to /api/procedures/ endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-01-04T19:07:00+00:00"
},
"sellingMethod": "dgf-english-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": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"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": 1001,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "UAH",
"amount": 0.01,
"valueAddedTaxIncluded": true
},
"discount": {
"discount": true,
"previousAuctionValue": {"currency": "UAH",
"amount": 1001.99},
"discountPercent": 10
},
"tenderAttempts": 1,
"virtualDataRoom": "http://virtial-data-room.com/id_of_room",
"eligibilityCriteria": "eligibilityCriteria",
"accessDetails": {
"uk_UA": "ssss"
},
"items": [
{
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"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"
},
"registrationDetails": {
"registrationStatus": "unknown",
"registrationID": "as",
"registrationDate": "1969-01-01T00:00:01.000000Z"
}
},
{
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"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"
},
"registrationDetails": {
"registrationStatus": "unknown",
"registrationID": "as",
"registrationDate": "1969-01-01T00:00:01.000000Z"
}
}
],
"minimalStep": {
"currency": "UAH",
"amount": 10
}
}
- Make 2 bids, make active
- Wait until auction finished
- Create prolongation for 1st 'active' award with next body:
{"awardId": "your_id",
"decisionId": "222",
"description": "jsdkjrtrtr",
"datePublished": "2021-01-04T19:09:17.481000Z",
"reason": "legalObstacles",
"documents": [{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImRzIn0.eyJpZCI6IjJhMDI0NWUxY2FhMjQ5MzhiZTI4Yjg1MjFmODBjM2VlIiwic2NvcGUiOiJwcml2YXRlIiwiZmlsZW5hbWUiOiJ0ZXN0LnR4dCIsImRvY3VtZW50VHlwZSI6InByb2xvbmdhdGlvblByb3RvY29sIiwiZm9ybWF0IjoidGV4dC9wbGFpbiIsInNoYSI6ImYzOTNlNjBmOTVlMDhjNGMyOWQ1ZDQxOWNiMTMyODgxODJmZjg0YTkyMDdmOWU1YjkzZmQ1Y2JlZmJiMGFkNmMiLCJoYXNoIjoibWQ1OjQ4YzVjOTkzYjUwZTE3ODhlNGNhMTFlNTgxYzhjYzIxIiwiZGF0ZUNyZWF0ZWQiOiIyMDIwLTEyLTE4IDE1OjQzOjM3Ljc3NDI2OSIsImlhdCI6MTYwODMwNjIxN30.rdcXiO0G8TXOKXSg63jaCkKonwqksPp0lha0V6bZpa3y9LfSfoC91dKmWP01BmbKDtTnZSUbV53UJZZB9k-rxOzOdOu55B8OG6xfYH8r2hOROQQUethwGmFOrr-0NnJwSPq7_MHQ8Go4HGkCozBhKr9nfQSdI4MSRiO45u87MNIALHmk9DcQ5RcfPljxEhGHI9ZzSzupN7JI5RlMi_x6R-jEk-qwYpZgDUIzb9ObzrT1eTz9vdP2R-T40kEne6u8zTpnK31svU0lS41YvW0Pk80EMZEZMDLE2RZhGYITE7re4E4N1GSJIxWWNzW_9wR528kqzRHkb_dl7zLPzM1vhSvFFCB5pwQlFyCKIy1ZmY1MWUko4EqA8gmME0xHNVkATe7dG-tJPeK8uzsvhNbU3lHQS57uIiXdubVt7Hbx8I4D5jXVv-gQwESoUi586HPvtGCkKHGXkdfBwipjj3Mu4biMSKTZNH__os3IbxbKEDlmaubdLWxlEpH_BkX86XhDln4ODp8BtH01F0OtEl3m4iYfmtE-Y2jOjTvKQulAvp_pwZLm357xq2k2ysD0AJjHtYDF-xWRjb7YEJ5vR2H6QefjiEJD6OVbySZfvGYt2uj6dyuhSe-CdAnJ4kLiBLAPjdwKDCXoGECSbVXVmkamqHk3-v1b1VDQ4MF3XLBLqxU",
"documentOf": "prolongation",
"title": {"uk_UA": "sds"}
}]
}
- Activate prolongation with:
{
"prolongationTerm": "2021-01-04T19:10:00.481000Z" (date should be < than qualificationPeriod.endDate)
}
Procedure example: id - 5ff3665668c55307381dd38a | acc_token - 24ab4a52-3992-43b9-bd4e-614573d2bf25
Actual result: prolongation can be created
Expected result: prolongation shouldn't change qualificationPeriod.endDate to less one