Skip to content

Retrieving all tenders

Description

Retrieving tenders by criteria.

URL structure

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

List of parameters

Name Description Parameter transfer type Required(+)/Default(value)
language Localization language. Request Param ru
contactId ID of user's subordinate contact. Request Param
statuses Tender status. Request Param +
dateFrom Tender start date. Request Param
dateTo Tender end date. Request Param
page Number of pages. Request Param 1
size Page size. Request Param 100

Results

Structure "Response to a tender request".

Results with errors

Error with the code

Structure "Error with the code".

Sample request

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

Sample response

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": "Ukraine",
                    "sign": "UA"
                },
                "area": {
                    "id": 34,
                    "name": "Kharkiv Reg."
                },
                "town": {
                    "id": 69,
                    "name": "Kharkiv"
                },
                "name": "Kharkiv",
                "postCode": "",
                "address": "",
                "lat": 49.9935,
                "lon": 36.230383
            },
            "directionTo": {
                "countrySign": {
                    "id": 1,
                    "name": "Ukraine",
                    "sign": "UA"
                },
                "area": null,
                "town": {
                    "id": 8283,
                    "name": "Pyongyang"
                },
                "name": "Pyongyang",
                "postCode": "",
                "address": "",
                "lat": 39.011956,
                "lon": 125.786831
            },
            "distance": {
                "value": 8752785.508,
                "time": 381230878
            },
            "cargo": {
                "content": {
                    "id": 59,
                    "name": "watermelons in bulk"
                },
                "length": 0.00,
                "width": 0.00,
                "height": 0.00,
                "weight": 10.000,
                "volume": 0.000,
                "photos": []
            },
            "truck": {
                "bodyType": {
                    "id": 34,
                    "name": "Curtainsider"
                },
                "bodyTypeGroup": {
                    "id": 1,
                    "name": "Closed body"
                },
                "loadTypes": [
                    null
                ],
                "count": 1,
                "periodicity": null
            },
            "payment": {
                "value": 500000000.00,
                "bidStep": 0.00,
                "currency": {
                    "id": 14,
                    "name": "UZS"
                },
                "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": "Velyki Korovyntsi"
                    },
                    "country": {
                        "id": 1,
                        "name": "Ukraine",
                        "sign": "UA"
                    },
                    "area": {
                        "id": 19,
                        "name": "Zhytomyr Reg."
                    }
                },
                "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
    }
}