POST Api/Courses/Lessons/Notes/Add
Request Information
URI Parameters
None.
Body Parameters
LessonNotesAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| idLesson | integer |
None. |
|
| idCourse | integer |
None. |
|
| note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idLesson": 1,
"idCourse": 2,
"note": "sample string 3"
}
application/xml, text/xml
Sample:
<LessonNotesAddRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <idLesson>1</idLesson> <idCourse>2</idCourse> <note>sample string 3</note> </LessonNotesAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success |
La solicitud se realizo correctamente |
boolean |
None. |
| error |
Error arrojado por la API |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"error": "sample string 2"
}
application/xml, text/xml
Sample:
<GenericResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <success>true</success> <error>sample string 2</error> </GenericResponse>