---
title: "POST /formrules/"
method: POST
path: "/formrules/"
tags: ["formrules"]
---

# POST /formrules/

`POST /formrules/`

## Query parameters

- `format` 'json' | 'xlsx'

## Request body

- FormRule
  - `id` string, uuid, required
  - `url` string, uri, required
  - `account` string, uri, required
  - `is_active` boolean
  - `name` string, required
  - `edit_url` string, uri, required
  - `view_url` string, uri, nullable
  - `pdf_url` string, uri, nullable
  - `rules` object, required

## Response `201`

## Changes

- **2022-09-08** `486e2fd12f8f` — 2 info
  - media type `application/json; version=2.3.5` was changed to `application/json; version=2.4.5` for the response status `201`
  - media type `application/xlsx; version=2.3.5` was changed to `application/xlsx; version=2.4.5` for the response status `201`
- **2022-08-19** `8446ece0e148` — 2 info
  - media type `application/json; version=2.4.13` was changed to `application/json; version=2.3.5` for the response status `201`
  - media type `application/xlsx; version=2.4.13` was changed to `application/xlsx; version=2.3.5` for the response status `201`

[Change history](https://skmtc.dev/oeklo/apis/gsmtasks-project-api/changes/formrules/post.md)

---

[API](https://skmtc.dev/oeklo/apis/gsmtasks-project-api.md) · [All operations](https://skmtc.dev/oeklo/apis/gsmtasks-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oeklo/gsmtasks-project-api/revisions/486e2fd12f8f/schema)
