Lunette

APIDescription
POST InscriptLunette

Create a glasses order from the Smart Kiosk. Recevoir les infos de prescription ,monture, lentille et succursale et retourner une valeur de statut

Paramètres reçus

- Clé de l'API

- Code client lunetterie

- Code succursale

- Prescription

o Sphère(OD / OS)

o Cylindre(OD / OS)

o Axe(OD / OS)

o Addition(OD / OS)

o Vertex(OD / OS)

o Acuité visuelle (OD/OS)

o Prisme 1 (OD/OS)

o Base prisme 1 (OD/OS)

o Prisme 2 (OD/OS)

o Base prisme 2 (OD/OS)

o Balance(OD / OS)

o Image prescription (pour imagerie)

- Code monture fournisseur

- Code lentille Opti-Pro

1 Returned value (integer) :

0 - Successful Order

1 - Store Id invalid

2 - Store connection error

3 - Client Id invalid

4 - Frame Id invalid

5 - Lens Id invalid

6 - Error saving the exam

7 - Error when registering the order

8 - Non-existent resource code when saving the imagery

9 - Imaging Type not found

10 - Error saving the imaging

11 - Invalid API Key

12 - Invalid CSV file

POST: wsoptipro/InscriptLunette

POST CreateGlassesFileGG

Create a glasses order from Glasses Gallery. Receieve prescription,frames,lens and store infos from a CSV file encoded in Base64. The webservice returns a single status value

Received parameters

- API Key

- Order id

- String of the encoded CSV file

1 Returned value (integer) :

0 - Successful Order

1 - Store Id invalid

2 - Store connection error

3 - Client Id invalid

4 - Frame Id invalid

5 - Lens Id invalid

6 - Error saving the exam

7 - Error when registering the order

8 - Non-existent resource code when saving the imagery

9 - Imaging Type not found

10 - Error saving the imaging

11 - Invalid API Key

12 - Invalid CSV file

POST: wsoptipro/CreateGlassesFileGG

POST CreateGlassesFilePA

Create an order from the shopping cart. Receieve prescription,frames,lens and store infos from a CSV file encoded in Base64. The webservice returns a single status value

Received parameters

- API Key

- Order id (filename)

- String of the encoded CSV file

1 Returned value (integer) :

0 - Successful Order

1 - Store Id invalid

2 - Store connection error

3 - Client Id invalid

4 - Frame Id invalid

5 - Lens Id invalid

6 - Error saving the exam

7 - Error when registering the order

8 - Non-existent resource code when saving the imagery

9 - Imaging Type not found

11 - Invalid API Key

12 - Invalid CSV file

POST: wsoptipro/CreateGlassesFilePA