/procedures
POST {{base-api-url}}/procedures
Request Body
{"name"=>"My procedure", "description"=>"Description of my procedure with initial fields", "start"=>false, "enableCoolingOffPeriod"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"/procedures/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"My procedure","description":"Description of my procedure with cooling-off period","createdAt":"2020-10-31T11:58:44+01:00","updatedAt":"2020-10-31T11:58:44+01:00","finishedAt":null,"expiresAt":null,"status":"draft","creator":null,"creatorFirstName":null,"creatorLastName":null,"workspace":"/workspaces/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","workspaceName":"MyWorkspace","template":false,"ordered":false,"parent":null,"metadata":[],"config":[],"members":[],"subscribers":[],"relatedFilesEnable":false,"archive":false,"archiveMetadata":[],"fields":[],"permissions":[],"coolingOffPeriodEndsAt":null,"initials":false,"company":"/companies/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","files":[]}