CDB3-1148 LRE 500 server error on procedure creation
Summary: 500
STR:
- Go to /api/procedures endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-05-30T22:54: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": 2,
"previousAuctionId": "LRE001-UA-20210530-41749",
"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"
}
]
}
]
}
Actual result: 500 error
(X-R:) fa5f0c70-929f-4ff0-a444-39f8f7a292e3
Edited by Vlad Murenko