POST api/AddLive
Request Information
URI Parameters
None.
Body Parameters
CreatingLiveDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| LiveName | string |
None. |
|
| TeacherId | integer |
None. |
|
| Duration | integer |
None. |
|
| LiveLinkType | LiveLinkType |
None. |
|
| CourseId | integer |
None. |
|
| TrackId | integer |
None. |
|
| CountryId | integer |
None. |
|
| LiveDate | date |
None. |
|
| LiveAppearanceDate | date |
None. |
|
| Image | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LiveName": "sample string 1",
"TeacherId": 2,
"Duration": 3,
"LiveLinkType": 1,
"CourseId": 1,
"TrackId": 1,
"CountryId": 4,
"LiveDate": "2025-12-11T18:53:17.8997946+00:00",
"LiveAppearanceDate": "2025-12-11T18:53:17.8997946+00:00",
"Image": "sample string 7"
}
application/xml, text/xml
Sample:
<CreatingLiveDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTOs"> <CountryId>4</CountryId> <CourseId>1</CourseId> <Duration>3</Duration> <Image>sample string 7</Image> <LiveAppearanceDate>2025-12-11T18:53:17.8997946+00:00</LiveAppearanceDate> <LiveDate>2025-12-11T18:53:17.8997946+00:00</LiveDate> <LiveLinkType>TRACK</LiveLinkType> <LiveName>sample string 1</LiveName> <TeacherId>2</TeacherId> <TrackId>1</TrackId> </CreatingLiveDTO>
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. |