...
The return is a collection of course object information, associated to the course node. The course nid is found in the nid object, a reference to the course node. The path is: course → nid → id.
Course (course)
Code Block | ||||
---|---|---|---|---|
| ||||
var course = { "nid": { "uri": "http:\/\/your-domain.com\/node\/1", "id": "1", "resource": "node", "uuid": "f37bd30a-25c5-4b51-9f97-1243d9844b28" }, // The outline type "outline": "course", "credits": null, "open": "1493411400", "close": "1514745060", "duration": "0", "external_id": "external_1234", // The enrollment question bundle associated to a course. The default is 'course_enrollment'. "enrollment_type": "course_enrollment", // Course Relationship Settings "relationships": { "credit_options": "normal", "enroll_options": "parent", "auto_enroll": "1" }, "course_date_open": true, // Enabled credit on the course "course_credit_types": [], // An internal identifier "feed_nid": null } |
...