GET api/payment/GetReffrenceId?courseId={courseId}&discountCode={discountCode}&link={link}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
courseId

integer

Required

discountCode

string

Default value is

link

string

Default value is

Body Parameters

None.

Response Information

Resource Description

CoursePriceModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Price

integer

None.

DiscountValue

integer

None.

DiscountedPrice

integer

None.

CodeStatus

DiscountCodeStatus

None.

DailySubscriptionPrice

integer

None.

GroupId

integer

None.

GroupName

string

None.

Success

boolean

None.

RefId

string

None.

BankUrl

string

None.

RedirectUrl

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Price": 3,
  "DiscountValue": 4,
  "DiscountedPrice": 5,
  "CodeStatus": 0,
  "DailySubscriptionPrice": 1,
  "GroupId": 1,
  "GroupName": "sample string 6",
  "Success": true,
  "RefId": "sample string 8",
  "BankUrl": "sample string 9",
  "RedirectUrl": "sample string 10",
  "Message": "sample string 11"
}