Courses
Replace all custom field values for a course
Changed on๐
Required OAuth scope: courses:write.
Replaces all custom field values in the given course with the provided ones. Values not included are removed.
put/api/v2/courses/{courseId}/custom-fields/values
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/courses/{courseId}/custom-fields/values
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
courseIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the course.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"customValues": [
{
"customFieldId": "507f1f77bcf86cd799439011",
"value": "US"
}
]
}Response
Returns the updated course custom field values.
Example response
[
{
"customFieldId": "507f1f77bcf86cd799439011",
"value": "US"
}
]Changes
- info
removed
subschema #4: Course Custom Fields Not Enabledfrom the response bodyoneOflist for the response status
- info