Update a course
PUT/lms/{connection_id}/course/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Course
Payload
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
descriptionstring
is_privateboolean
is_activeboolean
price_amountnumber
How much the course costs
languagesstring array
categoriesstring array
currencystring
The currency code (ISO) of the course price
instructor_idsstring array
@deprecated; use instructors
student_idsstring array
@deprecated; use students
content_idsstring array
skillsstring array
duration_minutesnumber
provider_namestring
published_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
time_estimate_minutesnumber
Returns
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
descriptionstring
is_privateboolean
is_activeboolean
price_amountnumber
How much the course costs
languagesstring array
categoriesstring array
currencystring
The currency code (ISO) of the course price
instructor_idsstring array
@deprecated; use instructors
student_idsstring array
@deprecated; use students
content_idsstring array
skillsstring array
duration_minutesnumber
provider_namestring
published_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
time_estimate_minutesnumber
const options = {
method: 'PUT',
url: 'https://api.unified.to/lms/5de520f96e439b002043d8dc/course/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know