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": "913e810d-ebdc-4993-843d-87c05b5b93fe"
}

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>913e810d-ebdc-4993-843d-87c05b5b93fe</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": "389483cb-8c23-4761-b775-339ceffda18f"
}

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>389483cb-8c23-4761-b775-339ceffda18f</MessageToPracticeId>
  <OrderAmountLeftEye>sample string 5</OrderAmountLeftEye>
  <OrderAmountRightEye>sample string 8</OrderAmountRightEye>
</ContactLensOrderModel>