Contact lens price exclusion
save
request
POST /api/v2/contact-lens/prices/exclusions?contactLensPriceId=9000009998 HTTP/1.1
[ {
"contactLensPriceId" : 9000009998,
"sphere" : 0.0,
"cylinderFrom" : -2.5,
"cylinderTo" : -1.5
} ]
Parameter | Description |
---|---|
|
id прейскуранта |
Path | Type | Description | Constraints |
---|---|---|---|
[] |
Array |
Массив исключений |
|
[].contactLensPriceId |
Number |
id прейскуранта |
Must not be null |
[].cylinderFrom |
Number |
Цилиндр от |
Must not be null |
[].cylinderTo |
Number |
Цилиндр до |
Must not be null |
[].sphere |
Number |
Сфера |
Must not be null |
get list
request
GET /api/v2/contact-lens/prices/exclusions?contactLensPriceId=9000009999 HTTP/1.1
Parameter | Description |
---|---|
|
id прейскуранта |
response
HTTP/1.1 200 OK
[ {
"contactLensPriceId" : 9000009999,
"sphere" : 0.0,
"cylinderFrom" : -2.5,
"cylinderTo" : -1.5
} ]
Path | Type | Description |
---|---|---|
|
|
Массив исключений |
|
|
id прейскуранта |
|
|
Цилиндр от |
|
|
Цилиндр до |
|
|
Сфера |