CDB3-456 LLD tenderAttemps should be readOnly & default == 3
Summary: blacklist & set default value
STR:
- Go to /api/procedures/ endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-04-07T13:29:00+00:00"
},
"sellingMethod": "legitimatePropertyLease-dutch-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": 3,
"valueAddedTaxIncluded": false
},
"valueAddedTaxCharged": true,
"guarantee": {
"currency": "UAH",
"amount": 2
},
"tenderAttempts": 1,
"accessDetails": {
"uk_UA": "ssss"
},
"items": [
{
"itemType":"otherProperty",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "48000000-8"
},
"unit": {
"code": "H87"
},
"quantity": 11.1126,
"location": {
"latitude": "sd",
"longitude": "sd"
}
},
{
"itemType": "jointPropertyComplex",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "05000000-5"
},
"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": "Україна"
}
},
"location": {
"latitude": "string",
"longitude": "string",
"elevation": "string"
},
"registrationDetails": {},
"jpcProps": {}
},
{
"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": 2323.23
},
"registrationDetails": {}
}
],
"dutchStep": {},
"registryId": "606c52e60f6cc113baa0abea",
"leaseRules": {
"intendedUseRestrictionMethod": "onlyDescribed",
"intendedUseRestrictionDescription": "wewe"
},
"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": "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"
},
"ownershipType": "state"
},
"bankAccounts": {
"advancePaymentAccounts": {
"accountType": "registrationFee",
"accounts": [
{
"currency": "UAH",
"accountIdentifications": [
{
"scheme": "UA-MFO",
"id": "343434"
}
]
}
]
}
},
"registrationFee": {
"currency": "UAH",
"amount": 3000
},
"valuePeriod": "month",
"leaseDuration": "P2Y11M",
"documents": [
{
"title": {
"uk_UA": "Назва",
"en_US": "Title"
},
"documentOf": "cancellation",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImRzIn0.eyJpZCI6ImVlYTBiMTk4Njc1NzQ4MmZhMjQ4M2FhYTEyOGUzMmIzIiwic2NvcGUiOiJwcml2YXRlIiwiZmlsZW5hbWUiOiJhY3QuZG9jeCIsImRvY3VtZW50VHlwZSI6ImNvbnRyYWN0UHJvZm9ybWEiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtb2ZmaWNlZG9jdW1lbnQud29yZHByb2Nlc3NpbmdtbC5kb2N1bWVudCIsInNoYSI6ImJlYzNkODc3OTI4NzVlYzc5N2U5OWI3ZTBhNWNiNjI2YWRiODgzOWI0NGViZGJkMGUzOWJkN2IzOTk1ZWQxMTkiLCJoYXNoIjoibWQ1OmFmNTQ5YmI1NTVhOGJkMDU3OGNmZTQ3ZTQwYTAyNWUxIiwiZGF0ZUNyZWF0ZWQiOiIyMDIxLTAyLTI1IDAwOjIxOjI1LjMxNTI4OSIsImlhdCI6MTYxNDIxMjQ4NX0.Lnuu9HYt_cfi2YmONKWR7uaLWb6Q5Ls5KnJozWOJATn-NX7ES8m3GsBLTrpG2Li97KpNauybns40CjuqgyDo1YpKWd6p9sdzAMy3OOILpDquYvExIvcfANYl-gBz6N0BqpTqwvYSDJ0oBglXvf3VIHGC5E-yPsaFVfjgdtWpURUjuSfwLKzqOwxwfbAYg1gWe4449fII_w3g4q3uSM3f6eoaNlPFauyXOSZjv_zaCwiKj9C0HG2ARQP6lL3FKawQHu5YWhvAigFWH9-n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2YWRiODgzOWI0NGViZGJkMGUzOWJkN2IzOTk1ZWQxMTkiLCJoYXNoIjoibWQ1OmFmNTQ5YmI1NTVhOGJkMDU3OGNmZTQ3ZTQwYTAyNWUxIiwiZGF0ZUNyZWF0ZWQiOiIyMDIxLTAzLTEwIDEwOjA3OjUzLjMwNDQwNyIsImlhdCI6MTYxNTM3MDg3M30.HrtKTEZ5srvwnR5da8KsgyQ-H4CAXFx_3vbBtT-F7EGDcztuxoftUF1Ki-C1Fp1ctMP4EZbSkqGLyN0JEa-LE_-aTz57mgrGvLGRfyhUhwk98w8yPsbReRGbXpS4Eacs1Vt1FxPP1b3g2q5ekv7mp3l3zHtMoYgfKgo4ngkn7s60URpzPkqHcBGUHprpRswsNw94UutDPY4kAP5Kuua-_qaJhpU9CpYTIPFt2Hxye31fl5daXkdfScCbLl1HTZsmguYE-sVdSLD1MCZbBBmz0lrjsUB1pV8irOyRL4-WDG-5glcZqvFITiUh7A-p0lGtgszZerIIajty2-1Ds_a6yrhf0K9IU8vjYrRqoxpa9vb_GhzVd8UjdX1yUj2t_KjQ3BgsHDfRiSjxkOmgMpua0JwjgSQk3vFYOcX0poybDugEOwn1-a_rwIZj4JSq5QBXu0d9PpopqsujFGoemiexK28pWA7Ntm3efoOKhhXmawQ9yFklN68aFV36q6qb3AbXhcW1vXg0RTabWvyNLdpmsEcFjtZMCxvQxwoJZtvxK1496mS6AL0Dny47ln4tuJ1EnnaWG_1sYAzi0--9R2naf7Y5uYBDnLDHgNgrkAWfJJXRHgP5TTH1gYAipn16jCsyluJ1XdwxOGjoRmID-Z97epN0LH1LUFtOU9QBA1p_K_8"
}
]
}
Actual result: procedure created with setted tenderAttemps field
Expected result: 'Cannot update with role owner' & default setted