POST api/ContactLensOrders

Creates a contact lens order.

Request Information

URI Parameters

None.

Body Parameters

ContactLensOrderModel
NameDescriptionTypeAdditional 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

Sample:
{
  "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": "f3082d90-1788-4492-a6a7-9824b1d9115c"
}

application/xml, text/xml

Sample:
<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>f3082d90-1788-4492-a6a7-9824b1d9115c</MessageToPracticeId>
  <OrderAmountLeftEye>sample string 5</OrderAmountLeftEye>
  <OrderAmountRightEye>sample string 8</OrderAmountRightEye>
</ContactLensOrderModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ContactLensOrderModel
NameDescriptionTypeAdditional 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

Sample:
{
  "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": "eb2d0217-d768-4f70-bd92-d163cd953009"
}

application/xml, text/xml

Sample:
<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>eb2d0217-d768-4f70-bd92-d163cd953009</MessageToPracticeId>
  <OrderAmountLeftEye>sample string 5</OrderAmountLeftEye>
  <OrderAmountRightEye>sample string 8</OrderAmountRightEye>
</ContactLensOrderModel>