Skip to content

Retrieve views of My Offer

Description

Retrieve the number of views and the list of users who viewed the offer.

URL structure

GET /v2/proposals/my/visitor/{type}/{id}/{status}

List of parameters

Name Description Parameter transfer type Required(+)/Default(value)
type Enumeration "Offer type". Path parameter +
id Offer ID Path parameter +
status Enumeration "Offer status". Path parameter +
language Localization language. "Description of use". Query string parameter en

Result

The number of views and an array of "Offer owner" structures.

Sample request

curl -X GET -H "Accept: application/json" -H "Authorization: *****" "https://api.lardi-trans.com/v2/proposals/my/visitor/gruz/00000/published" 

Sample response

JSON
{
    "visitorCount": 2,
    "visitors": [
        ...
    ]
}