Contact lenses color
list
GET /api/v2/contact-lenses/colors/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
{
"content" : [ {
"name" : "Amethyst",
"deleted" : false
}, {
"name" : "Aqua",
"deleted" : false
}, {
"name" : "BLUE",
"deleted" : false
}, {
"name" : "Black",
"deleted" : false
}, {
"name" : "Black out",
"deleted" : false
}, {
"name" : "Blue",
"deleted" : false
}, {
"name" : "Brilliant Blue",
"deleted" : false
}, {
"name" : "Browen",
"deleted" : false
}, {
"name" : "Brown",
"deleted" : false
}, {
"name" : "Caribbean Aqua",
"deleted" : false
}, {
"name" : "GREEN",
"deleted" : false
}, {
"name" : "Gemstone Green",
"deleted" : false
}, {
"name" : "Gold",
"deleted" : false
}, {
"name" : "Gray",
"deleted" : false
}, {
"name" : "Green",
"deleted" : false
}, {
"name" : "Hazel",
"deleted" : false
}, {
"name" : "Pacific Blue",
"deleted" : false
}, {
"name" : "Pure Gold",
"deleted" : false
}, {
"name" : "Pure Hazel",
"deleted" : false
}, {
"name" : "Sapphire",
"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 |
---|---|---|
|
|
contact lenses color name |
|
|
is contact lenses color deleted? |
labels
GET /api/v2/contact-lenses/colors/labels HTTP/1.1
[ {
"name" : "Amethyst",
"deleted" : false
}, {
"name" : "Aqua",
"deleted" : false
}, {
"name" : "BLUE",
"deleted" : false
}, {
"name" : "Black",
"deleted" : false
}, {
"name" : "Black out",
"deleted" : false
}, {
"name" : "Blue",
"deleted" : false
}, {
"name" : "Brilliant Blue",
"deleted" : false
}, {
"name" : "Browen",
"deleted" : false
}, {
"name" : "Brown",
"deleted" : false
}, {
"name" : "Caribbean Aqua",
"deleted" : false
}, {
"name" : "GREEN",
"deleted" : false
}, {
"name" : "Gemstone Green",
"deleted" : false
}, {
"name" : "Gold",
"deleted" : false
}, {
"name" : "Gray",
"deleted" : false
}, {
"name" : "Green",
"deleted" : false
}, {
"name" : "Hazel",
"deleted" : false
}, {
"name" : "Pacific Blue",
"deleted" : false
}, {
"name" : "Pure Gold",
"deleted" : false
}, {
"name" : "Pure Hazel",
"deleted" : false
}, {
"name" : "Sapphire",
"deleted" : false
}, {
"name" : "Sapphire Blue",
"deleted" : false
}, {
"name" : "Sea Green",
"deleted" : false
}, {
"name" : "Shimmer",
"deleted" : false
}, {
"name" : "Sparkle",
"deleted" : false
}, {
"name" : "Sterling Gray",
"deleted" : false
}, {
"name" : "Sterling Grey",
"deleted" : false
}, {
"name" : "TRUE SAPPHIRE",
"deleted" : false
}, {
"name" : "TURQUOISE",
"deleted" : false
}, {
"name" : "True Sapphire",
"deleted" : false
}, {
"name" : "True sapphire",
"deleted" : false
}, {
"name" : "Turquoise",
"deleted" : false
}, {
"name" : "Violet",
"deleted" : false
}, {
"name" : "~Aqua",
"deleted" : false
}, {
"name" : "~Blue",
"deleted" : false
}, {
"name" : "~Green",
"deleted" : false
} ]
Path | Type | Description |
---|---|---|
|
|
contact lenses color name |
|
|
is contact lenses color deleted? |
create
POST /api/v2/contact-lenses/colors HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
contact lenses color name |
Must not be blank. |
deleted |
Boolean |
is contact lenses color deleted? |
Must not be null |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses color name |
|
|
is contact lenses color deleted? |
get
GET /api/v2/contact-lenses/colors?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
contact lenses color name |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses color name |
|
|
is contact lenses color deleted? |
update
PUT /api/v2/contact-lenses/colors?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
contact lenses color name |
Must not be blank. |
deleted |
Boolean |
is contact lenses color deleted? |
Must not be null |
Parameter | Description |
---|---|
|
contact lenses color name |
HTTP/1.1 200 OK
delete
DELETE /api/v2/contact-lenses/colors?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
contact lenses color name |
HTTP/1.1 200 OK