CDB3-327 CDB3-328 dgf-english/dutch I can set 'prolongationTerm' <= 'datePublished' during prolongation activation
Summary: in logical way 'prolongationTerm' can't be setted to date previous to publish date of prolongation
STR:
- Go to /api/procedures endpoint.
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2020-11-27T12:24: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": "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-IBAN",
"id": "As223323232378678905467894323"
}
]
}
],
"x_documentRequirements": {
"uk_UA": "string",
"en_US": "string"
},
"x_additionalInformation": {
"uk_UA": "string",
"en_US": "string"
},
"value": {
"currency": "UAH",
"amount": 1000,
"valueAddedTaxIncluded": 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": "06000000-2"
},
"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": "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"
}
}
],
"minimalStep": {
"currency": "UAH",
"amount": 10
}
}
- Make 2 bids, make them active
- Wait until auction finishes
- Create prolongation with next body:
{
"decisionId": "222",
"description": "jsdkjckjsndcjncskdnjckjs",
"datePublished": "2020-11-05T18:01:41.314000Z",
"documents": {}
}
(this body will be changed after #766 (closed) and #784 (closed) finished)
- Activate prolongation with next body:
{
"prolongationTerm": "2020-11-04T18:01:41.314000Z",
"reason": "legalObstacles"
}
(this body will be changed after #766 (closed) finished)
Procedure example: id - 5fc0eec9f49c2645e3fab25a | acc_token - 02d4c003-c736-410a-988f-c24e3f8154c4
X-R: 64b71d8b-f842-480b-93d4-f19e49d16878
Actual result: 'prolongationTerm' can be setted to previous dates
Expected result: term need to be setted for > 'datePublished' date
Edited by Vlad Murenko