GET Api/Courses/UpdateStatus?idCourse={idCourse}&status={status}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idCourse | integer |
Required |
|
| status | integer |
Required |
Body Parameters
None.
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>