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": "dc7c3ae4-7065-4ff0-b3f2-fb8f2908febf"
}
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>dc7c3ae4-7065-4ff0-b3f2-fb8f2908febf</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": "e040e970-2949-4857-8482-09b0b49a810b"
}
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>e040e970-2949-4857-8482-09b0b49a810b</MessageToPracticeId> <OrderAmountLeftEye>sample string 5</OrderAmountLeftEye> <OrderAmountRightEye>sample string 8</OrderAmountRightEye> </ContactLensOrderModel>