Create a draft policy version with new check values
Changed onCreate a new draft from the active version with the check values you send. The live version can't be edited. Identify each check by its heron_id (from GET /policy_version/{version}). If a draft already exists, it is archived and its edits are not carried over. Checks you don't name keep their active values. All updates are validated first; if any fails, nothing is saved and the call returns 422 with every error listed. This does not publish the draft: call POST /policy_version/publish to make it live.
Request
- Base URLhttps://app.herondata.io
- URLhttps://app.herondata.io/api/policy_version/draft/check
- AuthAPI key in header x-api-key
Query parameters
Account to act on. Honoured only for admins.
Request body
Response
OK. changed is false when every value already matches the active version; then no draft is created and any existing draft is left as it is.
Changes
- warning
added the new
industry_categoryenum value to the////////////response property for the response status - warning
added the new
industry_categoryenum value to the///////////////response property for the response status - warning
added the new
industry_categoryenum value to the//////////response property for the response status - warning
added the new
industry_categoryenum value to the///////////////response property for the response status
- warning
- info
endpoint added
- info