Skip to content

Search for users

Description

Search for users.

URL structure

GET /v2/users/search

List of parameters

Name Description Parameter transfer type Required(+)/Default(value)
language Localization language. Usage details. Query string parameter ru
query Search text (The search is performed by username, phone number, company code). Query string parameter +
countrySign Country code from the "Countries" directory. Query string parameter
queryLimit The desired number of responses, the maximum is 100. Query string parameter 10

Result

Array of "User" structures.

Sample request

curl -X GET -H "Accept: application/json" -H "Authorization: 3WQ1EQ465C4005000130" "https://api.lardi-trans.com/v2/users/search?language=en&query=%D0%BB%D0%B0%D1%80%D0%B4%D0%B8&countrySign=UA&queryLimit=3"

Sample response

JSON
[
    {
        "refId": 18871060884,
        "createDate": 1249633124000,
        "brand": "ЛАРДИС, ООО",
        "name": "ЛАРДИС, ООО",
        "firmCode": "0",
        "ownershipType": "JURIDICAL",
        "address": {
            "town": {
                "id": 137,
                "name": "Kyiv"
            },
            "area": {
                "id": 23,
                "name": "Kyiv Reg."
            },
            "country": {
                "sign": "UA",
                "name": "Ukraine"
            },
            "details": ""
        },
        "website": "",
        "vip": false,
        "shipper": false,
        "carrier": false,
        "gpsCarrier": false,
        "approvedContacts": true,
        "approvedProfile": false,
        "topBrand": false,
        "rating": {
            "positiveCommentCount": 1,
            "negativeCommentCount": 0,
            "ownCommentCount": 0,
            "points": 5.06549
        },
        "face": "Ольга",
        "phones": [
            {
                "number": "+380(93)2055589"
            }
        ]
    },
    {
        "refId": 10101583040,
        "createDate": 1287399506000,
        "brand": "Ларди-Tест Бренд",
        "name": "Ларди-Tест  3",
        "firmCode": "20851421",
        "ownershipType": "JURIDICAL",
        "address": {
            "town": {
                "id": 69,
                "name": "Kharkiv"
            },
            "area": {
                "id": 34,
                "name": "Kharkiv Reg."
            },
            "country": {
                "sign": "UA",
                "name": "Ukraine"
            },
            "details": "456678678"
        },
        "website": "https://www.facebook.com/",
        "vip": false,
        "shipper": false,
        "carrier": false,
        "gpsCarrier": false,
        "approvedContacts": true,
        "approvedProfile": false,
        "topBrand": false,
        "rating": {
            "positiveCommentCount": 7,
            "negativeCommentCount": 1,
            "ownCommentCount": 437,
            "points": 4.89642
        },
        "face": "Лицо1",
        "phones": [
            {
                "number": "+380(95)5638510",
                "messengers": [
                    "WHATSAPP",
                    "VIBER",
                    "TELEGRAM"
                ]
            },
            {
                "number": "+380(95)5638511",
                "messengers": [
                    "TELEGRAM"
                ]
            },
            {
                "number": "+380(95)5638512"
            },
            {
                "number": "+380(95)5638513"
            }
        ]
    }
]