POST api/AddOrUpdateCoursePrice
Request Information
URI Parameters
None.
Body Parameters
Course| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CourseTrack | string |
None. |
|
| Name | string |
None. |
|
| NameLT | string |
None. |
|
| TrackId | integer |
None. |
|
| CurrentCost | decimal number |
None. |
|
| PreviousCost | decimal number |
None. |
|
| SKUNumber | string |
None. |
|
| SKUPrice | decimal number |
None. |
|
| AllowedShowTimes | integer |
None. |
|
| OldSKUPrice | decimal number |
None. |
|
| VimeoAccountType | string |
None. |
|
| CreationDate | date |
None. |
|
| ShortDescription | string |
None. |
|
| FullDescription | string |
None. |
|
| SubscriptionCount | integer |
None. |
|
| Image | string |
None. |
|
| IntroVideo | string |
None. |
|
| AlbumUri | string |
None. |
|
| IsShowingNow | boolean |
None. |
|
| AnswerExam | boolean |
None. |
|
| BySubscription | boolean |
None. |
|
| ShowWaterMark | boolean |
None. |
|
| NeedParent | boolean |
None. |
|
| TrackShowWaterMark | boolean |
None. |
|
| ProviderType | string |
None. |
|
| OrderNumber | integer |
None. |
|
| CourseStatusId | integer |
None. |
|
| ViewsCount | integer |
None. |
|
| IsShowViewsCount | boolean |
None. |
|
| CourseAchivementPercentage | decimal number |
None. |
|
| TeacherName | string |
None. |
|
| TrackImage | string |
None. |
|
| TeacherId | integer |
None. |
|
| VideoCount | integer |
None. |
|
| FilesCount | integer |
None. |
|
| HoursCount | decimal number |
None. |
|
| IsFavourite | integer |
None. |
|
| Enrollment | integer |
None. |
|
| ContentCount | integer |
None. |
|
| ViewedContent | integer |
None. |
|
| CountStudentEnrolled | integer |
None. |
|
| GainedMoney | decimal number |
None. |
|
| ShouldAnswerExam | boolean |
None. |
|
| Groups | Collection of Group |
None. |
|
| CourseTags | Collection of CourseTags |
None. |
|
| IntroVideoUri | string |
None. |
|
| CourseCode | string |
None. |
|
| VideoQuestions | Collection of VideoQuestion |
None. |
|
| Content | Content |
None. |
|
| DownloadObj | DownloadObj |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CourseTrack": "sample string 2",
"Name": "sample string 3",
"NameLT": "sample string 4",
"TrackId": 1,
"CurrentCost": 1.0,
"PreviousCost": 1.0,
"SKUNumber": "sample string 5",
"SKUPrice": 1.0,
"AllowedShowTimes": 1,
"OldSKUPrice": 1.0,
"VimeoAccountType": "sample string 6",
"CreationDate": "2025-12-11T18:52:53.5877704+00:00",
"ShortDescription": "sample string 7",
"FullDescription": "sample string 8",
"SubscriptionCount": 1,
"Image": "sample string 9",
"IntroVideo": "sample string 10",
"AlbumUri": "sample string 11",
"IsShowingNow": true,
"AnswerExam": true,
"BySubscription": true,
"ShowWaterMark": true,
"NeedParent": true,
"TrackShowWaterMark": true,
"ProviderType": "sample string 12",
"OrderNumber": 1,
"CourseStatusId": 1,
"ViewsCount": 1,
"IsShowViewsCount": true,
"CourseAchivementPercentage": 1.0,
"TeacherName": "sample string 13",
"TrackImage": "sample string 14",
"TeacherId": 15,
"VideoCount": 1,
"FilesCount": 1,
"HoursCount": 1.1,
"IsFavourite": 16,
"Enrollment": 17,
"ContentCount": 18,
"ViewedContent": 19,
"CountStudentEnrolled": 20,
"GainedMoney": 21.0,
"ShouldAnswerExam": true,
"Groups": [
{
"Id": 1,
"GroupCourse": "sample string 2",
"Name": "sample string 3",
"NameLT": "sample string 4",
"CourseId": 1,
"LockCourseContent": true,
"AnswerExam": true,
"Contents": [
{
"Id": 1,
"Name": "sample string 2",
"NameLT": "sample string 3",
"Path": "sample string 4",
"GroupId": 1,
"Duration": 1.1,
"ContentTypeId": 1,
"IsFree": true,
"VideoUri": "sample string 5",
"ProviderType": "sample string 6",
"VimeoAccountType": "sample string 7",
"YoutubeLink": "sample string 8",
"OrderNumber": 1,
"ViewsCount": 1,
"IsViewed": 9,
"StudentContent": {
"Id": 1,
"ContentId": 2,
"StudentId": 3
},
"VideoLink": "sample string 10"
},
{
"Id": 1,
"Name": "sample string 2",
"NameLT": "sample string 3",
"Path": "sample string 4",
"GroupId": 1,
"Duration": 1.1,
"ContentTypeId": 1,
"IsFree": true,
"VideoUri": "sample string 5",
"ProviderType": "sample string 6",
"VimeoAccountType": "sample string 7",
"YoutubeLink": "sample string 8",
"OrderNumber": 1,
"ViewsCount": 1,
"IsViewed": 9,
"StudentContent": {
"Id": 1,
"ContentId": 2,
"StudentId": 3
},
"VideoLink": "sample string 10"
}
],
"OrderNumber": 7
},
{
"Id": 1,
"GroupCourse": "sample string 2",
"Name": "sample string 3",
"NameLT": "sample string 4",
"CourseId": 1,
"LockCourseContent": true,
"AnswerExam": true,
"Contents": [
{
"Id": 1,
"Name": "sample string 2",
"NameLT": "sample string 3",
"Path": "sample string 4",
"GroupId": 1,
"Duration": 1.1,
"ContentTypeId": 1,
"IsFree": true,
"VideoUri": "sample string 5",
"ProviderType": "sample string 6",
"VimeoAccountType": "sample string 7",
"YoutubeLink": "sample string 8",
"OrderNumber": 1,
"ViewsCount": 1,
"IsViewed": 9,
"StudentContent": {
"Id": 1,
"ContentId": 2,
"StudentId": 3
},
"VideoLink": "sample string 10"
},
{
"Id": 1,
"Name": "sample string 2",
"NameLT": "sample string 3",
"Path": "sample string 4",
"GroupId": 1,
"Duration": 1.1,
"ContentTypeId": 1,
"IsFree": true,
"VideoUri": "sample string 5",
"ProviderType": "sample string 6",
"VimeoAccountType": "sample string 7",
"YoutubeLink": "sample string 8",
"OrderNumber": 1,
"ViewsCount": 1,
"IsViewed": 9,
"StudentContent": {
"Id": 1,
"ContentId": 2,
"StudentId": 3
},
"VideoLink": "sample string 10"
}
],
"OrderNumber": 7
}
],
"CourseTags": [
{
"Name": "sample string 1",
"NameLT": "sample string 2"
},
{
"Name": "sample string 1",
"NameLT": "sample string 2"
}
],
"IntroVideoUri": "sample string 23",
"CourseCode": "sample string 24",
"VideoQuestions": [
{
"Id": 1,
"Question": "sample string 2",
"Minute": 1.1,
"Image": "sample string 3",
"Voice": "sample string 4",
"ViewMyAccount": true,
"ContentId": 1,
"LiveId": 1,
"CreationDate": "2025-12-11T18:52:53.5877704+00:00",
"StudentId": 1,
"StudentName": "sample string 5",
"StudentPhoto": "sample string 6",
"ContentName": "sample string 7",
"ContentNameLT": "sample string 8",
"Replies": [
{
"Id": 1,
"Comment": "sample string 2",
"VideoQuestionId": 1,
"CreationDate": "2025-12-11T18:52:53.5877704+00:00",
"ViewMyAccount": true,
"Image": "sample string 3",
"Voice": "sample string 4",
"StudentId": 1,
"StudentName": "sample string 5",
"StudentPhoto": "sample string 6",
"TeacherId": 1,
"TeacherAssistantId": 1,
"TeacherName": "sample string 7",
"TeacherPhoto": "sample string 8"
},
{
"Id": 1,
"Comment": "sample string 2",
"VideoQuestionId": 1,
"CreationDate": "2025-12-11T18:52:53.5877704+00:00",
"ViewMyAccount": true,
"Image": "sample string 3",
"Voice": "sample string 4",
"StudentId": 1,
"StudentName": "sample string 5",
"StudentPhoto": "sample string 6",
"TeacherId": 1,
"TeacherAssistantId": 1,
"TeacherName": "sample string 7",
"TeacherPhoto": "sample string 8"
}
]
},
{
"Id": 1,
"Question": "sample string 2",
"Minute": 1.1,
"Image": "sample string 3",
"Voice": "sample string 4",
"ViewMyAccount": true,
"ContentId": 1,
"LiveId": 1,
"CreationDate": "2025-12-11T18:52:53.5877704+00:00",
"StudentId": 1,
"StudentName": "sample string 5",
"StudentPhoto": "sample string 6",
"ContentName": "sample string 7",
"ContentNameLT": "sample string 8",
"Replies": [
{
"Id": 1,
"Comment": "sample string 2",
"VideoQuestionId": 1,
"CreationDate": "2025-12-11T18:52:53.5877704+00:00",
"ViewMyAccount": true,
"Image": "sample string 3",
"Voice": "sample string 4",
"StudentId": 1,
"StudentName": "sample string 5",
"StudentPhoto": "sample string 6",
"TeacherId": 1,
"TeacherAssistantId": 1,
"TeacherName": "sample string 7",
"TeacherPhoto": "sample string 8"
},
{
"Id": 1,
"Comment": "sample string 2",
"VideoQuestionId": 1,
"CreationDate": "2025-12-11T18:52:53.5877704+00:00",
"ViewMyAccount": true,
"Image": "sample string 3",
"Voice": "sample string 4",
"StudentId": 1,
"StudentName": "sample string 5",
"StudentPhoto": "sample string 6",
"TeacherId": 1,
"TeacherAssistantId": 1,
"TeacherName": "sample string 7",
"TeacherPhoto": "sample string 8"
}
]
}
],
"Content": {
"Id": 1,
"Name": "sample string 2",
"NameLT": "sample string 3",
"Path": "sample string 4",
"GroupId": 1,
"Duration": 1.1,
"ContentTypeId": 1,
"IsFree": true,
"VideoUri": "sample string 5",
"ProviderType": "sample string 6",
"VimeoAccountType": "sample string 7",
"YoutubeLink": "sample string 8",
"OrderNumber": 1,
"ViewsCount": 1,
"IsViewed": 9,
"StudentContent": {
"Id": 1,
"ContentId": 2,
"StudentId": 3
},
"VideoLink": "sample string 10"
},
"DownloadObj": {
"Id": 1,
"CanDownload": true,
"IsDownloaded": true,
"ValidToDownloadDate": "2025-12-11T18:52:53.5877704+00:00",
"RemainingDays": 5,
"Price": 6.1,
"Currency": "sample string 7",
"CourseId": 1
}
}
application/xml, text/xml
Sample:
<Course xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities">
<AlbumUri>sample string 11</AlbumUri>
<AllowedShowTimes>1</AllowedShowTimes>
<AnswerExam>true</AnswerExam>
<BySubscription>true</BySubscription>
<Content>
<ContentTypeId>1</ContentTypeId>
<Duration>1.1</Duration>
<GroupId>1</GroupId>
<Id>1</Id>
<IsFree>true</IsFree>
<IsViewed>9</IsViewed>
<Name>sample string 2</Name>
<NameLT>sample string 3</NameLT>
<OrderNumber>1</OrderNumber>
<Path>sample string 4</Path>
<ProviderType>sample string 6</ProviderType>
<StudentContent>
<ContentId>2</ContentId>
<Id>1</Id>
<StudentId>3</StudentId>
</StudentContent>
<VideoLink>sample string 10</VideoLink>
<VideoUri>sample string 5</VideoUri>
<ViewsCount>1</ViewsCount>
<VimeoAccountType>sample string 7</VimeoAccountType>
<YoutubeLink>sample string 8</YoutubeLink>
</Content>
<ContentCount>18</ContentCount>
<CountStudentEnrolled>20</CountStudentEnrolled>
<CourseAchivementPercentage>1</CourseAchivementPercentage>
<CourseCode>sample string 24</CourseCode>
<CourseStatusId>1</CourseStatusId>
<CourseTags>
<CourseTags>
<Name>sample string 1</Name>
<NameLT>sample string 2</NameLT>
</CourseTags>
<CourseTags>
<Name>sample string 1</Name>
<NameLT>sample string 2</NameLT>
</CourseTags>
</CourseTags>
<CourseTrack>sample string 2</CourseTrack>
<CreationDate>2025-12-11T18:52:53.5877704+00:00</CreationDate>
<CurrentCost>1</CurrentCost>
<DownloadObj>
<CanDownload>true</CanDownload>
<CourseId>1</CourseId>
<Currency>sample string 7</Currency>
<Id>1</Id>
<IsDownloaded>true</IsDownloaded>
<Price>6.1</Price>
<RemainingDays>5</RemainingDays>
<ValidToDownloadDate>2025-12-11T18:52:53.5877704+00:00</ValidToDownloadDate>
</DownloadObj>
<Enrollment>17</Enrollment>
<FilesCount>1</FilesCount>
<FullDescription>sample string 8</FullDescription>
<GainedMoney>21</GainedMoney>
<Groups>
<Group>
<AnswerExam>true</AnswerExam>
<Contents>
<Content>
<ContentTypeId>1</ContentTypeId>
<Duration>1.1</Duration>
<GroupId>1</GroupId>
<Id>1</Id>
<IsFree>true</IsFree>
<IsViewed>9</IsViewed>
<Name>sample string 2</Name>
<NameLT>sample string 3</NameLT>
<OrderNumber>1</OrderNumber>
<Path>sample string 4</Path>
<ProviderType>sample string 6</ProviderType>
<StudentContent>
<ContentId>2</ContentId>
<Id>1</Id>
<StudentId>3</StudentId>
</StudentContent>
<VideoLink>sample string 10</VideoLink>
<VideoUri>sample string 5</VideoUri>
<ViewsCount>1</ViewsCount>
<VimeoAccountType>sample string 7</VimeoAccountType>
<YoutubeLink>sample string 8</YoutubeLink>
</Content>
<Content>
<ContentTypeId>1</ContentTypeId>
<Duration>1.1</Duration>
<GroupId>1</GroupId>
<Id>1</Id>
<IsFree>true</IsFree>
<IsViewed>9</IsViewed>
<Name>sample string 2</Name>
<NameLT>sample string 3</NameLT>
<OrderNumber>1</OrderNumber>
<Path>sample string 4</Path>
<ProviderType>sample string 6</ProviderType>
<StudentContent>
<ContentId>2</ContentId>
<Id>1</Id>
<StudentId>3</StudentId>
</StudentContent>
<VideoLink>sample string 10</VideoLink>
<VideoUri>sample string 5</VideoUri>
<ViewsCount>1</ViewsCount>
<VimeoAccountType>sample string 7</VimeoAccountType>
<YoutubeLink>sample string 8</YoutubeLink>
</Content>
</Contents>
<CourseId>1</CourseId>
<GroupCourse>sample string 2</GroupCourse>
<Id>1</Id>
<LockCourseContent>true</LockCourseContent>
<Name>sample string 3</Name>
<NameLT>sample string 4</NameLT>
<OrderNumber>7</OrderNumber>
</Group>
<Group>
<AnswerExam>true</AnswerExam>
<Contents>
<Content>
<ContentTypeId>1</ContentTypeId>
<Duration>1.1</Duration>
<GroupId>1</GroupId>
<Id>1</Id>
<IsFree>true</IsFree>
<IsViewed>9</IsViewed>
<Name>sample string 2</Name>
<NameLT>sample string 3</NameLT>
<OrderNumber>1</OrderNumber>
<Path>sample string 4</Path>
<ProviderType>sample string 6</ProviderType>
<StudentContent>
<ContentId>2</ContentId>
<Id>1</Id>
<StudentId>3</StudentId>
</StudentContent>
<VideoLink>sample string 10</VideoLink>
<VideoUri>sample string 5</VideoUri>
<ViewsCount>1</ViewsCount>
<VimeoAccountType>sample string 7</VimeoAccountType>
<YoutubeLink>sample string 8</YoutubeLink>
</Content>
<Content>
<ContentTypeId>1</ContentTypeId>
<Duration>1.1</Duration>
<GroupId>1</GroupId>
<Id>1</Id>
<IsFree>true</IsFree>
<IsViewed>9</IsViewed>
<Name>sample string 2</Name>
<NameLT>sample string 3</NameLT>
<OrderNumber>1</OrderNumber>
<Path>sample string 4</Path>
<ProviderType>sample string 6</ProviderType>
<StudentContent>
<ContentId>2</ContentId>
<Id>1</Id>
<StudentId>3</StudentId>
</StudentContent>
<VideoLink>sample string 10</VideoLink>
<VideoUri>sample string 5</VideoUri>
<ViewsCount>1</ViewsCount>
<VimeoAccountType>sample string 7</VimeoAccountType>
<YoutubeLink>sample string 8</YoutubeLink>
</Content>
</Contents>
<CourseId>1</CourseId>
<GroupCourse>sample string 2</GroupCourse>
<Id>1</Id>
<LockCourseContent>true</LockCourseContent>
<Name>sample string 3</Name>
<NameLT>sample string 4</NameLT>
<OrderNumber>7</OrderNumber>
</Group>
</Groups>
<HoursCount>1.1</HoursCount>
<Id>1</Id>
<Image>sample string 9</Image>
<IntroVideo>sample string 10</IntroVideo>
<IntroVideoUri>sample string 23</IntroVideoUri>
<IsFavourite>16</IsFavourite>
<IsShowViewsCount>true</IsShowViewsCount>
<IsShowingNow>true</IsShowingNow>
<Name>sample string 3</Name>
<NameLT>sample string 4</NameLT>
<NeedParent>true</NeedParent>
<OldSKUPrice>1</OldSKUPrice>
<OrderNumber>1</OrderNumber>
<PreviousCost>1</PreviousCost>
<ProviderType>sample string 12</ProviderType>
<SKUNumber>sample string 5</SKUNumber>
<SKUPrice>1</SKUPrice>
<ShortDescription>sample string 7</ShortDescription>
<ShouldAnswerExam>true</ShouldAnswerExam>
<ShowWaterMark>true</ShowWaterMark>
<SubscriptionCount>1</SubscriptionCount>
<TeacherId>15</TeacherId>
<TeacherName>sample string 13</TeacherName>
<TrackId>1</TrackId>
<TrackImage>sample string 14</TrackImage>
<TrackShowWaterMark>true</TrackShowWaterMark>
<VideoCount>1</VideoCount>
<VideoQuestions>
<VideoQuestion>
<ContentId>1</ContentId>
<ContentName>sample string 7</ContentName>
<ContentNameLT>sample string 8</ContentNameLT>
<CreationDate>2025-12-11T18:52:53.5877704+00:00</CreationDate>
<Id>1</Id>
<Image>sample string 3</Image>
<LiveId>1</LiveId>
<Minute>1.1</Minute>
<Question>sample string 2</Question>
<Replies>
<Reply>
<Comment>sample string 2</Comment>
<CreationDate>2025-12-11T18:52:53.5877704+00:00</CreationDate>
<Id>1</Id>
<Image>sample string 3</Image>
<StudentId>1</StudentId>
<StudentName>sample string 5</StudentName>
<StudentPhoto>sample string 6</StudentPhoto>
<TeacherAssistantId>1</TeacherAssistantId>
<TeacherId>1</TeacherId>
<TeacherName>sample string 7</TeacherName>
<TeacherPhoto>sample string 8</TeacherPhoto>
<VideoQuestionId>1</VideoQuestionId>
<ViewMyAccount>true</ViewMyAccount>
<Voice>sample string 4</Voice>
</Reply>
<Reply>
<Comment>sample string 2</Comment>
<CreationDate>2025-12-11T18:52:53.5877704+00:00</CreationDate>
<Id>1</Id>
<Image>sample string 3</Image>
<StudentId>1</StudentId>
<StudentName>sample string 5</StudentName>
<StudentPhoto>sample string 6</StudentPhoto>
<TeacherAssistantId>1</TeacherAssistantId>
<TeacherId>1</TeacherId>
<TeacherName>sample string 7</TeacherName>
<TeacherPhoto>sample string 8</TeacherPhoto>
<VideoQuestionId>1</VideoQuestionId>
<ViewMyAccount>true</ViewMyAccount>
<Voice>sample string 4</Voice>
</Reply>
</Replies>
<StudentId>1</StudentId>
<StudentName>sample string 5</StudentName>
<StudentPhoto>sample string 6</StudentPhoto>
<ViewMyAccount>true</ViewMyAccount>
<Voice>sample string 4</Voice>
</VideoQuestion>
<VideoQuestion>
<ContentId>1</ContentId>
<ContentName>sample string 7</ContentName>
<ContentNameLT>sample string 8</ContentNameLT>
<CreationDate>2025-12-11T18:52:53.5877704+00:00</CreationDate>
<Id>1</Id>
<Image>sample string 3</Image>
<LiveId>1</LiveId>
<Minute>1.1</Minute>
<Question>sample string 2</Question>
<Replies>
<Reply>
<Comment>sample string 2</Comment>
<CreationDate>2025-12-11T18:52:53.5877704+00:00</CreationDate>
<Id>1</Id>
<Image>sample string 3</Image>
<StudentId>1</StudentId>
<StudentName>sample string 5</StudentName>
<StudentPhoto>sample string 6</StudentPhoto>
<TeacherAssistantId>1</TeacherAssistantId>
<TeacherId>1</TeacherId>
<TeacherName>sample string 7</TeacherName>
<TeacherPhoto>sample string 8</TeacherPhoto>
<VideoQuestionId>1</VideoQuestionId>
<ViewMyAccount>true</ViewMyAccount>
<Voice>sample string 4</Voice>
</Reply>
<Reply>
<Comment>sample string 2</Comment>
<CreationDate>2025-12-11T18:52:53.5877704+00:00</CreationDate>
<Id>1</Id>
<Image>sample string 3</Image>
<StudentId>1</StudentId>
<StudentName>sample string 5</StudentName>
<StudentPhoto>sample string 6</StudentPhoto>
<TeacherAssistantId>1</TeacherAssistantId>
<TeacherId>1</TeacherId>
<TeacherName>sample string 7</TeacherName>
<TeacherPhoto>sample string 8</TeacherPhoto>
<VideoQuestionId>1</VideoQuestionId>
<ViewMyAccount>true</ViewMyAccount>
<Voice>sample string 4</Voice>
</Reply>
</Replies>
<StudentId>1</StudentId>
<StudentName>sample string 5</StudentName>
<StudentPhoto>sample string 6</StudentPhoto>
<ViewMyAccount>true</ViewMyAccount>
<Voice>sample string 4</Voice>
</VideoQuestion>
</VideoQuestions>
<ViewedContent>19</ViewedContent>
<ViewsCount>1</ViewsCount>
<VimeoAccountType>sample string 6</VimeoAccountType>
</Course>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |