POST
/transactional-api/create-future-action-ruleCreate Future Action Rule
Creates a new future action rule.
Authorization: Bearer token (JWT). See Authentication.
Request
curl -L -X POST 'https://{tenantId}.api.england.medicus.health/transactional-api/create-future-action-rule' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"name": "string",
"identifier": "string",
"description": "string"
}'
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Rule name. |
identifier | string | Yes | Stable machine-readable identifier for the rule. |
description | string (nullable) | No | Rule description. |
Responses
201 Created.
{
"id": "00000000-0000-0000-0000-000000000000"
}
400 Invalid request.
2 possible code values
| Code | Description | When |
|---|---|---|
missing-required-field | fieldName is required | a required field is absent |
invalid-operation | Human-readable reason. | business rule violation |
{
"errors": [
{
"code": "missing-required-field",
"description": "fieldName is required"
}
]
}