Authorization

Создание шаблона рабочего места

TemplateController ( privileges: Global: SYSTEM)

post/templates

Request

  • Base URL
    https://dev.curog.ru/api
  • URL
    https://dev.curog.ru/api/templates
  • Auth
    API key in header Authorization

Request body

namestring required

Наименование шаблона рабочего места

descriptionstring required

Описание шаблона рабочего места

Example request

{
  "name": "SYSTEM",
  "description": "Данный шаблон даёт полный доступ ко всем объектам программы"
}

Response

Oк

idinteger

Идентификатор записи в таблице templates

namestring

Шаблон рабочего места системного администратора

descriptionstring

string|null

Example response

{
  "id": 23,
  "name": "SYSTEM",
  "description": "Данный шаблон даёт полный доступ ко всем объектам программы"
}

Changes

No recorded changes to this operation across all 16 revisions of this API.