/
Web Service Data Structure Examples

Web Service Data Structure Examples

The following data examples are in JSON format.

Date Formatting

There are 2 date formats used when interacting with the web service, epoch and ISO 8601. The call being made informs which format to use. All GET calls, to pull information from EthosCE, require the URL friendly epoch time. A call for creation or update must use the database compatible ISO 8601 format (Y-m-d\TH:i:sZ). Additionally, both date formats must be converted to UTC before being sent, to ensure data integrity between systems.

Entered local time: December 31, 2014, 12:00PM EST
Converted to UTC/GMT: December 31, 2014, 5:00PM UTC
ISO 8601 format:  2014-12-31T17:00:00Z
Epoch format: 1420045200

Supported Data Structures

Related content

Creating and updating a course via webservice
Creating and updating a course via webservice
More like this
Web Services
More like this
Content - Web Service Data Structures
Content - Web Service Data Structures
More like this
Enrollment/Credits - Web Service Data Structures
Enrollment/Credits - Web Service Data Structures
Read with this
E-Commerce/Cart - Web Service Data Structures
E-Commerce/Cart - Web Service Data Structures
More like this
EthosCE Webhooks
Read with this