Pearson
Always Learning

API Group: 

Use this API to retrieves the current UTC date and time according to LearningStudio. This API is useful when working with timed exams. Because exams must be completed before they expire, this API allows you sync your clocks to ours to know exactly when you must mark an exam attempt as complete.

Supported Roles and Authentication Protocols

This API does not require authentication. OAuth 1 or 2 will work, and any user role in OAuth 2 will work.

API Request

API Endpoints

HTTP Verbs and URIs

GET /systemDateTime
  • Retrieves current UTC date and time from LearningStudio server.

Parameters

None

Query String Parameters

No Query String Parameters are supported.

Request Body

None

API Response

Response Header

This API returns the standard HTTP Status Codes used by the LearningStudio APIs. There are no special headers returned by the API.

Response Body

Format

{
  "systemDateTime": {
    "value": "{utcDateTime}"
  }
}

Property Descriptions

Name Description
{utcDateTime} Current date and time from LearningStudio server. Format is ISO-8602, e.g., YYYY-MM-DDTHH:MM:SSZ.

Example

Request

Endpoint

GET /systemDateTime

Response

Body

{
  "systemDateTime": {
    "value": "2012-08-25T19:24:01Z"
  }
}
2523 reads
Always Learning
Pearson