POST api/ContactLensOrders
Creates a contact lens order.
Request Information
URI Parameters
None.
Body Parameters
ContactLensOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Unique ID of the contact lens order. |
integer |
None. |
| CreatedUtc |
Date of contact lens order. |
string |
None. |
| LensNameLeftEye |
Name of lens for left eye. |
string |
None. |
| LensDetailLeftEye |
Details of lens for left eye. |
string |
None. |
| OrderAmountLeftEye |
Amount of order for left eye. |
string |
None. |
| LensNameRightEye |
Name of lens for right eye. |
string |
None. |
| LensDetailRightEye |
Details of lens for right eye. |
string |
None. |
| OrderAmountRightEye |
Amount of order for right eye. |
string |
None. |
| Comments |
Comments for contact lens order |
string |
None. |
| MessageToPracticeId |
Unique ID of message to practice. |
globally unique identifier |
None. |
Request Formats
application/json, text/json
{
"Id": 1,
"CreatedUtc": "sample string 2",
"LensNameLeftEye": "sample string 3",
"LensDetailLeftEye": "sample string 4",
"OrderAmountLeftEye": "sample string 5",
"LensNameRightEye": "sample string 6",
"LensDetailRightEye": "sample string 7",
"OrderAmountRightEye": "sample string 8",
"Comments": "sample string 9",
"MessageToPracticeId": "c1fbcad9-c99a-4ab1-bd5e-c3b919272967"
}
application/xml, text/xml
<ContactLensOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.ContactLensOrders"> <Comments>sample string 9</Comments> <CreatedUtc>sample string 2</CreatedUtc> <Id>1</Id> <LensDetailLeftEye>sample string 4</LensDetailLeftEye> <LensDetailRightEye>sample string 7</LensDetailRightEye> <LensNameLeftEye>sample string 3</LensNameLeftEye> <LensNameRightEye>sample string 6</LensNameRightEye> <MessageToPracticeId>c1fbcad9-c99a-4ab1-bd5e-c3b919272967</MessageToPracticeId> <OrderAmountLeftEye>sample string 5</OrderAmountLeftEye> <OrderAmountRightEye>sample string 8</OrderAmountRightEye> </ContactLensOrderModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ContactLensOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Unique ID of the contact lens order. |
integer |
None. |
| CreatedUtc |
Date of contact lens order. |
string |
None. |
| LensNameLeftEye |
Name of lens for left eye. |
string |
None. |
| LensDetailLeftEye |
Details of lens for left eye. |
string |
None. |
| OrderAmountLeftEye |
Amount of order for left eye. |
string |
None. |
| LensNameRightEye |
Name of lens for right eye. |
string |
None. |
| LensDetailRightEye |
Details of lens for right eye. |
string |
None. |
| OrderAmountRightEye |
Amount of order for right eye. |
string |
None. |
| Comments |
Comments for contact lens order |
string |
None. |
| MessageToPracticeId |
Unique ID of message to practice. |
globally unique identifier |
None. |
Response Formats
application/json, text/json
{
"Id": 1,
"CreatedUtc": "sample string 2",
"LensNameLeftEye": "sample string 3",
"LensDetailLeftEye": "sample string 4",
"OrderAmountLeftEye": "sample string 5",
"LensNameRightEye": "sample string 6",
"LensDetailRightEye": "sample string 7",
"OrderAmountRightEye": "sample string 8",
"Comments": "sample string 9",
"MessageToPracticeId": "4392032d-3488-4499-bdd5-a9dd98996ad3"
}
application/xml, text/xml
<ContactLensOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.ContactLensOrders"> <Comments>sample string 9</Comments> <CreatedUtc>sample string 2</CreatedUtc> <Id>1</Id> <LensDetailLeftEye>sample string 4</LensDetailLeftEye> <LensDetailRightEye>sample string 7</LensDetailRightEye> <LensNameLeftEye>sample string 3</LensNameLeftEye> <LensNameRightEye>sample string 6</LensNameRightEye> <MessageToPracticeId>4392032d-3488-4499-bdd5-a9dd98996ad3</MessageToPracticeId> <OrderAmountLeftEye>sample string 5</OrderAmountLeftEye> <OrderAmountRightEye>sample string 8</OrderAmountRightEye> </ContactLensOrderModel>