POST api/{version}/PurchaseAddons/getProductElementDuplicate

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

GetProductElementInput
NameDescriptionTypeAdditional information
StudentId

integer

None.

LstProduct

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentId": 1,
  "LstProduct": [
    1,
    2
  ]
}

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

Response Information

Resource Description

Collection of ProductElements
NameDescriptionTypeAdditional information
ProductElementId

integer

None.

ElementId

integer

None.

ElementTitle

string

None.

ElementTypeId

integer

None.

ElementTypeName

string

None.

DisplayElementTypeName

string

None.

ElementTypeShortcode

string

None.

Price

decimal number

None.

YearAccess

integer

None.

MonthAccess

integer

None.

IsSelected

boolean

None.

HasAccessDuration

boolean

None.

ElementImagePath

string

None.

StudentProductId

integer

None.

StudentProductElementId

integer

None.

FromDate

string

None.

ToDate

string

None.

FromOrderdetailsPage

boolean

None.

ProductElementQuantity

integer

None.

ProductElementsRevisionLog

Collection of ProductElementsRevision

None.

ProductElementsRevisionText

string

None.

ProductId

integer

None.

ProductName

string

None.

RemainingDays

integer

None.

HasAssessment

boolean

None.

HasPractice

boolean

None.

HasQuestionBank

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductElementId": 1,
    "ElementId": 2,
    "ElementTitle": "sample string 3",
    "ElementTypeId": 4,
    "ElementTypeName": "sample string 5",
    "DisplayElementTypeName": "sample string 6",
    "ElementTypeShortcode": "sample string 7",
    "Price": 8.1,
    "YearAccess": 9,
    "MonthAccess": 10,
    "IsSelected": true,
    "HasAccessDuration": true,
    "ElementImagePath": "sample string 13",
    "StudentProductId": 14,
    "StudentProductElementId": 15,
    "FromDate": "sample string 16",
    "ToDate": "sample string 17",
    "FromOrderdetailsPage": true,
    "ProductElementQuantity": 19,
    "ProductElementsRevisionLog": [
      {
        "StudentProductElementId": 1,
        "ElementTypeId": 2,
        "ElementType": "sample string 3",
        "FromDate": "2026-04-02T23:46:05.8238298-04:00",
        "ToDate": "2026-04-02T23:46:05.8238298-04:00",
        "Quantity": 6,
        "UserId": "sample string 7",
        "UpdatedTime": "2026-04-02T23:46:05.8238298-04:00"
      },
      {
        "StudentProductElementId": 1,
        "ElementTypeId": 2,
        "ElementType": "sample string 3",
        "FromDate": "2026-04-02T23:46:05.8238298-04:00",
        "ToDate": "2026-04-02T23:46:05.8238298-04:00",
        "Quantity": 6,
        "UserId": "sample string 7",
        "UpdatedTime": "2026-04-02T23:46:05.8238298-04:00"
      }
    ],
    "ProductElementsRevisionText": "sample string 20",
    "ProductId": 21,
    "ProductName": "sample string 22",
    "RemainingDays": 23,
    "HasAssessment": true,
    "HasPractice": true,
    "HasQuestionBank": true
  },
  {
    "ProductElementId": 1,
    "ElementId": 2,
    "ElementTitle": "sample string 3",
    "ElementTypeId": 4,
    "ElementTypeName": "sample string 5",
    "DisplayElementTypeName": "sample string 6",
    "ElementTypeShortcode": "sample string 7",
    "Price": 8.1,
    "YearAccess": 9,
    "MonthAccess": 10,
    "IsSelected": true,
    "HasAccessDuration": true,
    "ElementImagePath": "sample string 13",
    "StudentProductId": 14,
    "StudentProductElementId": 15,
    "FromDate": "sample string 16",
    "ToDate": "sample string 17",
    "FromOrderdetailsPage": true,
    "ProductElementQuantity": 19,
    "ProductElementsRevisionLog": [
      {
        "StudentProductElementId": 1,
        "ElementTypeId": 2,
        "ElementType": "sample string 3",
        "FromDate": "2026-04-02T23:46:05.8238298-04:00",
        "ToDate": "2026-04-02T23:46:05.8238298-04:00",
        "Quantity": 6,
        "UserId": "sample string 7",
        "UpdatedTime": "2026-04-02T23:46:05.8238298-04:00"
      },
      {
        "StudentProductElementId": 1,
        "ElementTypeId": 2,
        "ElementType": "sample string 3",
        "FromDate": "2026-04-02T23:46:05.8238298-04:00",
        "ToDate": "2026-04-02T23:46:05.8238298-04:00",
        "Quantity": 6,
        "UserId": "sample string 7",
        "UpdatedTime": "2026-04-02T23:46:05.8238298-04:00"
      }
    ],
    "ProductElementsRevisionText": "sample string 20",
    "ProductId": 21,
    "ProductName": "sample string 22",
    "RemainingDays": 23,
    "HasAssessment": true,
    "HasPractice": true,
    "HasQuestionBank": true
  }
]