POST api/PromotionalDiscount/GetAutoStudentDiscountListForProduct
Request Information
URI Parameters
None.
Body Parameters
DynamicPromotionalDicount| Name | Description | Type | Additional information |
|---|---|---|---|
| ListCourseId | Collection of integer |
None. |
|
| ListDeliveryMode | Collection of string |
None. |
|
| ListCourseRepeatTypeId | Collection of integer |
None. |
|
| ListProductId | Collection of integer |
None. |
|
| PromotionalDiscountId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ListCourseId": [
1,
2
],
"ListDeliveryMode": [
"sample string 1",
"sample string 2"
],
"ListCourseRepeatTypeId": [
1,
2
],
"ListProductId": [
1,
2
],
"PromotionalDiscountId": 1
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of PromotionalDiscount| Name | Description | Type | Additional information |
|---|---|---|---|
| PromotionalDiscountId | integer |
None. |
|
| DiscountType | string |
None. |
|
| DiscountCode | string |
None. |
|
| DiscountName | string |
None. |
|
| IsApplicableForProduct | boolean |
None. |
|
| DiscountPrice | decimal number |
None. |
|
| DisplayDiscountPrice | string |
None. |
|
| DisplayDiscountPriceCustom | string |
None. |
|
| PromoCodeId | integer |
None. |
|
| IsDiscountHasContacts | boolean |
None. |
|
| ProductId | integer |
None. |
|
| DiscountedAmount | decimal number |
None. |
|
| ProductType | string |
None. |
|
| CodeExpiry | date |
None. |
|
| CourseId | integer |
None. |
|
| PromotionalDiscountContactId | integer |
None. |
|
| IsFreeProduct | boolean |
None. |
|
| CourseRepeatTypes | Collection of integer |
None. |
|
| DiscountAppliedAmount | decimal number |
None. |
|
| PromoCodeDurationId | integer |
None. |
|
| DeliveryMode | string |
None. |
|
| AvailableFrom | date |
None. |
|
| AvailableTo | date |
None. |
|
| CourseRepeatTypeId | integer |
None. |
|
| Percentage | decimal number |
None. |
|
| Value | decimal number |
None. |
|
| IsRounded | boolean |
None. |
|
| RoundingType | string |
None. |
|
| NearestPlaceValue | integer |
None. |
|
| DiscountCategoryShortcode | string |
None. |
|
| IsDiscountVerified | boolean |
None. |
|
| IsDiscountChecked | boolean |
None. |
|
| VerificationToken | string |
None. |
|
| StudentProductId | integer |
None. |
|
| SheerIdManualUploadsFiles | Collection of SheerIdManualUploadFiles |
None. |
|
| DiscountCategoryGroup | string |
None. |
|
| CategoryGroup | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PromotionalDiscountId": 1,
"DiscountType": "sample string 2",
"DiscountCode": "sample string 3",
"DiscountName": "sample string 4",
"IsApplicableForProduct": true,
"DiscountPrice": 6.0,
"DisplayDiscountPrice": "sample string 7",
"DisplayDiscountPriceCustom": "sample string 8",
"PromoCodeId": 9,
"IsDiscountHasContacts": true,
"ProductId": 11,
"DiscountedAmount": 12.0,
"ProductType": "sample string 13",
"CodeExpiry": "2026-04-02T23:47:42.7985216-04:00",
"CourseId": 15,
"PromotionalDiscountContactId": 16,
"IsFreeProduct": true,
"CourseRepeatTypes": [
1,
2
],
"DiscountAppliedAmount": 18.0,
"PromoCodeDurationId": 19,
"DeliveryMode": "sample string 20",
"AvailableFrom": "2026-04-02T23:47:42.7985216-04:00",
"AvailableTo": "2026-04-02T23:47:42.7985216-04:00",
"CourseRepeatTypeId": 23,
"Percentage": 24.0,
"Value": 25.0,
"IsRounded": true,
"RoundingType": "sample string 27",
"NearestPlaceValue": 28,
"DiscountCategoryShortcode": "sample string 29",
"IsDiscountVerified": true,
"IsDiscountChecked": true,
"VerificationToken": "sample string 32",
"StudentProductId": 33,
"SheerIdManualUploadsFiles": [
{
"RendomFileId": "sample string 1",
"FileName": "sample string 2",
"FileSize": "sample string 3",
"Description": "sample string 4",
"TempPath": "sample string 5",
"FileType": "sample string 6",
"CreatedBy": "sample string 7",
"DiscountCategory": 8
},
{
"RendomFileId": "sample string 1",
"FileName": "sample string 2",
"FileSize": "sample string 3",
"Description": "sample string 4",
"TempPath": "sample string 5",
"FileType": "sample string 6",
"CreatedBy": "sample string 7",
"DiscountCategory": 8
}
],
"DiscountCategoryGroup": "sample string 34",
"CategoryGroup": "sample string 35"
},
{
"PromotionalDiscountId": 1,
"DiscountType": "sample string 2",
"DiscountCode": "sample string 3",
"DiscountName": "sample string 4",
"IsApplicableForProduct": true,
"DiscountPrice": 6.0,
"DisplayDiscountPrice": "sample string 7",
"DisplayDiscountPriceCustom": "sample string 8",
"PromoCodeId": 9,
"IsDiscountHasContacts": true,
"ProductId": 11,
"DiscountedAmount": 12.0,
"ProductType": "sample string 13",
"CodeExpiry": "2026-04-02T23:47:42.7985216-04:00",
"CourseId": 15,
"PromotionalDiscountContactId": 16,
"IsFreeProduct": true,
"CourseRepeatTypes": [
1,
2
],
"DiscountAppliedAmount": 18.0,
"PromoCodeDurationId": 19,
"DeliveryMode": "sample string 20",
"AvailableFrom": "2026-04-02T23:47:42.7985216-04:00",
"AvailableTo": "2026-04-02T23:47:42.7985216-04:00",
"CourseRepeatTypeId": 23,
"Percentage": 24.0,
"Value": 25.0,
"IsRounded": true,
"RoundingType": "sample string 27",
"NearestPlaceValue": 28,
"DiscountCategoryShortcode": "sample string 29",
"IsDiscountVerified": true,
"IsDiscountChecked": true,
"VerificationToken": "sample string 32",
"StudentProductId": 33,
"SheerIdManualUploadsFiles": [
{
"RendomFileId": "sample string 1",
"FileName": "sample string 2",
"FileSize": "sample string 3",
"Description": "sample string 4",
"TempPath": "sample string 5",
"FileType": "sample string 6",
"CreatedBy": "sample string 7",
"DiscountCategory": 8
},
{
"RendomFileId": "sample string 1",
"FileName": "sample string 2",
"FileSize": "sample string 3",
"Description": "sample string 4",
"TempPath": "sample string 5",
"FileType": "sample string 6",
"CreatedBy": "sample string 7",
"DiscountCategory": 8
}
],
"DiscountCategoryGroup": "sample string 34",
"CategoryGroup": "sample string 35"
}
]