Accessory model
list
request
GET /api/v2/doctor-dictionary/models/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
response
{
"content" : [ {
"name" : "+1,25 Оптимист V42173-01 РЦ 62",
"deleted" : false
}, {
"name" : "+1,5 Оптимист V42173-01 РЦ 62",
"deleted" : false
}, {
"name" : "+2,0 Оптимист V42173-02 РЦ 62",
"deleted" : false
}, {
"name" : "+2,5 Оптимист V42173-02 РЦ 62",
"deleted" : false
}, {
"name" : "-",
"deleted" : false
}, {
"name" : "100 mm",
"deleted" : false
}, {
"name" : "10000",
"deleted" : false
}, {
"name" : "15000",
"deleted" : false
}, {
"name" : "1501",
"deleted" : false
}, {
"name" : "1610",
"deleted" : false
}, {
"name" : "1615",
"deleted" : false
}, {
"name" : "1702",
"deleted" : false
}, {
"name" : "1705",
"deleted" : false
}, {
"name" : "200",
"deleted" : false
}, {
"name" : "3-в-1 с подсветкой",
"deleted" : false
}, {
"name" : "300",
"deleted" : false
}, {
"name" : "3000",
"deleted" : false
}, {
"name" : "350",
"deleted" : false
}, {
"name" : "400",
"deleted" : false
}, {
"name" : "450",
"deleted" : false
} ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 20,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : false,
"totalElements" : 197,
"totalPages" : 10,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 20,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
accessory model name |
|
|
is accessory model deleted? |
create
request
POST /api/v2/doctor-dictionary/models HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
accessory model name |
Must not be blank. |
deleted |
Boolean |
is accessory model deleted? |
Must not be null |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
accessory model name |
|
|
is accessory model deleted? |
get
request
GET /api/v2/doctor-dictionary/models?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
accessory model name |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
accessory model name |
|
|
is accessory model deleted? |
update
request
PUT /api/v2/doctor-dictionary/models?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
accessory model name |
Must not be blank. |
deleted |
Boolean |
is accessory model deleted? |
Must not be null |
Parameter | Description |
---|---|
|
accessory model name |
response
HTTP/1.1 200 OK
delete
request
DELETE /api/v2/doctor-dictionary/models?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
accessory model name |
response
HTTP/1.1 200 OK