Accessory dictionary category
list
request
GET /api/v2/dictionary-accessories/categories/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
response
{
"content" : [ {
"name" : "Double spaces test",
"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
}, {
"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" : false,
"totalElements" : 35,
"totalPages" : 2,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 20,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
accessory category name |
|
|
is accessory category deleted? |
create
request
POST /api/v2/dictionary-accessories/categories HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
accessory category name |
Must not be blank. |
deleted |
Boolean |
is accessory category deleted? |
Must not be null |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
accessory category name |
|
|
is accessory category deleted? |
get
request
GET /api/v2/dictionary-accessories/categories?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
accessory category name |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
accessory category name |
|
|
is accessory category deleted? |
update
request
PUT /api/v2/dictionary-accessories/categories?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
accessory category name |
Must not be blank. |
deleted |
Boolean |
is accessory category deleted? |
Must not be null |
Parameter | Description |
---|---|
|
accessory category name |
response
HTTP/1.1 200 OK
delete
request
DELETE /api/v2/dictionary-accessories/categories?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
accessory category name |
response
HTTP/1.1 200 OK