Create Regulation
POST/api/v1/project/:projectIdentifier/regulation
Create Regulation
Request
Path Parameters
projectIdentifier stringrequired
Project identifier (ID or name)
- application/json
Body
required
name stringrequired
Name of the regulation
displayName string
Display name of the regulation
description string
Description of the regulation
typeId numberrequired
ID of the regulation type
config string
Configuration of the regulation
order number
Order of the regulation
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
name stringrequired
Name of the regulation
displayName string
Display name of the regulation
description string
Description of the regulation
type
object
id numberrequired
ID of the regulation type
name stringrequired
Name of the regulation type
description stringrequired
Description of the regulation type
projectId numberrequired
Project associated with the regulation
config string
Configuration of the regulation
order numberrequired
Order of the regulation
{
"name": "string",
"displayName": "string",
"description": "string",
"type": {
"id": 0,
"name": "string",
"description": "string"
},
"projectId": 0,
"config": "string",
"order": 0
}
Loading...