OMNIDESK API
База знаний
Создание категории
POST  |  https://[domain].omnidesk.ru/api/kb_category.json
Создание категории.
Параметры
Запрос
{
  "kb_category" : {
    "category_title" : "Test category",
  }
}
{
  "kb_category" : {
    "category_title" : {
        "1" : "Название категории",
        "2" : "Category name",
  }
}
Ответ
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : "Test category",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X POST -d '{ "kb_category": { "category_title":"Test category" }}' https://[domain].omnidesk.ru/api/kb_category.json
Получение списка категорий
GET  |  https://[domain].omnidesk.ru/api/kb_category.json
Получение списка категорий.
Параметры
Ответ
{
    "0" : {
      "kb_category" : {
        "category_id" : 234,
        "category_title" : "Test category 1",
        "active" : true,
        "created_at" : Mon, 05 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
      }
    },
    "1" : {
      "kb_category" : {
        "category_id" : 235,
        "category_title" : "Test category 2",
        "active" : false,
        "created_at" : Mon, 15 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 13 Dec 2014 10:55:23 +0200
      }
    },
    "total_count":10
}
{
    "0" : {
      "kb_category" : {
        "category_id" : 234,
        "category_title" : {
            "1" :"Тест 1",
            "2" :"Test category 1"
        }
        "active" : true,
        "created_at" : Mon, 05 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
      }
    },
    "1" : {
      "kb_category" : {
        "category_id" : 235,
        "category_title" : {
            "1" :"Тест 2",
            "2" :"Test category 2"
        }
        "active" : false,
        "created_at" : Mon, 15 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 13 Dec 2014 10:55:23 +0200
      }
    },
    "total_count":10
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].omnidesk.ru/api/kb_category.json?limit=50&page=2
Просмотр категории
GET  |  https://[domain].omnidesk.ru/api/kb_category/[id].json
Просмотр категории.
Параметры
Ответ
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : "Test category",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : {
        "1" :"Тест 1",
        "2" :"Test category 1"
    }
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].omnidesk.ru/api/kb_category/234.json
Редактирование категории
PUT  |  https://[domain].omnidesk.ru/api/kb_category/[id].json
Редактирование категории.
Параметры
Запрос
{
  "kb_category" : {
    "category_title" : "Test category 2",
  }
}
{
  "kb_category" : {
    "category_title" : {
        "1" :"Тест 2",
        "2" :"Test category 2"
    }
  }
}
Ответ
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : "Test category 2",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '{ "kb_category": { "category_title":"Test category 2" }}' https://[domain].omnidesk.ru/api/kb_category/234.json
Выключение категории
PUT  |  https://[domain].omnidesk.ru/api/kb_category/[id]/disable.json
Выключение категории.
Ответ
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : "Test category 2",
    "active" : false,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_category/234/disable.json
