Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Internal Value
Coursecourse
Sessiongroup_event_series_event

Most content types in Ethos use the body field for the main content, except Courses, which use the field_course_summary field, referenced below.

Info
titleNOTE: When creating or updating an entity

An additional token is required for security, and must be passed in an X-CSRF-Token HTTP header. In the example below, the system is queried for this token on lines 2-7, and it is applied to the call on line 28.

For any call, you must specify the format being posted in a Content-Type HTTP header, either "application/json" or "text/xml".Most content types in Ethos use the body field for the main content, except Courses, which use the field_course_summary field, referenced below.

Creating a course

The PHP/Curl script below creates a course with the following details:

...