Lens price exclusion
save
request
POST /api/v2/lens/prices/exclusions?lensPriceId=9000009997 HTTP/1.1
[ {
"lensPriceId" : 9000009999,
"sphere" : -6.5,
"cylinderFrom" : 1.5,
"cylinderTo" : 1.75
}, {
"lensPriceId" : 9000009999,
"sphere" : -6.0,
"cylinderFrom" : 1.5,
"cylinderTo" : 1.75
} ]
Parameter | Description |
---|---|
|
id прейскуранта |
Path | Type | Description | Constraints |
---|---|---|---|
[] |
Array |
Массив исключений |
|
[].lensPriceId |
Number |
id прейскуранта |
|
[].cylinderFrom |
Number |
Цилиндр от |
|
[].cylinderTo |
Number |
Цилиндр до |
|
[].sphere |
Number |
Сфера |
get list
request
GET /api/v2/lens/prices/exclusions?lensPriceId=9000009999 HTTP/1.1
Parameter | Description |
---|---|
|
id прейскуранта |
response
HTTP/1.1 200 OK
[ {
"lensPriceId" : 9000009999,
"sphere" : -35.0,
"cylinderFrom" : -34.0,
"cylinderTo" : 34.0
} ]
Path | Type | Description |
---|---|---|
|
|
Массив исключений |
|
|
id прейскуранта |
|
|
Цилиндр от |
|
|
Цилиндр до |
|
|
Сфера |