Включение категории
PUT  |  https://[domain].omnidesk.ru/api/kb_category/[id]/enable.json
Включение категории.
Ответ
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : "Test category 2",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_category/234/enable.json
Переместить категорию на шаг вверх
PUT  |  https://[domain].omnidesk.ru/api/kb_category/[id]/moveup.json
Переместить на шаг вверх.
Ответ
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : "Test category 2",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_category/234/moveup.json
Переместить категорию на шаг вниз
PUT  |  https://[domain].omnidesk.ru/api/kb_category/[id]/movedown.json
Переместить на шаг вниз.
Ответ
{
  "kb_category" : {
    "category_id" : 234,
    "category_title" : "Test category 2",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_category/234/movedown.json
Удаление категории
DELETE  |  https://[domain].omnidesk.ru/api/kb_category/[id].json
Удаление категории.
Ответ
HTTP Status: 200 OK
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X DELETE https://[domain].omnidesk.ru/api/kb_category/234.json
Создание раздела
POST  |  https://[domain].omnidesk.ru/api/kb_section.json
Создание раздела.
Параметры
Запрос
{
  "kb_section" : {
    "section_title" : "Test section",
    "section_description" : "Test section description",
    "category_id": 1
  }
}
{
  "kb_section" : {
    "section_title" : {
        "1" :"Тест 1",
        "2" :"Test section 1"
    },
    "section_description" : {
        "1" :"Тест описание 1",
        "2" :"Test section description 1"
    },
    "category_id": 1
  }
}
Ответ
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 1,
    "section_title" : "Test section",
    "section_description" : "Test section description",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X POST -d '{ "kb_section": { "section_title":"Test section", "section_description":"Test section description", "category_id":1 }}' https://[domain].omnidesk.ru/api/kb_section.json
Получение списка разделов
GET  |  https://[domain].omnidesk.ru/api/kb_section.json
Получение списка разделов.
Параметры
Ответ
{
    "0" : {
      "kb_section" : {
        "section_id" : 10,
        "category_id" : 1,
        "section_title" : "Test section",
        "section_description" : "Test section description",
        "active" : true,
        "created_at" : Mon, 05 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
      }
    },
    "1" : {
      "kb_section" : {
        "section_id" : 11,
        "category_id" : 1,
        "section_title" : "Test section 2",
        "section_description" : "Test section 2 description",
        "active" : false,
        "created_at" : Mon, 15 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 13 Dec 2014 10:55:23 +0200
      }
    },
    "total_count":10
}
{
    "0" : {
      "kb_section" : {
        "section_id" : 10,
        "category_id" : 1,
        "section_title" : {
            "1" :"Тест 1",
            "2" :"Test section 1"
        },
        "section_description" : {
            "1" :"Тест описание 1",
            "2" :"Test section description 1"
        },
        "active" : true,
        "created_at" : Mon, 05 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
      }
    },
    "1" : {
      "kb_section" : {
        "section_id" : 11,
        "category_id" : 1,
        "section_title" : {
            "1" :"Тест 2",
            "2" :"Test section 2"
        },
        "section_description" : {
            "1" :"Тест описание 2",
            "2" :"Test section description 2"
        },
        "active" : false,
        "created_at" : Mon, 15 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 13 Dec 2014 10:55:23 +0200
      }
    },
    "total_count":10
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].omnidesk.ru/api/kb_section.json?category_id=1&limit=50&page=2
Просмотр раздела
GET  |  https://[domain].omnidesk.ru/api/kb_section/[id].json
Просмотр раздела.
Параметры
Ответ
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 1,
    "section_title" : "Test section",
    "section_description" : "Test section description",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 1,
    "section_title" : {
        "1" :"Тест 1",
        "2" :"Test section 1"
    },
    "section_description" : {
        "1" :"Тест описание 1",
        "2" :"Test section description 1"
    },
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].omnidesk.ru/api/kb_section/10.json
Редактирование раздела
PUT  |  https://[domain].omnidesk.ru/api/kb_section/[id].json
Редактирование раздела.
Параметры
Запрос
{
  "kb_section" : {
    "section_title" : "Test section 2",
    "section_description" : "Test section 2 description",
    "category_id": 2
  }
}
{
  "kb_section" : {
    "section_title" : {
        "1" :"Тест 2",
        "2" :"Test section 2"
    },
    "section_description" : {
        "1" :"Тест описание 2",
        "2" :"Test section description 2"
    },
    "category_id": 2
  }
}
Ответ
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 2,
    "section_title" : "Test section 2",
    "section_description" : "Test section 2 description",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '{ "kb_section": { "section_title":"Test section 2", "section_description":"Test section 2 description", "category_id": 2 }}' https://[domain].omnidesk.ru/api/kb_section/10.json
Выключение раздела
PUT  |  https://[domain].omnidesk.ru/api/kb_section/[id]/disable.json
Выключение раздела.
Ответ
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 2,
    "section_title" : "Test section 2",
    "section_description" : "Test section 2 description",
    "active" : false,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_section/10/disable.json
Включение раздела
PUT  |  https://[domain].omnidesk.ru/api/kb_section/[id]/enable.json
Включение раздела.
Ответ
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 2,
    "section_title" : "Test section 2",
    "section_description" : "Test section 2 description",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_section/10/enable.json
Переместить раздел на шаг вверх
PUT  |  https://[domain].omnidesk.ru/api/kb_section/[id]/moveup.json
Переместить на шаг вверх.
Ответ
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 2,
    "section_title" : "Test section 2",
    "section_description" : "Test section 2 description",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_section/10/moveup.json
Переместить раздел на шаг вниз
PUT  |  https://[domain].omnidesk.ru/api/kb_section/[id]/movedown.json
Переместить на шаг вниз.
Ответ
{
  "kb_section" : {
    "section_id" : 10,
    "category_id" : 2,
    "section_title" : "Test section 2",
    "section_description" : "Test section 2 description",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_section/10/movedown.json
Удаление раздела
DELETE  |  https://[domain].omnidesk.ru/api/kb_section/[id].json
Удаление раздела.
Ответ
HTTP Status: 200 OK
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X DELETE https://[domain].omnidesk.ru/api/kb_section/10.json
Создание статьи
POST  |  https://[domain].omnidesk.ru/api/kb_article.json
Создание статьи.
Параметры
Запрос
{
  "kb_article" : {
    "article_title" : "Test article title",
    "article_content" : "Test article content",
    "article_tags" : "test,article,content",
    "section_id": [10, 11]
  }
}
{
  "kb_article" : {
    "article_title" : {
        "1" :"Название статьи",
        "2" :"Test article title"
    },
    "article_content" : {
        "1" :"Содержание статьи",
        "2" :"Test article content"
    },
    "article_tags" : {
        "1" :"тег,тег,тег",
        "2" :"tag,tag,tag"
    },
    "section_id": [10, 11]
  }
}
Ответ
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 10,
    "section_id_arr" : [10, 11],
    "article_title" : "Test article title",
    "article_content" : "Test article content",
    "article_tags" : "tag,tag,tag",
    "access_type" : "public",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X POST -d '{ "kb_article": { "article_title":"Test article title", "article_content":"Test article content", "section_id": [10, 11] }}' https://[domain].omnidesk.ru/api/kb_article.json
Получение списка статей
GET  |  https://[domain].omnidesk.ru/api/kb_article.json
Получение списка статей.
Параметры
Ответ
{
    "0" : {
      "kb_article" : {
        "article_id" : 100,
        "section_id" : 10,
        "section_id_arr" : [10, 11], //если статья в нескольких разделах, ориентируйтесь по section_id_arr
        "article_title" : "Test article title",
        "article_content" : "Test article content",
        "article_tags" : "tag,tag,tag",
        "access_type" : "public",
        "active" : true,
        "created_at" : Mon, 05 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
      }
    },
    "1" : {
      "kb_article" : {
        "article_id" : 101,
        "section_id" : 11,
        "article_title" : "Test article title 2",
        "article_content" : "Test article content",
        "article_tags" : "tag,tag,tag",
        "access_type" : "public",
        "active" : false,
        "created_at" : Mon, 15 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 13 Dec 2014 10:55:23 +0200
      }
    }
}
{
    "0" : {
      "kb_article" : {
        "article_id" : 100,
        "section_id" : 10, 
        "section_id_arr" : [10, 11], //если статья в нескольких разделах, ориентируйтесь по section_id_arr
         "article_title" : {
            "1" :"Название статьи",
            "2" :"Test article title"
        },
        "article_content" : {
            "1" :"Содержание статьи",
            "2" :"Test article content"
        },
        "article_tags" : {
            "1" :"тег,тег,тег",
            "2" :"tag,tag,tag"
        },
        "access_type" : "public",
        "active" : true,
        "created_at" : Mon, 05 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
      }
    },
    "1" : {
      "kb_article" : {
        "article_id" : 101,
        "section_id" : 11,
        "article_title" : {
            "1" :"Название статьи 2",
            "2" :"Test article title 2"
        },
        "article_content" : {
            "1" :"Содержание статьи",
            "2" :"Test article content"
        },
        "article_tags" : {
            "1" :"тег,тег,тег",
            "2" :"tag,tag,tag"
        },
        "access_type" : "public",
        "active" : false,
        "created_at" : Mon, 15 May 2014 00:15:17 +0300,
        "updated_at" : Tue, 13 Dec 2014 10:55:23 +0200
      }
    }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].omnidesk.ru/api/kb_article.json?limit=50&page=2
Просмотр статьи
GET  |  https://[domain].omnidesk.ru/api/kb_article/[id].json
Просмотр статьи.
Параметры
Ответ
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 10,
    "section_id_arr" : [10, 11], //если статья в нескольких разделах, ориентируйтесь по section_id_arr
    "article_title" : "Test article title",
    "article_content" : "Test article content",
    "article_tags" : "tag,tag,tag",
    "access_type" : "public",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 10,
    "section_id_arr" : [10, 11], //если статья в нескольких разделах, ориентируйтесь по section_id_arr
    "article_title" : {
        "1" :"Название статьи",
        "2" :"Test article title"
    },
    "article_content" : {
        "1" :"Содержание статьи",
        "2" :"Test article content"
    },
    "article_tags" : {
        "1" :"тег,тег,тег",
        "2" :"tag,tag,tag"
    },
    "access_type" : "public",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].omnidesk.ru/api/kb_article/100.json
Редактирование статьи
PUT  |  https://[domain].omnidesk.ru/api/kb_article/[id].json
Редактирование статьи.
Параметры
Запрос
{
  "kb_article" : {
    "article_title" : "Test article title 2",
    "article_content" : "Test article 2 content",
    "article_tags" : "tag,tag_new",
    "section_id": 20
  }
}
{
  "kb_article" : {
    "article_title" : {
        "1" :"Название статьи 2",
        "2" :"Test article title 2"
    },
    "article_content" : {
        "1" :"Содержание статьи 2",
        "2" :"Test article content2"
    },
    "article_tags" : {
        "1" :"тег,те",
        "2" :"tag,tag"
    },
    "section_id": 20
  }
}
Ответ
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 20,
    "article_title" : "Test article title 2",
    "article_content" : "Test article 2 content",
    "article_tags" : "tag,tag_new",
    "access_type" : "public",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '{ "kb_article": { "article_title":"Test article title 2", "article_content":"Test article 2 content", "section_id": 20 }}' https://[domain].omnidesk.ru/api/kb_article/100.json
Выключение статьи
PUT  |  https://[domain].omnidesk.ru/api/kb_article/[id]/disable.json
Выключение статьи.
Ответ
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 20,
    "article_title" : "Test article title 2",
    "article_content" : "Test article 2 content",
    "access_type" : "public",
    "active" : false,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_article/100/disable.json
Включение статьи
PUT  |  https://[domain].omnidesk.ru/api/kb_article/[id]/enable.json
Включение статьи.
Ответ
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 20,
    "article_title" : "Test article title 2",
    "article_content" : "Test article 2 content",
    "access_type" : "public",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_article/100/enable.json
Переместить статью на шаг вверх
PUT  |  https://[domain].omnidesk.ru/api/kb_article/[id]/moveup.json
Переместить на шаг вверх.
Ответ
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 20,
    "article_title" : "Test article title 2",
    "article_content" : "Test article 2 content",
    "access_type" : "public",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_article/100/moveup.json
Переместить статью на шаг вниз
PUT  |  https://[domain].omnidesk.ru/api/kb_article/[id]/movedown.json
Переместить на шаг вниз.
Ответ
{
  "kb_article" : {
    "article_id" : 100,
    "section_id" : 20,
    "article_title" : "Test article title 2",
    "article_content" : "Test article 2 content",
    "access_type" : "public",
    "active" : true,
    "created_at" : Mon, 05 May 2014 00:15:17 +0300,
    "updated_at" : Tue, 23 Dec 2014 10:55:23 +0200
  }
}
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X PUT -d '' https://[domain].omnidesk.ru/api/kb_article/100/movedown.json
Удаление статьи
DELETE  |  https://[domain].omnidesk.ru/api/kb_article/[id].json
Удаление статьи.
Ответ
HTTP Status: 200 OK
Пример кода
curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X DELETE https://[domain].omnidesk.ru/api/kb_article/100.json