Registry settings
create
POST /api/v2/registry/settings HTTP/1.1
{
"activeFrom" : "2025-08-28",
"departmentId" : 1000000003,
"doctorOffices" : 3,
"receptionDuration" : 40
}
Path | Type | Description | Constraints |
---|---|---|---|
activeFrom |
String |
First date of the setting’s effect |
Must not be null |
departmentId |
Number |
The department’s id |
Must not be null |
doctorOffices |
Number |
Number of available record slots i.e. offices |
Must be at least 1. |
receptionDuration |
Number |
Duration of a record in minutes |
Must not be null. |
HTTP/1.1 201 Created
Location: /api/v2/registry/settings/8
{
"id" : 8,
"activeFrom" : "2025-08-28",
"activeTo" : null,
"departmentId" : 1000000003,
"doctorOffices" : 3,
"receptionDuration" : 40
}
list
GET /api/v2/registry/settings?departmentId=1000000003 HTTP/1.1
Parameter | Description |
---|---|
|
The department’s id |
HTTP/1.1 200 OK
[ {
"id" : 2,
"activeFrom" : "2009-01-01",
"activeTo" : null,
"departmentId" : 1000000003,
"doctorOffices" : 2,
"receptionDuration" : 30
} ]
Path | Type | Description |
---|---|---|
|
|
The setting’s id |
|
|
First date of the setting’s effect |
|
|
Last date of the setting’s effect |
|
|
The department’s id |
|
|
Number of available record slots i.e. offices |
|
|
Duration of a record in minutes |
get by date
GET /api/v2/registry/settings?departmentId=1000000003&date=2025-08-28 HTTP/1.1
Parameter | Description |
---|---|
|
The department’s id |
|
Date of the setting’s effect |
HTTP/1.1 200 OK
{
"id" : 8,
"activeFrom" : "2025-08-28",
"activeTo" : null,
"departmentId" : 1000000003,
"doctorOffices" : 3,
"receptionDuration" : 40
}
Path | Type | Description |
---|---|---|
|
|
The setting’s id |
|
|
First date of the setting’s effect |
|
|
Last date of the setting’s effect |
|
|
The department’s id |
|
|
Number of available record slots i.e. offices |
|
|
Duration of a record in minutes |
delete
DELETE /api/v2/registry/settings/8 HTTP/1.1
Parameter | Description |
---|---|
|
The registry setting’s id |
HTTP/1.1 200 OK