Contact lenses name
list
request
GET /api/v2/contact-lenses/names/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
response
{
"content" : [ {
"name" : "1-DAY Acuvue Define",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Define Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist Multifocal",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist Multifocal Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist for ASTIGMATISM",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Oasys",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Oasys Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Oasys for ASTIGMATISM",
"deleted" : false
}, {
"name" : "1-DAY Acuvue TruEye",
"deleted" : false
}, {
"name" : "1-DAY Acuvue TruEye Diag",
"deleted" : false
}, {
"name" : "1-Day Acuvue Oasys",
"deleted" : false
}, {
"name" : "Acuvue 2",
"deleted" : false
}, {
"name" : "Acuvue Advance",
"deleted" : false
}, {
"name" : "Acuvue Oasys",
"deleted" : false
}, {
"name" : "Acuvue Oasys Diag",
"deleted" : false
}, {
"name" : "Acuvue Oasys for ASTIGMATISM",
"deleted" : false
}, {
"name" : "Adria Season",
"deleted" : false
}, {
"name" : "Air Optix Aqua",
"deleted" : false
} ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 20,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : false,
"totalElements" : 60,
"totalPages" : 3,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 20,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses name name |
|
|
is contact lenses name deleted? |
labels
request
GET /api/v2/contact-lenses/names/labels HTTP/1.1
response
[ {
"name" : "1-DAY Acuvue Define",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Define Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist Multifocal",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist Multifocal Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Moist for ASTIGMATISM",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Oasys",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Oasys Diag",
"deleted" : false
}, {
"name" : "1-DAY Acuvue Oasys for ASTIGMATISM",
"deleted" : false
}, {
"name" : "1-DAY Acuvue TruEye",
"deleted" : false
}, {
"name" : "1-DAY Acuvue TruEye Diag",
"deleted" : false
}, {
"name" : "1-Day Acuvue Oasys",
"deleted" : false
}, {
"name" : "Acuvue 2",
"deleted" : false
}, {
"name" : "Acuvue Advance",
"deleted" : false
}, {
"name" : "Acuvue Oasys",
"deleted" : false
}, {
"name" : "Acuvue Oasys Diag",
"deleted" : false
}, {
"name" : "Acuvue Oasys for ASTIGMATISM",
"deleted" : false
}, {
"name" : "Adria Season",
"deleted" : false
}, {
"name" : "Air Optix Aqua",
"deleted" : false
}, {
"name" : "Air Optix Aqua Multifocal",
"deleted" : false
}, {
"name" : "Air Optix Colors",
"deleted" : false
}, {
"name" : "Air Optix Colors Diag",
"deleted" : false
}, {
"name" : "Air Optix Night & Day",
"deleted" : false
}, {
"name" : "Air Optix Plus HydraGlyde",
"deleted" : false
}, {
"name" : "Air Optix for ASTIGMATISM",
"deleted" : false
}, {
"name" : "Avaira",
"deleted" : false
}, {
"name" : "Biofinity",
"deleted" : false
}, {
"name" : "Biofinity Diag",
"deleted" : false
}, {
"name" : "Biofinity Multifocal Diag",
"deleted" : false
}, {
"name" : "Biofinity Toric Diag",
"deleted" : false
}, {
"name" : "Biotrue ONEday",
"deleted" : false
}, {
"name" : "Clariti 1 Day Diag",
"deleted" : false
}, {
"name" : "Clariti 1 day",
"deleted" : false
}, {
"name" : "Color 2 tone",
"deleted" : false
}, {
"name" : "Color 2Tone",
"deleted" : false
}, {
"name" : "Color 3Tone",
"deleted" : false
}, {
"name" : "Crazy",
"deleted" : false
}, {
"name" : "Dailies Aqua Comfort+",
"deleted" : false
}, {
"name" : "Dailies Total One",
"deleted" : false
}, {
"name" : "Elegant Color",
"deleted" : false
}, {
"name" : "Elegant Color 2Tone",
"deleted" : false
}, {
"name" : "Free Eyes",
"deleted" : false
}, {
"name" : "Free Eyes (Comfilcon A)",
"deleted" : false
}, {
"name" : "Fresh Look ColorBlends",
"deleted" : false
}, {
"name" : "Fresh Look Colors Diag",
"deleted" : false
}, {
"name" : "Fresh Look Dimensions Diag",
"deleted" : false
}, {
"name" : "FreshLook ColorBlends",
"deleted" : false
}, {
"name" : "FreshLook Colors",
"deleted" : false
}, {
"name" : "FreshLook Dimensions",
"deleted" : false
}, {
"name" : "Glamorous Color",
"deleted" : false
}, {
"name" : "Glamorous color",
"deleted" : false
}, {
"name" : "Morning Q38",
"deleted" : false
}, {
"name" : "MyDay Daily Disposable",
"deleted" : false
}, {
"name" : "Optima",
"deleted" : false
}, {
"name" : "Optima FW",
"deleted" : false
}, {
"name" : "Prima BIO Bi-Focal",
"deleted" : false
}, {
"name" : "PureVision 2",
"deleted" : false
}, {
"name" : "Season",
"deleted" : false
}, {
"name" : "Ultra",
"deleted" : false
} ]
Path | Type | Description |
---|---|---|
|
|
contact lenses name name |
|
|
is contact lenses name deleted? |
create
request
POST /api/v2/contact-lenses/names HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
contact lenses name name |
|
deleted |
Boolean |
is contact lenses name deleted? |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses name name |
|
|
is contact lenses name deleted? |
get
request
GET /api/v2/contact-lenses/names?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
contact lenses name |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
contact lenses name name |
|
|
is contact lenses name deleted? |
update
request
PUT /api/v2/contact-lenses/names?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
contact lenses name name |
Must not be blank. |
deleted |
Boolean |
is contact lenses name deleted? |
Must not be null |
Parameter | Description |
---|---|
|
contact lenses name |
response
HTTP/1.1 200 OK
delete
request
DELETE /api/v2/contact-lenses/names?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
contact lenses name |
response
HTTP/1.1 200 OK