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,
        "address": {
            "town": {
                "id": 137,
                "name": "Kyiv"
            },
            "country": {
                "sign": "UA",
                "name": "Ukraine"
            }
        },
        "name": "ЛАРДИС, ООО",
        "rating": {
            "positiveCommentCount": 3,
            "negativeCommentCount": 1,
            "points": 7.5
        },
        "vip": false,
        "createDate": 1249633124000
    },
    {
        "refId": 19539521022,
        "address": {
            "town": {
                "id": 49,
                "name": "Luhansk"
            },
            "country": {
                "sign": "UA",
                "name": "Ukraine"
            }
        },
        "name": "ЛардиТест2, ООО",
        "rating": {
            "positiveCommentCount": 0,
            "negativeCommentCount": 1,
            "points": 5.0
        },
        "vip": false,
        "createDate": 1306520065000
    },
    {
        "refId": 19152785018,
        "address": {
            "town": {
                "id": 49,
                "name": "Luhansk"
            },
            "country": {
                "sign": "UA",
                "name": "Ukraine"
            }
        },
        "name": "Ларди",
        "rating": {
            "positiveCommentCount": 0,
            "negativeCommentCount": 0,
            "points": 0.0
        },
        "vip": false,
        "createDate": 1393317383000
    }
]