Prescription

by client

request
GET /api/v2/clients/1000000010/prescription HTTP/1.1
Table 325. /api/v2/clients/{clientId}/prescription
Parameter Description

clientId

client’s id

response
HTTP/1.1 200 OK

{
  "prescriptions" : [ {
    "id" : 1000000002,
    "sphOd" : -1.25,
    "sphOs" : -2.0,
    "cylOd" : -0.5,
    "cylOs" : -0.5,
    "axOd" : 70,
    "axOs" : 90,
    "prism1DioptreOd" : null,
    "prism1DioptreOs" : null,
    "prism2DioptreOd" : null,
    "prism2DioptreOs" : null,
    "prism1BaseOd" : null,
    "prism1BaseOs" : null,
    "prism2BaseOd" : null,
    "prism2BaseOs" : null,
    "addidationOd" : null,
    "addidationOs" : null,
    "dpp" : 66.0,
    "dppOd" : 33.0,
    "dppOs" : 33.0,
    "visusOd" : null,
    "visusOs" : null,
    "purpose" : "Рецепт клиента",
    "purposeForClientPrescription" : null,
    "basis" : "CLIENT_PRESCRIPTION",
    "recommendedLenses" : null,
    "comments" : "",
    "date" : "2018-10-04T00:00:00.000+00:00",
    "deleted" : false,
    "empty" : null
  }, {
    "id" : 1000000001,
    "sphOd" : -0.5,
    "sphOs" : -1.0,
    "cylOd" : null,
    "cylOs" : null,
    "axOd" : null,
    "axOs" : null,
    "prism1DioptreOd" : null,
    "prism1DioptreOs" : null,
    "prism2DioptreOd" : null,
    "prism2DioptreOs" : null,
    "prism1BaseOd" : null,
    "prism1BaseOs" : null,
    "prism2BaseOd" : null,
    "prism2BaseOs" : null,
    "addidationOd" : null,
    "addidationOs" : null,
    "dpp" : 64.0,
    "dppOd" : 32.0,
    "dppOs" : 32.0,
    "visusOd" : null,
    "visusOs" : null,
    "purpose" : "Рецепт клиента",
    "purposeForClientPrescription" : null,
    "basis" : "CLIENT_PRESCRIPTION",
    "recommendedLenses" : null,
    "comments" : "",
    "date" : "2018-10-04T00:00:00.000+00:00",
    "deleted" : false,
    "empty" : null
  } ],
  "contactLensPrescriptions" : [ ]
}
Table 326. response description
Path Type Description

prescriptions.id

Number

Prescription’s id

prescriptions.sphOd

Number

Prescription’s sphOd

prescriptions.sphOs

Number

Prescription’s sphOs

prescriptions.cylOd

Number

Prescription’s cylOd

prescriptions.cylOs

Number

Prescription’s cylOs

prescriptions.axOd

Number

Prescription’s axOd

prescriptions.axOs

Number

Prescription’s axOs

prescriptions.addidationOd

Number

Prescription’s addidationOd

prescriptions.addidationOs

Number

Prescription’s addidationOs

prescriptions.dpp

Number

Prescription’s dpp

prescriptions.dppOd

Number

Prescription’s dppOd

prescriptions.dppOs

Number

Prescription’s dppOs

prescriptions.visusOd

Number

Prescription’s visusOd

prescriptions.visusOs

Number

Prescription’s visusOs

prescriptions.purpose

String

Prescription’s purpose

prescriptions.purposeForClientPrescription

String

Prescription’s purposeForClientPrescription

prescriptions.basis

String

Prescription’s basis

prescriptions.recommendedLenses

String

Prescription’s recommendedLenses

prescriptions.comments

String

Prescription’s comments

prescriptions.date

String

Prescription’s date

prescriptions.deleted

Boolean

Prescription’s deleted

prescriptions.empty

Boolean

Prescription’s empty

clPrescriptions.id

Number

CL Prescription’s id

clPrescriptions.sphOd

Number

CL Prescription’s sphOd

clPrescriptions.sphOs

Number

CL Prescription’s sphOs

clPrescriptions.cylOd

Number

CL Prescription’s cylOd

clPrescriptions.cylOs

Number

CL Prescription’s cylOs

clPrescriptions.axOd

Number

CL Prescription’s axOd

clPrescriptions.axOs

Number

CL Prescription’s axOs

clPrescriptions.addidationOd

Number

CL Prescription’s addidationOd

clPrescriptions.addidationOs

Number

CL Prescription’s addidationOs

clPrescriptions.radiusOd

Number

CL Prescription’s radiusOd

clPrescriptions.radiusOs

Number

CL Prescription’s radiusOs

clPrescriptions.diameterOd

Number

CL Prescription’s diameterOd

clPrescriptions.diameterOs

Number

CL Prescription’s diameterOs

clPrescriptions.model

String

CL Prescription’s model

clPrescriptions.color

String

CL Prescription’s color

clPrescriptions.basis

String

CL Prescription’s basis

clPrescriptions.comments

String

CL Prescription’s comments

clPrescriptions.date

String

CL Prescription’s date

clPrescriptions.deleted

Boolean

CL Prescription’s deleted