Описание

Получение информации о заказе по его ID.

Пример запроса:

https://vkserfing.ru/api/campaign.getById?token=a56a7e1rwr358ee0c14c0e58d992da436&id=41531414

Пример ответа:

{
  "status": "success",
  "data": {
    "id": 363187,
    "parent_id": 0,
    "name": "ere",
    "type": "vk_community",
    "insurance": "off",
    "link": "https://vk.com/club1",
    "adult": "off",
    "time": "2018-06-05 19:31:13",
    "status": "on",
    "vote_type": "custom",
    "votes": [
        { "index": 3, "votes": 10 },
        { "index": 5, "votes": 20 },
    ],
    "comments_type": "custom",
    "comments": [
        { "text": "test comment" }
    ],
    "targeting": {
      "sex": 0,
      "relation": 0,
      "age_from": 0,
      "age_to": 999,
      "friends_from": 0,
      "friends_to": 9999,
      "subscribes_from": 0,
      "subscribes_to": 9999,
      "profile_photos_from": 0,
      "profile_photos_to": 999,
      "records_from": 0,
      "records_to": 99999,
      "month_reg_period": 0,
      "limit_per_day": 480,
      "automatic_records_limit": 0,
      "country": [
          {
              "id": 1,
              "name": "Россия"
          },
          {
              "id": 2,
              "name": "Украина"
          },
          {
              "id": 3,
              "name": "Беларусь"
          }
      ],
      "city": null
    },
    "money": {
      "spent": 5,
      "per_user": 0.5
    },
    "users": {
      "limit_total": 20,
      "limit_reserve": 18,
      "limit_system_per_hour": 8,
      "users_limit_random": "off",
      "automatic_current": 0,
      "automatic_records": 0,
      "current": 20,
      "current_reserve": 15,
      "left": 3,
      "members_before": 142
    },
    "project": null
  }
}
Параметры
Название Описание
id ID заказа
Параметры ответа

Все параметры ответа схожи с параметрами метода campaign.get для отдельно взятого заказа.