CDB3-1148 LRE procedure can be patched without clarifications doc
Summary: doc should be required for patch
STR:
- Go to /api/procedures endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-05-30T23:56:00+00:00"
},
"sellingMethod": "landRental-english-fast",
"title": {
"uk_UA": "test UA title"
},
"description": {
"uk_UA": "test UA description"
},
"restrictions": {
"uk_UA": "test UA restrictions"
},
"conditions": {
"uk_UA": "test UA conditions"
},
"accessDetails": {
"uk_UA": "test UA access details"
},
"x_additionalInformation": {
"uk_UA": "test UA x_additionalInformation"
},
"x_documentRequirements": {
"uk_UA": "test UA x_documentRequirements"
},
"leaseType": "landSale",
"leaseDuration": "P2Y11M",
"sellingEntity": {
"identifier": {
"id": "12345678",
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "asd"
}
},
"address": {
"streetAddress": {
"uk_UA": "string"
},
"locality": {
"uk_UA": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"postalCode": "string",
"countryName": {
"uk_UA": "Україна"
}
},
"contactPoint": {
"name": {
"uk_UA": "asd"
},
"telephone": "+380123456789",
"faxNumber": "+380123456789",
"email": "admin@example.com"
}
},
"lotId": "string",
"value": {
"currency": "UAH",
"amount": 100.0
},
"normativeMonetaryValuation": {
"currency": "UAH",
"amount": 100.0
},
"expertMonetaryValuation": {
"currency": "UAH",
"amount": 100.0
},
"budgetSpent": {
"currency": "UAH",
"amount": 50.0
},
"guarantee": {
"currency": "UAH",
"amount": 10
},
"registrationFee": {
"currency": "UAH",
"amount": 5.0
},
"minimalStep": {
"currency": "UAH",
"amount": 20.0
},
"tenderAttempts": 1,
"items": [
{
"description": {
"uk_UA": "string"
},
"address": {
"streetAddress": {
"uk_UA": "string"
},
"locality": {
"uk_UA": "string"
},
"region": {
"uk_UA": "Київ"
},
"postalCode": "string",
"countryName": {
"uk_UA": "Україна"
}
},
"itemProps": {
"landArea": 500,
"cadastralNumber": "123456",
"ownershipType": "state",
"encumbrances": "arrest",
"jointOwnership": "no jointOwnership",
"utilitiesAvailability": "no utilitiesAvailability"
}
}
],
"bankAccounts": [
{
"accountType": "payment",
"accounts": [
{
"bankName": {
"uk_UA": "test_bank"
},
"accountIdentifications": [
{
"scheme": "UA-accountNumber",
"id": "12345"
}
],
"currency": "UAH"
}
]
}
]
}
- Try to patch procedure with /api/procedures/:procedure_id?acc_token= endpoint
Actual result: patched
Expected result: should be error for clarifications doc - https://prnt.sc/13kj5ru