Department settings
get
request
GET /api/v2/departments/1000000003/settings HTTP/1.1
Parameter | Description |
---|---|
|
The department’s id |
response
HTTP/1.1 200 OK
{
"expectedGlassesMode" : true
}
Path | Type | Description |
---|---|---|
|
|
Are expected glasses used by default in glasses order? |
create/update
request
POST /api/v2/departments/1000000003/settings HTTP/1.1
{
"expectedGlassesMode" : false
}
Parameter | Description |
---|---|
|
The department’s id |
Path | Type | Description | Constraints |
---|---|---|---|
expectedGlassesMode |
Boolean |
Are expected glasses used by default in glasses order? |
Must not be null |
response
HTTP/1.1 200 OK