GET exchange-office-ratings/show

Returns a Exchange Office Rating by the given id.

URL

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

Parameters

access-token (string) (required) (header param) Access token for exchange office authentication.
id (integer) (required) The id of the Exchange Office Rating that should be returned.

Example request

http://unicash.dev/api/exchange-office-ratings/show?id=1

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
    }
}

Example error response

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