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": "69ca0909-e17f-427a-a094-19be0c548a4b"
}
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>69ca0909-e17f-427a-a094-19be0c548a4b</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": "bd4e94f3-3b48-4825-bb8f-1de527a4f281"
}
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>bd4e94f3-3b48-4825-bb8f-1de527a4f281</MessageToPracticeId> <OrderAmountLeftEye>sample string 5</OrderAmountLeftEye> <OrderAmountRightEye>sample string 8</OrderAmountRightEye> </ContactLensOrderModel>