POST api/PurchaseAddons/RemoveStudentCartItems

Used to delete the student cart items details and return the other check out details items

Request Information

URI Parameters

None.

Body Parameters

StudentProductBase
NameDescriptionTypeAdditional information
Periodid

Gets or sets period id

integer

None.

CourseId

Gets or sets course id

integer

None.

CenterId

Gets or sets center id

integer

None.

CourseRepeatTypeId

Gets or sets courserepeattype id

integer

None.

Registrationid

Gets or sets registration id

integer

None.

StudentProductId

Gets or sets the student product id

integer

None.

ProductId

Gets or sets the product id

integer

None.

ProductType

Gets or sets the product Type

string

None.

StudentId

Gets or sets the student id

integer

None.

RegisteredFee

Gets or sets the registered fee details

decimal number

None.

OrderId

Gets or sets the order id

integer

None.

StudentCartItemId

Gets or sets the student cart item id

integer

None.

FromPage

Gets or sets the from page of add ons

string

None.

IMSDiscipline

Gets or sets the division id

string

None.

ShippingType

Gets or sets shipping type

string

None.

CorporateCodeDetails

Gets or sets corporate code details for tile page

CorporateCodeInfo

None.

RemovedProductId

Gets or sets corporate offered product removed details for addon page

Collection of integer

None.

IsCorporateCodeRemoved

To handle the corporate code applied automatically on deleteing the cart item

boolean

None.

IsSheerIdAlreadyVerified

string

None.

sheeridtoken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Periodid": 1,
  "CourseId": 2,
  "CenterId": 3,
  "CourseRepeatTypeId": 4,
  "Registrationid": 5,
  "StudentProductId": 6,
  "ProductId": 7,
  "ProductType": "sample string 8",
  "StudentId": 9,
  "RegisteredFee": 10.0,
  "OrderId": 11,
  "StudentCartItemId": 12,
  "FromPage": "sample string 13",
  "IMSDiscipline": "sample string 14",
  "ShippingType": "sample string 15",
  "CorporateCodeDetails": {
    "CorporateId": 1,
    "CorporateCode": "sample string 2",
    "CorporateAdditionalDiscount": 3.0,
    "CorporatePaidAmount": 4.0,
    "CorporateDiscountEndDate": "2026-04-02T09:48:17.3862235-04:00",
    "IsDisableCorporateDiscount": true,
    "CorporateFeeType": "sample string 7",
    "IsCorporateOffered": true,
    "isCorporateRegistration": true,
    "isCorporateCodeRequired": true,
    "takeCourseFee": true,
    "IsCollectShippingTaxFromStudent": true,
    "PackageId": 12,
    "OfferedPackageId": 13,
    "CollectFeeFromStudent": true,
    "ComboDiscount": 15.0,
    "ActualFee": 16.0,
    "IsDefaultOffered": true
  },
  "RemovedProductId": [
    1,
    2
  ],
  "IsCorporateCodeRemoved": true,
  "IsSheerIdAlreadyVerified": "sample string 17",
  "sheeridtoken": "sample string 18"
}

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 'StudentProductBase'.

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