POST api/UpgradePlan/AddPrimaryCenterFromUpgrade

To add details of the selected ondemand center for upgrade and check for combo options if any then get the combo details also

Request Information

URI Parameters

None.

Body Parameters

UpgradeAddPrimaryCenter
NameDescriptionTypeAdditional information
UpgradePlanModel

UpgradeMessageModel

None.

CourseRegInfoModel

CourseDetail

None.

IsHaveCombo

boolean

None.

IsAdded

boolean

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 'UpgradePlanModel.obj_StudentOrder.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 'UpgradePlanModel.obj_StudentOrder.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 'UpgradeAddPrimaryCenter'.

Response Information

Resource Description

UpgradeAddPrimaryCenter
NameDescriptionTypeAdditional information
UpgradePlanModel

UpgradeMessageModel

None.

CourseRegInfoModel

CourseDetail

None.

IsHaveCombo

boolean

None.

IsAdded

boolean

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