POST api/{version}/PurchaseAddons/ApplySpecialDiscounts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

AddOnPromoCodeDetails
NameDescriptionTypeAdditional information
objAddOnCheckOut

Gets or sets the addon check out details

AddOnCheckOut

None.

PromocodeDiscount

Gets or sets the promo code details

PromocodeDiscount

None.

VerificationId

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ImsApi.Models.StudentsFeeAdjustments'. Path 'objAddOnCheckOut.StudentOrders.ProductsList[0].FeeAdjustmentList[0].StudentFeeAdjustmentList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ImsApi.Models.StudentsFeeAdjustments'. Path 'objAddOnCheckOut.StudentOrders.ProductsList[0].FeeAdjustmentList[0].StudentFeeAdjustmentList'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddOnPromoCodeDetails'.

Response Information

Resource Description

AddOnCheckOut
NameDescriptionTypeAdditional information
PurchsedProductInfo

Gets or sets the Purchsed Product Info

Collection of PurchasedItems

None.

StudentOrders

Gets or sets the cart items

StudentOrders

None.

Total

Gets or sets the total amount

decimal number

None.

GrandTotal

Gets or sets the grand total during check out page

decimal number

None.

ComboDiscount

Get or sets the combo discount amount

decimal number

None.

AlreadyPaid

Gets or sets the already paid amount

decimal number

None.

TobePaidPaid

Gets or sets the remaining amount to be paid

decimal number

None.

IsFromAddonCheckout

Gets or sets whether the details is from addon check out

boolean

None.

ToShowPurchaseSection

Gets or sets whether the to show the purchase section or not

boolean

None.

RemovedProductId

Gets or sets corporate offered product removed details for addon page

Collection of integer

None.

FromPage

string

None.

LaterAmount

Gets or sets LaterAmount for addon page

decimal number

None.

ShippingTypes

gets or set the shipping types based on shipment charges

Collection of SelectListItem

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ImsApi.Models.StudentsFeeAdjustments'. Path 'StudentOrders.ProductsList[0].FeeAdjustmentList[0].StudentFeeAdjustmentList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ImsApi.Models.StudentsFeeAdjustments'. Path 'StudentOrders.ProductsList[0].FeeAdjustmentList[0].StudentFeeAdjustmentList'.