POST api/{version}/PurchaseAddons/SaveAddonStudentOrder

Used to save the add on details from add check out

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

AddOnCheckOutSaveInput
NameDescriptionTypeAdditional information
StudentOrderDetails

Gets or sets the student order details

StudentOrders

None.

OrderShippingDetails

Gets or sets the student order details

OrderShippingDetails

None.

PaymentInfo

Gets or sets the payment ifo details

StudentPaymentInfo

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 'StudentOrderDetails.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 'StudentOrderDetails.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 'AddOnCheckOutSaveInput'.

Response Information

Resource Description

AddOnCheckOutResponse
NameDescriptionTypeAdditional information
Result

Gets or sets the response after add ons

boolean

None.

StudentOrderDetails

Gets or sets the student order details

StudentOrders

None.

RedirectUrl

Gets or sets the redirect url

string

None.

Constant

Gets or sets the return values in a constants

string

None.

RedirectStudentProductId

Gets or sets the redirect student product id

integer

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 'StudentOrderDetails.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 'StudentOrderDetails.ProductsList[0].FeeAdjustmentList[0].StudentFeeAdjustmentList'.