All procedures | block ability to set status 'draft' for bid manually
Summary: status can be setted through endpoint
STR:
- Go to /api/procedures endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-04-14T15:46: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": 3100,
"valueAddedTaxIncluded": false
},
"valueAddedTaxCharged": false,
"calcOnBookValue": 0,
"guarantee": {
"currency": "UAH",
"amount": 2
},
"tenderAttempts": 1,
"accessDetails": {
"uk_UA": "ssss"
},
"items": [
{
"itemType": "vehicle",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"title": {"uk_UA": "sdsdsssdd"},
"classification": {
"scheme": "CAV",
"id": "34000000-7"
},
"location": {
"latitude": "sd",
"longitude": "sd"
},
"address": {
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"countryName": {
"uk_UA": "Україна"
}
},
"vehicleProps": {
},
"registrationDetails": {},
"quantity": 2323,
"unit": {
"code": "H87"
}
},
{
"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": "MTK"
},
"location": {
"latitude": "sd",
"longitude": "sd"
},
"address": {
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"countryName": {
"uk_UA": "Україна"
}
},
"quantity": 232,
"jpcProps": {
"landProps": {
"landArea": 2323
}
},
"registrationDetails": {}
}
],
"minimalStep": {
"currency": "UAH",
"amount": 0.1
},
"registryId": "60770d1ee88d5f13ffd294f8",
"leaseRules": {
"intendedUseRestrictionMethod": "onlyDescribed",
"intendedUseRestrictionDescription": "wewe",
"schedule": {
"other": "sdsd"
}
},
"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": [{
"accountType": "advancePayment",
"accounts": [{
"accountIdentifications": [{
"scheme": "UA-IBAN",
"id": "sd123455678901234567890123456"
}],
"currency": "UAH"
},
{
"accountIdentifications": [{
"scheme": "UA-IBAN",
"id": "sd123455678901234567890123456"
}],
"currency": "USD"
}]
},
{
"accountType": "lease",
"accounts": [{
"accountIdentifications": [{
"scheme": "UA-EDR",
"id": "12345637"
}],
"currency": "UAH"
},
{
"accountIdentifications": [{
"scheme": "UA-IBAN",
"id": "sd123455678901234567890123456"
}],
"currency": "USD"
}]
},
{
"accountType": "securityDeposit",
"accounts": []
},
{
"accountType": "guarantee",
"accounts": [{
"accountIdentifications": [{
"scheme": "UA-EDR",
"id": "12345637"
}],
"currency": "UAH"
},
{
"accountIdentifications": [{
"scheme": "UA-IBAN",
"id": "sd123455678901234567890123456"
}],
"currency": "USD"
}
]
},
{
"accountType": "registrationFee",
"accounts": [{
"accountIdentifications": [{
"scheme": "UA-EDR",
"id": "12345637"
}],
"currency": "UAH"
}]
},
{
"accountType": "improvementCompensation",
"accounts": [{
"accountIdentifications": [{
"scheme": "UA-EDR",
"id": "12345637"
}],
"currency": "UAH"
},
{
"accountIdentifications": [{
"scheme": "UA-IBAN",
"id": "sd123455678901234567890123456"
}],
"currency": "USD"
}]
},
{
"accountType": "other",
"accounts": [{
"accountIdentifications": [{
"scheme": "UA-EDR",
"id": "12345637"
}],
"currency": "UAH"
},
{
"accountIdentifications": [{
"scheme": "UA-IBAN",
"id": "sd123455678901234567890123456"
}],
"currency": "USD"
}]
}],
"registrationFee": {
"currency": "UAH",
"amount": 3000
},
"valuePeriod": "month",
"leaseDuration": "P2Y11M",
"documents": [
{
"title": {
"uk_UA": "Назва",
"en_US": "Title"
},
"documentOf": "cancellation",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImRzIn0.eyJpZCI6ImVkZWU4YTQxOTExZDRmZmVhOGQxNGEyMmEwODg3Nzk5Iiwic2NvcGUiOiJwdWJsaWMiLCJmaWxlbmFtZSI6ImF1Y3Rpb25Qcm90b2NvbC5kb2N4IiwiZG9jdW1lbnRUeXBlIjoiaWxsdXN0cmF0aW9uIiwiZm9ybWF0IjoiYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9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tFz90BN4_TcFoN9cw7BHUCgT4I0P2-9fM2i-DMzwCcclqqIfA3p99mtEt-4szQ4gCV-WDRLkHWuxb5n7Z9HM_Rb13RLZ5KH69bhboSPYwkcgyqSsgXS_1RSUH1-Jwat-sKYvbGDh2HPXwwBZnwgPk9xFAjMUK8XoVJPyoNGXlwOj8qAh0lInstO_rx6WM4ljYTncRZpVQh7Cfw4vCKkd-yYRiKc0JQiX3LbF2cOqBa0v6LjiaI0ckVA938ZJB3cs-Q0NNKj9E-sNKnr9Cimb78VA1qy1LY1w8tegKFF8whjkDmHbm875mnQL2D8hYoyZCScepz8hcsZq1aK67o3eGzsfTKQycG0R57Fp5kHktKQZXYjHj4JGKScZ3Xsp8"
}
]
}
- Wait rectification
- Make bid, make active
- Change status to draft with /api/procedures/:procedure_id/bids/:bid_id/status?acc_token=
Actual result: status can be setted
Expected result: status shouldn't be avaliable for setting