POST /api/v1/programs/{template_id}/sessions/

Create a program session for the provided program.

Dates must be provided as ISO 8601 complete date plus hours, minutes and seconds. See w3c standards for further details.

Returns :

Important notes :

Global Parameters:

startDate: Start date of the session, provided as ISO 8601 string: YYYY-MM-DDThh:mm:ssTZD

Parameters for face-to-face events:

classroom: Optional. Array of JSON objects with information for each Face to Face event

Parameters for webinar events:

webinar: Optional. Array of JSON objects with information for each webinar event

Parameters for email events:

email: Optional. Array of JSON objects with information for each webinar event

Changelog:

Servers

Path parameters

Name Type Required Description
template_id String Yes

Id of the template

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
company String No

(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

apiKey String No

(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

Request body fields

Name Type Required Description
classroom[] Array No
classroom[].endDate String No
classroom[].team[] Array No
classroom[].location String No
classroom[].startDate String No
classroom[].position Number No
endDate String No
email[] Array No
email[].position Number No
email[].sendingDate String No
name String No
sessionCustom String No
userLimit Number No
webinar[] Array No
webinar[].endDate String No
webinar[].team[] Array No
webinar[].location String No
webinar[].startDate String No
webinar[].position Number No
startDate String No
tutors[] Array No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.