Справочник API

Правовые профили

Версии правового профиля вашей организации.

Версии правового профиля

GET/v1/legal-profiles/{profile_id}/versions

Области доступа
legal:read

Versions of the legal profile of a basis profile, newest first, and a draft template with the purposes of the tenant.

Параметры

ПолеТипОбязательно
profile_idпутьstring (uuid)да

Ответы

  • 200LegalProfileVersionList
  • 400
  • 401
  • 403
  • 404
  • 409
  • 412
  • 413
  • 415
  • 422
  • 428
  • 429
  • 503

Создать версию правового профиля

POST/v1/legal-profiles/{profile_id}/versions

Области доступа
legal:write
Обязательный заголовок
Idempotency-Key

New draft version of the legal profile; an earlier draft becomes superseded. Structural violations - 422 with pointers under /content. The draft is approved by another identity of the customer (createApproval resource_type legal_profile) and then by the platform owner.

Параметры

ПолеТипОбязательно
profile_idпутьstring (uuid)да

Тело запросаLegalProfileVersionCreate

ПолеТипОбязательно
contentLegalProfileContentда

Ответы

  • 201LegalProfileVersion
  • 400
  • 401
  • 403
  • 404
  • 409
  • 412
  • 413
  • 415
  • 422
  • 428
  • 429
  • 503

Получить версию правового профиля

GET/v1/legal-profile-versions/{version_id}

Области доступа
legal:read

Параметры

ПолеТипОбязательно
version_idпутьstring (uuid)да

Ответы

  • 200LegalProfileVersion
  • 400
  • 401
  • 403
  • 404
  • 409
  • 412
  • 413
  • 415
  • 422
  • 428
  • 429
  • 503