GET exchange-office-ratings/list

Returns a list of Exchange Office Ratings.

URL

https://unicash.io/api/exchange-office-ratings/list

Parameters

access-token (string) (required) (header param) Access token for exchange office authentication.

Example success response

{
    "status": 200,
    "data": [
        {
            "id": 1,
            "id_exchange_office_currency_pair": 1,
            "id_transaction": 25993926,
            "name": "Abagael Sutherland",
            "email": "abagael.sutherland@gmail.com",
            "rating": 3,
            "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit suspendisse.",
            "type": 0,
            "amount": 7845,
            "wallet_number": 16632372,
            "created_at": 1512124200,
            "updated_at": 1512124200
        },
        {
            "id": 3,
            "id_exchange_office_currency_pair": 2,
            "id_transaction": 27801535,
            "name": "Abagael Sutherland",
            "email": "abagael.sutherland@gmail.com",
            "rating": 5,
            "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit suspendisse. Efficitur eget felis eu ullamcorper in at justo gravida.",
            "type": 0,
            "amount": 9484,
            "wallet_number": 72365784,
            "created_at": 1512124271,
            "updated_at": 1512124271
        }
    ]
}

Example error response

{
    "status": 400,
    "error": "This is an error message."
}