Contact lenses manufacturer
list
GET /api/v2/contact-lenses/manufacturers/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
{
"content" : [ {
"name" : "ALCON",
"deleted" : false
}, {
"name" : "BAUSCH&LOMB",
"deleted" : false
}, {
"name" : "CIBA",
"deleted" : false
}, {
"name" : "CooperVision",
"deleted" : false
}, {
"name" : "Interojo",
"deleted" : false
}, {
"name" : "Johnson&Johnson",
"deleted" : false
}, {
"name" : "OKVision",
"deleted" : false
} ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 20,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : true,
"totalElements" : 7,
"totalPages" : 1,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 7,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses manufacturer name |
|
|
is contact lenses manufacturer deleted? |
labels
GET /api/v2/contact-lenses/manufacturers/labels HTTP/1.1
[ {
"name" : "ALCON",
"deleted" : false
}, {
"name" : "BAUSCH&LOMB",
"deleted" : false
}, {
"name" : "CIBA",
"deleted" : false
}, {
"name" : "CooperVision",
"deleted" : false
}, {
"name" : "Interojo",
"deleted" : false
}, {
"name" : "Johnson&Johnson",
"deleted" : false
}, {
"name" : "OKVision",
"deleted" : false
} ]
Path | Type | Description |
---|---|---|
|
|
contact lenses manufacturer name |
|
|
is contact lenses manufacturer deleted? |
create
POST /api/v2/contact-lenses/manufacturers HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
contact lenses manufacturer name |
Must not be blank. |
deleted |
Boolean |
is contact lenses manufacturer deleted? |
Must not be null |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses manufacturer name |
|
|
is contact lenses manufacturer deleted? |
get
GET /api/v2/contact-lenses/manufacturers?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
contact lenses manufacturer name |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses manufacturer name |
|
|
is contact lenses manufacturer deleted? |
update
PUT /api/v2/contact-lenses/manufacturers?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
contact lenses manufacturer name |
Must not be blank. |
deleted |
Boolean |
is contact lenses manufacturer deleted? |
Must not be null |
Parameter | Description |
---|---|
|
contact lenses manufacturer name |
HTTP/1.1 200 OK
delete
DELETE /api/v2/contact-lenses/manufacturers?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
contact lenses manufacturer name |
HTTP/1.1 200 OK