POST api/AddDownloadedCourses
Request Information
URI Parameters
None.
Body Parameters
DownloadObj| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CanDownload | boolean |
None. |
|
| IsDownloaded | boolean |
None. |
|
| ValidToDownloadDate | date |
None. |
|
| RemainingDays | integer |
None. |
|
| Price | decimal number |
None. |
|
| Currency | string |
None. |
|
| CourseId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CanDownload": true,
"IsDownloaded": true,
"ValidToDownloadDate": "2025-12-11T18:55:06.3125386+00:00",
"RemainingDays": 5,
"Price": 6.1,
"Currency": "sample string 7",
"CourseId": 1
}
application/xml, text/xml
Sample:
<DownloadObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities"> <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:55:06.3125386+00:00</ValidToDownloadDate> </DownloadObj>
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. |