POST api/Discounts

Request Information

URI Parameters

None.

Body Parameters

Discount
NameDescriptionTypeAdditional information
Id

integer

None.

OwnerGuid

globally unique identifier

None.

ContactLensProductId

integer

None.

DiscountTriggerTypeId

integer

None.

DiscountTriggerValue

string

String length: inclusive between 0 and 150

DiscountRewardTypeId

integer

None.

DiscountRewardValue

string

String length: inclusive between 0 and 150

DateStart

date

None.

DateEnd

date

None.

OwnerBigId

integer

None.

ContactLensProduct

ContactLensProduct

None.

DiscountRewardType

DiscountRewardType

None.

DiscountTriggerType

DiscountTriggerType

None.

RightEyedSubscriptions

Collection of Subscription

None.

LeftEyedSubscriptions

Collection of Subscription

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Discount
NameDescriptionTypeAdditional information
Id

integer

None.

OwnerGuid

globally unique identifier

None.

ContactLensProductId

integer

None.

DiscountTriggerTypeId

integer

None.

DiscountTriggerValue

string

String length: inclusive between 0 and 150

DiscountRewardTypeId

integer

None.

DiscountRewardValue

string

String length: inclusive between 0 and 150

DateStart

date

None.

DateEnd

date

None.

OwnerBigId

integer

None.

ContactLensProduct

ContactLensProduct

None.

DiscountRewardType

DiscountRewardType

None.

DiscountTriggerType

DiscountTriggerType

None.

RightEyedSubscriptions

Collection of Subscription

None.

LeftEyedSubscriptions

Collection of Subscription

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.