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

Получение всех собственных тендеров.

Описание

Получение собственных тендеров по критериям.

Структура URL

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

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

Название Описание Тип передачи параметра Обязат.(+)/По умолч.(значение)
language Язык локации. Request Param ru
contactId Идентификатор подчиненного контакта пользователя. Request Param
statuses Статус тендеров. Request Param +
dateForm Дата начала тендеров. Request Param
dateTo Дата окончания тендеров. Request Param
page Количество страниц. Request Param 1
size Размер страницы. Request Param 100

Результат

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

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

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

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

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

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

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

JSON
{
    "content": [
        {
            "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
            }
        }
    ],
    "paginator": {
        "current": 1,
        "perPage": 1,
        "pages": 7,
        "totalSize": 7
    }
}