Перейти к содержанию

Получение собственного тендера по идентификатору.

Описание

Получение собственного тендера по идентификатору.

Структура URL

POST /v2/tender/{id}/my"

Список параметров

Название Описание Тип передачи параметра Обязат.(+)/По умолч.(значение)
language Язык локации. Request Param ru
id Идентификатор тендера. Path parameter +

Результат

Результат

Структура "Ответ на запрос создания тендера".

Результаты с ошибками

Ошибка с кодом

Структура "Ошибка с кодом".

Пример запроса

BASH
curl --location -g --request POST 'http://localhost:8081/v2/tender/{id}/bid/accept?language=uk&bidId=621' \
--header 'Authorization: 2UGARXGHABV000000388' \
--data-raw '' 

Пример ответа

JSON
{
    "id": 3042,
    "dateCreate": 1662716948000,
    "dateEdit": 1662716948000,
    "type": "BIDS",
    "status": "CANCELED",
    "tenderStatusDate": 1663753500000,
    "tenderStatusReason": "tender.status.reason.cancel.by.timeout",
    "tenderVerificationStart": null,
    "tenderVerificationEnd": null,
    "dateLoad": null,
    "tenderStart": 1662718741000,
    "tenderEnd": 1663494300000,
    "directionFrom": {
        "countrySign": {
            "id": 1,
            "name": "Украина",
            "sign": "UA"
        },
        "area": {
            "id": 34,
            "name": "Харьковская обл."
        },
        "town": {
            "id": 69,
            "name": "Харьков"
        },
        "name": "Харьков",
        "postCode": "",
        "address": "",
        "lat": 49.9935,
        "lon": 36.230383
    },
    "directionTo": {
        "countrySign": {
            "id": 1,
            "name": "Украина",
            "sign": "UA"
        },
        "area": null,
        "town": {
            "id": 8283,
            "name": "Пхеньян"
        },
        "name": "Пхеньян",
        "postCode": "",
        "address": "",
        "lat": 39.011956,
        "lon": 125.786831
    },
    "distance": {
        "value": 8752785.508,
        "time": 381230878
    },
    "cargo": {
        "content": {
            "id": 59,
            "name": "арбуз навалом"
        },
        "length": 0.00,
        "width": 0.00,
        "height": 0.00,
        "weight": 10.000,
        "volume": 0.000,
        "photos": []
    },
    "truck": {
        "bodyType": {
            "id": 34,
            "name": "Тент"
        },
        "bodyTypeGroup": {
            "id": 1,
            "name": "Крытая"
        },
        "loadTypes": [
            null
        ],
        "count": 1,
        "periodicity": null
    },
    "payment": {
        "value": 500000000.00,
        "bidStep": 0.00,
        "currency": {
            "id": 14,
            "name": "узб. сум"
        },
        "form": null,
        "vat": false
    },
    "documents": [],
    "description": "",
    "owner": {
        "refId": 10101583040,
        "ownershipType": "JURIDICAL",
        "active": true,
        "deleted": false,
        "regDate": 1287399506000,
        "regProject": null,
        "firmCode": "25287052",
        "lang": "ru",
        "contact": {
            "contactId": 0,
            "name": "Ларди Тест",
            "nameWithoutBrand": "Ларди-тест8",
            "nameWithBrand": "Ларди Тест",
            "nameLang": "uk",
            "face": "Иванов Иван Иванович",
            "phoneItem1": {
                "phone": "+373(799)79833",
                "messengerTypes": []
            },
            "phoneItem2": {
                "phone": "+373(799)79811",
                "messengerTypes": [
                    "VIBER",
                    "WHATSAPP",
                    "TELEGRAM"
                ]
            },
            "phoneItem3": {
                "phone": "",
                "messengerTypes": [
                    "VIBER",
                    "WHATSAPP",
                    "TELEGRAM"
                ]
            },
            "phoneItem4": {
                "phone": "",
                "messengerTypes": []
            },
            "skype": "skype1234",
            "email": "zudya187@ua.fm",
            "avatarUrls": {
                "url40x40": "cdn1.lardi-trans.com/upload/gallery/26/7b9e/632dad7c7b683d1423659512_40x40.gif",
                "url100x100": "cdn1.lardi-trans.com/upload/gallery/40/1299c/632dad7c7b683d1423659512_100x100.gif"
            },
            "logoUrls": {
                "url40x40": "cdn1.lardi-trans.com/upload/gallery/124/15ee8/632d680d7b683d14236594a7_40x40.png",
                "url60x60": "cdn1.lardi-trans.com/upload/gallery/2e0/121c/632d680d7b683d14236594a7_60x60.png",
                "url72x72": "cdn1.lardi-trans.com/upload/gallery/46e/617a/632d680d7b683d14236594a7_72x72.png",
                "url100x100": "cdn1.lardi-trans.com/upload/gallery/316/16e36/632d680d7b683d14236594a7_100x100.png",
                "url170x132": "cdn1.lardi-trans.com/upload/gallery/92/d5e6/632d680d7b683d14236594a7_170x132.png",
                "url340x340": "cdn1.lardi-trans.com/upload/gallery/252/14542/632d680d7b683d14236594a7_340x340.png"
            }
        },
        "address": {
            "town": {
                "id": 7370,
                "name": "Великие Коровинцы"
            },
            "country": {
                "id": 1,
                "name": "Украина",
                "sign": "UA"
            },
            "area": {
                "id": 19,
                "name": "Житомирская обл."
            }
        },
        "rating": {
            "goodResponseCount": 2,
            "badResponseCount": 0,
            "ball": 7.2338
        },
        "flags": {
            "premium": false,
            "shipper": false,
            "carrier": false,
            "carrierGps": false,
            "approvedProfile": true,
            "approvedContacts": false,
            "topBrand": false,
            "vip": false,
            "lardiClient": true,
            "autoRepeat": true,
            "hideAds": false
        }
    },
    "bidSummary": {
        "best": 450.00,
        "worst": 450.00,
        "total": 1,
        "winner": null
    },
    "members": [
        {
            "comment": "О, мое любимое направление",
            "documents": [
                "eyJvYmplY3RJZCI6IjYzMjAyNzQwN2I2ODNkMTQyMzY1OGExYiIsImZpbGVOYW1lIjoibG9nby5qcGciLCJzM1BhdGgiOiIvdGVuZGVyLWJpZC1kb2N1bWVudC8yMDIyLzA5LzEzLzYzMjAyNzQwN2I2ODNkMTQyMzY1OGExYi5qcGVnIn0="
            ],
            "owner": {
                "refId": 15041032679,
                "ownershipType": "INDIVIDUAL",
                "active": true,
                "deleted": false,
                "regDate": 1487768761000,
                "regProject": null,
                "firmCode": "2853110842",
                "lang": "ru",
                "contact": {
                    "contactId": 0,
                    "name": "Разыграев Александр Викторович",
                    "nameWithoutBrand": "Разыграев Александр Викторович",
                    "nameWithBrand": "Разыграев Александр Викторович",
                    "nameLang": "uk",
                    "face": "Разыграев Александер",
                    "phoneItem1": {
                        "phone": "+380(50)8634409",
                        "messengerTypes": []
                    },
                    "phoneItem2": {
                        "phone": "",
                        "messengerTypes": []
                    },
                    "phoneItem3": {
                        "phone": "",
                        "messengerTypes": []
                    },
                    "phoneItem4": {
                        "phone": "",
                        "messengerTypes": []
                    },
                    "skype": "",
                    "email": "zudya@online.ua",
                    "avatarUrls": {
                        "url40x40": "cdn1.lardi-trans.com/upload/gallery/4d7/74a7/5cee5ecde4b012c1338f92d3_40x40.jpeg",
                        "url100x100": "cdn1.lardi-trans.com/upload/gallery/d1/18f39/5cee5ecde4b012c1338f92d3_100x100.jpeg"
                    },
                    "logoUrls": {
                        "url40x40": "cdn1.lardi-trans.com/upload/gallery/37c/9aa4/600146b6a6bb1846986448a9_40x40.jpeg",
                        "url60x60": "cdn1.lardi-trans.com/upload/gallery/3d0/2c90/600146b6a6bb1846986448a9_60x60.jpeg",
                        "url72x72": "cdn1.lardi-trans.com/upload/gallery/ce/395e/600146b6a6bb1846986448a9_72x72.jpeg",
                        "url100x100": "cdn1.lardi-trans.com/upload/gallery/3ee/10612/600146b6a6bb1846986448a9_100x100.jpeg",
                        "url170x132": "cdn1.lardi-trans.com/upload/gallery/21a/17946/600146b6a6bb1846986448a9_170x132.jpeg",
                        "url340x340": "cdn1.lardi-trans.com/upload/gallery/3da/57fe/600146b6a6bb1846986448a9_340x340.jpeg"
                    }
                },
                "address": {
                    "town": {
                        "id": 137,
                        "name": "Киев"
                    },
                    "country": {
                        "id": 1,
                        "name": "Украина",
                        "sign": "UA"
                    },
                    "area": {
                        "id": 23,
                        "name": "Киевская обл."
                    }
                },
                "rating": {
                    "goodResponseCount": 1,
                    "badResponseCount": 0,
                    "ball": 3.01
                },
                "flags": {
                    "premium": false,
                    "shipper": false,
                    "carrier": false,
                    "carrierGps": false,
                    "approvedProfile": true,
                    "approvedContacts": false,
                    "topBrand": false,
                    "vip": false,
                    "lardiClient": false,
                    "autoRepeat": false,
                    "hideAds": false
                }
            },
            "bidCount": 1,
            "actualBid": {
                "id": 1018,
                "date": 1663051572000,
                "value": 450.00
            }
        }
    ],
    "leader": {
        "comment": "О, мое любимое направление",
        "documents": [
            "eyJvYmplY3RJZCI6IjYzMjAyNzQwN2I2ODNkMTQyMzY1OGExYiIsImZpbGVOYW1lIjoibG9nby5qcGciLCJzM1BhdGgiOiIvdGVuZGVyLWJpZC1kb2N1bWVudC8yMDIyLzA5LzEzLzYzMjAyNzQwN2I2ODNkMTQyMzY1OGExYi5qcGVnIn0="
        ],
        "owner": {
            "refId": 15041032679,
            "ownershipType": "INDIVIDUAL",
            "active": true,
            "deleted": false,
            "regDate": 1487768761000,
            "regProject": null,
            "firmCode": "2853110842",
            "lang": "ru",
            "contact": {
                "contactId": 0,
                "name": "Разыграев Александр Викторович",
                "nameWithoutBrand": "Разыграев Александр Викторович",
                "nameWithBrand": "Разыграев Александр Викторович",
                "nameLang": "uk",
                "face": "Разыграев Александер",
                "phoneItem1": {
                    "phone": "+380(50)8634409",
                    "messengerTypes": []
                },
                "phoneItem2": {
                    "phone": "",
                    "messengerTypes": []
                },
                "phoneItem3": {
                    "phone": "",
                    "messengerTypes": []
                },
                "phoneItem4": {
                    "phone": "",
                    "messengerTypes": []
                },
                "skype": "",
                "email": "zudya@online.ua",
                "avatarUrls": {
                    "url40x40": "cdn1.lardi-trans.com/upload/gallery/4d7/74a7/5cee5ecde4b012c1338f92d3_40x40.jpeg",
                    "url100x100": "cdn1.lardi-trans.com/upload/gallery/d1/18f39/5cee5ecde4b012c1338f92d3_100x100.jpeg"
                },
                "logoUrls": {
                    "url40x40": "cdn1.lardi-trans.com/upload/gallery/37c/9aa4/600146b6a6bb1846986448a9_40x40.jpeg",
                    "url60x60": "cdn1.lardi-trans.com/upload/gallery/3d0/2c90/600146b6a6bb1846986448a9_60x60.jpeg",
                    "url72x72": "cdn1.lardi-trans.com/upload/gallery/ce/395e/600146b6a6bb1846986448a9_72x72.jpeg",
                    "url100x100": "cdn1.lardi-trans.com/upload/gallery/3ee/10612/600146b6a6bb1846986448a9_100x100.jpeg",
                    "url170x132": "cdn1.lardi-trans.com/upload/gallery/21a/17946/600146b6a6bb1846986448a9_170x132.jpeg",
                    "url340x340": "cdn1.lardi-trans.com/upload/gallery/3da/57fe/600146b6a6bb1846986448a9_340x340.jpeg"
                }
            },
            "address": {
                "town": {
                    "id": 137,
                    "name": "Киев"
                },
                "country": {
                    "id": 1,
                    "name": "Украина",
                    "sign": "UA"
                },
                "area": {
                    "id": 23,
                    "name": "Киевская обл."
                }
            },
            "rating": {
                "goodResponseCount": 1,
                "badResponseCount": 0,
                "ball": 3.01
            },
            "flags": {
                "premium": false,
                "shipper": false,
                "carrier": false,
                "carrierGps": false,
                "approvedProfile": true,
                "approvedContacts": false,
                "topBrand": false,
                "vip": false,
                "lardiClient": false,
                "autoRepeat": false,
                "hideAds": false
            }
        },
        "bidCount": 1,
        "actualBid": {
            "id": 1018,
            "date": 1663051572000,
            "value": 450.00
        }
    }
}