...
| Code Block |
|---|
"_specs": {
"pipeline": {
"stages": [
{
"producedEntities": [
{
"type": "procedure",
"_id": "69945eec410e8611f93bb132",
"objectId": "SAE001-UA-20260320-17748",
"url": "/api/procedures/69945eec410e8611f93bb132"
}
],
"status": "unsuccessful",
"name": "sa-english-first",
"calculatedData": {
"value": {
"currency": "UAH",
"amount": 100000,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "UAH",
"amount": 10000
},
"registrationFee": {
"currency": "UAH",
"amount": 800
},
"tenderAttempts": 1,
"auctionPeriod": {
"startDate": "2026-03-20T14:30:31.326000+02:00"
},
"sellingMethod": "sanctionedAsset-english",
"minimalStep": {
"currency": "UAH",
"amount": 1200
}
}
},
{
"producedEntities": [
{
"type": "procedure",
"_id": "69945f5d410e8611f93bb134",
"objectId": "SAE001-UA-20260417-44432",
"url": "/api/procedures/69945f5d410e8611f93bb134"
}
],
"status": "active",
"name": "sa-english-second",
"calculatedData": {
"value": {
"currency": "UAH",
"amount": 50000,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "UAH",
"amount": 10000
},
"registrationFee": {
"currency": "UAH",
"amount": 800
},
"sellingMethod": "sanctionedAsset-english",
"tenderAttempts": 2,
"tenderPeriod": [
{
"unit": "с_day",
"quantity": 25
}
],
"minimalStep": {
"currency": "UAH",
"amount": 500
}
}
},
{
"producedEntities": [],
"status": "sheduled",
"name": "sa-dutch-first",
"calculatedData": {
"value": {
"currency": "UAH",
"amount": 50000,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "UAH",
"amount": 10000
},
"registrationFee": {
"currency": "UAH",
"amount": 800
},
"sellingMethod": "sanctionedAsset-dutch",
"tenderAttempts": 3,
"tenderPeriod": [
{
"unit": "c_day",
"quantity": 35
}
],
"minimalStep": {
"currency": "UAH",
"amount": 500
}
}
}
]
}
} |
Search
Потрібно реалізувати публічні ендпоінти, які будуть давати можливість отримувати перелік JSC обʼєктів за заданим пошуком
POST {{baseUrl}}/api/search/sanctionedAuctionChain
Мають бти реалізовані фільтри:
| Code Block | ||
|---|---|---|
| ||
{
"page": 1,
"limit": 10,
"filters": [
{
"field": "dateModified",
"operator": "gt",
"value": "2020-01-01T05:12:47.00Z"
},
{
"field": "dateModified",
"operator": "gte",
"value": "2020-01-01T05:12:47.00Z"
},
{
"field": "dateModified",
"operator": "lte",
"value": "2022-01-01T05:12:47.00Z"
},
{
"field": "dateModified",
"operator": "lt",
"value": "2026-04-01T05:12:47.00Z"
},
{
"field": "datePublished",
"operator": "lt",
"value": "2026-04-01T05:12:47.00Z"
},
{
"field": "owner",
"operator": "eq",
"value": "auction"
},
{
"field": "relatedEntities.type",
"operator": "eq",
"value": "procedure"
},
{
"field": "relatedEntities.objectId",
"operator": "eq",
"value": "SAE001-UA-20221216-99328"
},
{
"field": "relatedEntities._id",
"operator": "eq",
"value": "639c8a6a8646c52cb6413d2c"
},
{
"field": "extended_filters.human_id",
"operator": "eq",
"value": "JSC001-UA-20221216-41456"
}
]
} |
Має бути можливість отримувати обʼєкти з сортуванням:
POST {{baseUrl}}/api/search/sanctionedAuctionChain
| Code Block | ||
|---|---|---|
| ||
{
"page": 1,
"limit": 10,
"sort": [
{
"field": "dateModified",
"direction": "desc"
}
]
} |
Допрацювання процедур SAE SAD
...