Retrieving a user
Description
Obtaining open user data from Lardi-Trans LLC.
URL structure
GET /v2/users/user/{refId}
List of parameters
Name | Description | Parameter transfer type | Required(+)/Default(value) |
---|---|---|---|
refId |
User id. | Path parameter | + |
language |
Localization language. Usage details. | Query string parameter | ru |
Result
Sample request
curl -X GET -H "Accept: application/json" -H "Authorization: 3WQ1EQ465C4005000130" "https://api.lardi-trans.com/v2/users/user/12528341424?language=en"
Sample response
JSON
{
"refId": 12528341424,
"createDate": 1508500405000,
"brand": "Бренд",
"name": "Петров Петр Петрович",
"firmCode": "1954701600",
"ownershipType": "ENTREPRENEUR",
"address": {
"town": {
"id": 137,
"name": "Kyiv"
},
"area": {
"id": 23,
"name": "Kyiv Reg."
},
"country": {
"sign": "UA",
"name": "Ukraine"
},
"details": "ул. Шабалина 25"
},
"website": "http://petr-petrovich.com",
"vip": true,
"shipper": true,
"carrier": false,
"gpsCarrier": false,
"approvedContacts": true,
"approvedProfile": false,
"topBrand": false,
"rating": {
"positiveCommentCount": 136,
"negativeCommentCount ": 0,
"ownCommentCount": 80,
"points": 5.7
},
"face": "Иван",
"phones": [
{
"number": "+380(95)3222332",
"messengers": ["VIBER"]
}
]
}