LogoAPI Documentation

1. Agency — агентство.


1.1 Info — информация об агентстве.

200 OK

{
  "agency": {
    "name": "The Agency",
    "logo": "https://analytics.alloka.ru/system/agencies/005ceb0d5ec0cd5df98b07227ff6aff8dc44e186.png?1408538134",
    "domain": "calls.theagency.ru",
    "status": "active",
    "managers_count": 1,
    "clients_count": 4,
    "white_label_allowed": false,
    "credit_payments": true,
    "balance": "-$2,606.00"
  }
}

1.2 Transactions — транзакции агентсва.

200 OK

{
  "transactions": [
    {
      "id": <ID_ТРАНЗАКЦИИ>,
      "object_id": "<ID_ОБЪЕКТА>",
      "date": "16.08.2014 21:54:44",
      "amount": "$600.00",
      "balance": "-$2,606.00",
      "way": "-",
      "type": "renew",
      "client_id": 608
    },
    ...
  ],
  "offset": 0,
  "limit": 20,
  "count": 20,
  "total": 201
}