Eye surgery
list
request
GET /api/v2/doctor-dictionary/eye-surgeries/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
response
{
"content" : [ {
"name" : "Витрэктомия",
"deleted" : false
}, {
"name" : "Кератопластика",
"deleted" : false
}, {
"name" : "Кросслинкинг",
"deleted" : false
}, {
"name" : "Лазерная коагуляция сетчатки",
"deleted" : false
}, {
"name" : "Лазерная коррекция зрения",
"deleted" : false
}, {
"name" : "Операция исправления косоглазия",
"deleted" : false
}, {
"name" : "Операция по лечению глаукомы",
"deleted" : false
}, {
"name" : "Осложнения",
"deleted" : false
}, {
"name" : "Рефракционная замена хрусталика",
"deleted" : false
}, {
"name" : "Склеропластика",
"deleted" : false
}, {
"name" : "Удаление катаракты",
"deleted" : false
}, {
"name" : "Удаление образований на глазу",
"deleted" : false
}, {
"name" : "Фоторефрактивная кератэктомия",
"deleted" : false
}, {
"name" : "Энуклеация глаза",
"deleted" : false
} ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 20,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : true,
"totalElements" : 14,
"totalPages" : 1,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 14,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
eye surgery name |
|
|
is eye surgery deleted? |
create
request
POST /api/v2/doctor-dictionary/eye-surgeries HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
eye surgery name |
Must not be blank. |
deleted |
Boolean |
is eye surgery deleted? |
Must not be null |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
eye surgery name |
|
|
is eye surgery deleted? |
get
request
GET /api/v2/doctor-dictionary/eye-surgeries?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
eye surgery name |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
eye surgery name |
|
|
is eye surgery deleted? |
update
request
PUT /api/v2/doctor-dictionary/eye-surgeries?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
eye surgery name |
Must not be blank. |
deleted |
Boolean |
is eye surgery deleted? |
Must not be null |
Parameter | Description |
---|---|
|
eye surgery name |
response
HTTP/1.1 200 OK
delete
request
DELETE /api/v2/doctor-dictionary/eye-surgeries?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
eye surgery name |
response
HTTP/1.1 200 OK