POST api/{version}/PromotionalDiscount/GetAutoStudentDiscountTransfer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

DynamicPromotionalDicount
NameDescriptionTypeAdditional 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:

Sample not available.

Response Information

Resource Description

Collection of PromotionalDiscount
NameDescriptionTypeAdditional information
PromotionalDiscountId

Gets or sets promotional discount id

integer

None.

DiscountType

Gets or sets discount type

string

None.

DiscountCode

Gets or sets discount code

string

None.

DiscountName

Gets or sets discount name

string

None.

IsApplicableForProduct

Gets or sets whether it is applicable for product

boolean

None.

DiscountPrice

Gets or sets discount price

decimal number

None.

DisplayDiscountPrice

Gets or sets discount price in valid currency format

string

None.

DisplayDiscountPriceCustom

string

None.

PromoCodeId

Gets or sets promocode id

integer

None.

IsDiscountHasContacts

Gets or sets whether the discount has contacts

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

Gets or sets discount available from

date

None.

AvailableTo

Gets or sets

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-11T15:27:49.8298385-04:00",
    "CourseId": 15,
    "PromotionalDiscountContactId": 16,
    "IsFreeProduct": true,
    "CourseRepeatTypes": [
      1,
      2
    ],
    "DiscountAppliedAmount": 18.0,
    "PromoCodeDurationId": 19,
    "DeliveryMode": "sample string 20",
    "AvailableFrom": "2026-04-11T15:27:49.8298385-04:00",
    "AvailableTo": "2026-04-11T15:27:49.8298385-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-11T15:27:49.8298385-04:00",
    "CourseId": 15,
    "PromotionalDiscountContactId": 16,
    "IsFreeProduct": true,
    "CourseRepeatTypes": [
      1,
      2
    ],
    "DiscountAppliedAmount": 18.0,
    "PromoCodeDurationId": 19,
    "DeliveryMode": "sample string 20",
    "AvailableFrom": "2026-04-11T15:27:49.8298385-04:00",
    "AvailableTo": "2026-04-11T15:27:49.8298385-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"
  }
]