CDB3-455 LLE/LLD/LLP block ability to add 'clarifications' docType after rectificationPeriod
Summary: according to MR - public-projects/documentations!404 (diffs)
STR:
- Go to /api/procedures endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-03-25T12:48:00+00:00"
},
"sellingMethod": "legitimatePropertyLease-english-fast",
"lotId": "sd",
"title": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"description": {
"uk_UA": "string",
"en_US": "string"
},
"x_additionalInformation": {
"uk_UA": "string",
"en_US": "string"
},
"value": {
"currency": "UAH",
"amount": 300.0099,
"valueAddedTaxIncluded": false
},
"valueAddedTaxCharged": false,
"calcOnBookValue": 0,
"guarantee": {
"currency": "UAH",
"amount": 2
},
"tenderAttempts": 1,
"accessDetails": {
"uk_UA": "ssss"
},
"minNumberOfQualifiedBids": 1,
"items": [
{
"itemType": "realEstate",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "04000000-8"
},
"unit": {
"code": "MTK"
},
"location": {
"latitude": "sd",
"longitude": "sd"
},
"address": {
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"countryName": {
"uk_UA": "Україна"
}
},
"reProps": {
"totalObjectArea": 23
},
"registrationDetails": {}
},
{
"itemType": "realEstate",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "04000000-8"
},
"unit": {
"code": "MTK"
},
"location": {
"latitude": "sd",
"longitude": "sd"
},
"address": {
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"countryName": {
"uk_UA": "Україна"
}
},
"reProps": {
"totalObjectArea": 23
},
"registrationDetails": {}
}
],
"minimalStep": {
"currency": "UAH",
"amount": 0.1
},
"registryId": "6048a0aafa3533ebadb0b32d",
"leaseRules": {
"intendedUseRestrictionMethod": "onlyDescribed",
"intendedUseRestrictionDescription": "wewe",
"schedule": {}
},
"relatedOrganizations": {
"sellingEntity": {
"identifier": {
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "12345637"
},
"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"
},
"propertyOwner": {
"identifier": {
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "12346437"
},
"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"
},
"ownershipType": "state"
},
"bankAccounts": {
"advancePaymentAccounts": {
"accountType": "registrationFee",
"accounts": [
{
"currency": "UAH",
"accountIdentifications": [
{
"scheme": "UA-MFO",
"id": ""
}
]
}
]
}
},
"registrationFee": {
"currency": "UAH",
"amount": 3000
},
"valuePeriod": "month",
"leaseDuration": "P4W",
"documents": [
{
"title": {
"uk_UA": "Назва",
"en_US": "Title"
},
"docum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lYzc5N2U5OWI3ZTBhNWNiNjI2YWRiODgzOWI0NGViZGJkMGUzOWJkN2IzOTk1ZWQxMTkiLCJoYXNoIjoibWQ1OmFmNTQ5YmI1NTVhOGJkMDU3OGNmZTQ3ZTQwYTAyNWUxIiwiZGF0ZUNyZWF0ZWQiOiIyMDIxLTAzLTI1IDEyOjQwOjM0LjA1NjE5NyIsImlhdCI6MTYxNjY3NjAzNH0.q5FOykaJ3UxF5oXtEhmYvFVa5iw5Xg0en74VK2jpKc7R_aAQJgXp4vnmCS_g5DIBX7BDGwcLDXc04zpE6cJ9yHu-eRtC96WRk8KHO_nNCwknMWVa_vBRwPedRzjuduG8CorSOsuJeAlsKzY9Xvjusk837wUDRN2RfFMqnSioPOWjUHj9-Z07FnqQcH0_lAYJTUWC-JFNdA4d6aJb6dmGgF8POLFJq2Pm2cq1_-P-S3S0DkiH-gEsPyRZDEXG7Az-VwiQu6oDE7yGje6Guq1iSXKaNmTKkrvy2ZfS9AisOOBbmnAWBOo8prHePcr4GmZlWVfc1gF9vy-51vVeoWqHqvSnVtjVBy3Hbt1OP1Jwemo8mDTEMm8ixCaI_S-C2-2IbHT1wo97dxCDZBrv35Y94L5jeMeQ2oyB8tsQhi3jaBOIZhJFLrR5GIDR2VUQEpVI_ce0H4EXukjVbKGvrTPuVHgRyz1UQccZYYgL0MtXcA4QB8H_7OR2KoxpIm82qcM7FhlnGuE4nEruq2_yRMHxCsarXFYSAiwIVjG07kJOBqG3Ox57oKcluP_nsPzY92-kLS9fN9Cv6y2y6kUWRezmvVmvHSSFhS9pM4PPTVWP0bRKSuSSDZuC3_rWr_x0RhxQl1zFlC7qCpr7NBasMna8JrDiIZB6qel84zZ_9twV0v8",
"title": {
"uk_UA": "Назва документу",
"en_US": "Pls, write here doc title"
},
"description": {
"uk_UA": "Опис документу",
"en_US": "Describe doc hele"
},
"index": 33,
"format": "string",
"language": 0,
"documentOf": "auction"
}
Procedure example: id - 605c8573d0f0b9e0df69b9e7 | acc_token - c0e12339-5162-44e6-abc2-3166517e6356
Actual result: doc with this docType can be uploaded
Expected result: public-projects/documentations!404 (diffs) check this MR
Edited by Vlad Murenko