Department settings

get

request
GET /api/v2/departments/1000000003/settings HTTP/1.1
Table 167. /api/v2/departments/{departmentId}/settings
Parameter Description

departmentId

The department’s id

response
HTTP/1.1 200 OK

{
  "expectedGlassesMode" : true
}
Table 168. response description
Path Type Description

expectedGlassesMode

Boolean

Are expected glasses used by default in glasses order?

create/update

request
POST /api/v2/departments/1000000003/settings HTTP/1.1

{
  "expectedGlassesMode" : false
}
Table 169. /api/v2/departments/{departmentId}/settings
Parameter Description

departmentId

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