GET api/prescheduledclasses/getforonline/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OnlinePrescheduledClassDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| DefaultDuration | integer |
None. |
|
| DefaultMaxPositions | integer |
None. |
|
| Duration | integer |
None. |
|
| Promotions | Collection of CatalogProductPromotion |
None. |
|
| HasPromotion | boolean |
None. |
|
| ProductId | integer |
None. |
|
| Alias | string |
None. |
|
| Title | string |
None. |
|
| ShortDescription | string |
None. |
|
| Description | string |
None. |
|
| GroupId | integer |
None. |
|
| GroupDescription | string |
None. |
|
| GroupTitle | string |
None. |
|
| GroupSortOrder | integer |
None. |
|
| CatalogDuration | integer |
None. |
|
| Price | decimal number |
None. |
|
| CatalogPrice | decimal number |
None. |
|
| PhotoUrl | string |
None. |
|
| WebListOrder | integer |
None. |
|
| SaleFromWebMode | SaleFromWebModes |
None. |
|
| PurchaseOnly | boolean |
None. |
|
| DaySelectionOnly | boolean |
None. |
|
| IsForCouple | boolean |
None. |
|
| WebNotes | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"DefaultDuration": 1,
"DefaultMaxPositions": 2,
"Duration": 3,
"Promotions": [
{
"Id": 1,
"ProductId": 2,
"ProductType": 1,
"CommercialPolicyId": 3,
"Title": "sample string 4",
"Subtitle": "sample string 5",
"ShortDescription": "sample string 6",
"BadgeText": "sample string 7",
"PhotoUrl": "sample string 8",
"OriginalPrice": 1.0,
"Price": 1.0,
"CurrencyCode": "sample string 9",
"VisibleToDate": "2026-11-16T01:50:45.2001597+02:00",
"DisplayOrder": 10
},
{
"Id": 1,
"ProductId": 2,
"ProductType": 1,
"CommercialPolicyId": 3,
"Title": "sample string 4",
"Subtitle": "sample string 5",
"ShortDescription": "sample string 6",
"BadgeText": "sample string 7",
"PhotoUrl": "sample string 8",
"OriginalPrice": 1.0,
"Price": 1.0,
"CurrencyCode": "sample string 9",
"VisibleToDate": "2026-11-16T01:50:45.2001597+02:00",
"DisplayOrder": 10
}
],
"HasPromotion": true,
"ProductId": 4,
"Alias": "sample string 5",
"Title": "sample string 6",
"ShortDescription": "sample string 7",
"Description": "sample string 8",
"GroupId": 9,
"GroupDescription": "sample string 10",
"GroupTitle": "sample string 11",
"GroupSortOrder": 12,
"CatalogDuration": 13,
"Price": 14.1,
"CatalogPrice": 15.1,
"PhotoUrl": "sample string 16",
"WebListOrder": 17,
"SaleFromWebMode": 0,
"PurchaseOnly": false,
"DaySelectionOnly": false,
"IsForCouple": true,
"WebNotes": "sample string 19"
}