Engine Dispatch API documentation version v1
http://example.com/ScormEngineInterface/api/v1
Destinations
The collection of all destinations. Each dispatch has a destination, which is the client LMS that will import and launch the dispatch package.
Get a list of destinations.
Create multiple destinations.
Delete multiple destinations. Deleting a destination will also delete all dispatches for that destination, and deleting all destinations will therefore delete all dispatches.
get /{tenant}/destinations
Get a list of destinations.
URI Parameters
- tenant: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
- more: (string - default: )
Value for this parameter will be provided in the 'more' property of destinations lists, where needed. An opaque value, construction and parsing may change without notice.
- since: (string - default: )
Only destinations updated since the specified ISO 8601 TimeStamp (inclusive) are included. If a time zone is not specified, the server's time zone will be used.
- courseId: (string - default: )
Limit the results to destinations that have dispatches of the specified course.
Example:
1000
HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "destinationListSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DestinationListSchema",
"type": "object",
"properties": {
"destinations": {
"type": "array",
"items": {
"$ref": "destinationIdSchema"
},
"required": true
},
"more": {
"type": "string"
}
},
"additionalProperties": false
}
Example:
{
"destinations": [
{
"id": "123",
"data": {"name": "DestinationOne"}
},
{
"id": "234",
"data": {"name": "DestinationTwo"}
}
],
"more": "/ScormEngineInterface/api/v1/default/destinations?more=sQ2JfFEBAAAOAAAA"
}
post /{tenant}/destinations
Create multiple destinations.
URI Parameters
- tenant: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "destinationListSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DestinationListSchema",
"type": "object",
"properties": {
"destinations": {
"type": "array",
"items": {
"$ref": "destinationIdSchema"
},
"required": true
},
"more": {
"type": "string"
}
},
"additionalProperties": false
}
Example:
{
"destinations": [
{
"id": "123",
"data": {"name": "DestinationOne"}
},
{
"id": "234",
"data": {"name": "DestinationTwo"}
}
],
"more": "/ScormEngineInterface/api/v1/default/destinations?more=sQ2JfFEBAAAOAAAA"
}
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
delete /{tenant}/destinations
Delete multiple destinations. Deleting a destination will also delete all dispatches for that destination, and deleting all destinations will therefore delete all dispatches.
URI Parameters
- tenant: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
- id: (string - default: )
Comma-separated list of destinations IDs to delete. Default is "", which means all destinations.
Example:
123,234
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
An individual destination.
Get the destination with destinationId = {destinationId}.
Create or update the destination with destinationId = {destinationId}.
Delete the destination with destinationId = {destinationId}.
get /{tenant}/destinations/{destinationId}
Get the destination with destinationId = {destinationId}.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "destinationSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DestinationSchema",
"type": "object",
"properties": {
"name": {
"type": "string",
"required": true
}
},
"required": true,
"additionalProperties": false
}
Example:
{
"name": "DestinationOne"
}
HTTP status code 404
Not found.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "destination not found" }
put /{tenant}/destinations/{destinationId}
Create or update the destination with destinationId = {destinationId}.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "destinationSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DestinationSchema",
"type": "object",
"properties": {
"name": {
"type": "string",
"required": true
}
},
"required": true,
"additionalProperties": false
}
Example:
{
"name": "NewDestinationOne"
}
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
delete /{tenant}/destinations/{destinationId}
Delete the destination with destinationId = {destinationId}.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 204
A collection of related dispatches.
Get a list of related dispatches.
Delete all related dispatches.
get /{tenant}/destinations/{destinationId}/dispatches
Get a list of related dispatches.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
- more: (string - default: )
Value for this parameter will be provided in the 'more' property of dispatches lists, where needed. An opaque value, construction and parsing may change without notice.
- since: (string - default: )
Only dispatches updated since the specified ISO 8601 TimeStamp (inclusive) are included. If a time zone is not specified, the server's time zone will be used.
HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "dispatchListSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DispatchListSchema",
"type": "object",
"properties": {
"dispatches": {
"type": "array",
"items": {
"$ref": "dispatchIdSchema"
},
"required": true
},
"more": {
"type": "string"
}
},
"additionalProperties": false
}
Example:
{
"dispatches": [
{
"id": "123",
"data": {
"destinationId": "234",
"courseId": "CourseId|1001",
"allowNewRegistrations": true,
"instanced": true,
"registrationCap": 100,
"expirationDate": "2017-01-01",
"externalConfig": ""
}
},
{
"id": "321",
"data": {
. . .
}
}
],
"more": "/ScormEngineInterface/api/v1/default/dispatches?more=sQ2JfFEBAAAOAAAA"
}
delete /{tenant}/destinations/{destinationId}/dispatches
Delete all related dispatches.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
Subresource that allows enabling or disabling all related dispatches.
Enable or disable all related dispatches.
post /{tenant}/destinations/{destinationId}/dispatches/enabled
Enable or disable all related dispatches.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
Body
Type: application/json
Schema:
{ "type": "boolean", "required": true }
Example:
true
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
Enable or disable registration instancing for all related dispatches.
Enable or disable registration instancing.
post /{tenant}/destinations/{destinationId}/dispatches/registrationInstancing
Enable or disable registration instancing.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
Body
Type: application/json
Schema:
{ "type": "boolean", "required": true }
Example:
true
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
Aggregate registration counts for all related dispatches.
Get an aggregate count of all related dispatch registrations.
Reset registration counts for all related dispatches.
get /{tenant}/destinations/{destinationId}/dispatches/registrationCount
Get an aggregate count of all related dispatch registrations.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 200
Body
Type: application/json
Schema:
{ "type": "integer", "required": true }
Example:
412
delete /{tenant}/destinations/{destinationId}/dispatches/registrationCount
Reset registration counts for all related dispatches.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 204
ZIP file containing all related dispatch packages.
Get a ZIP file containing all related dispatch packages.
get /{tenant}/destinations/{destinationId}/dispatches/zip
Get a ZIP file containing all related dispatch packages.
URI Parameters
- tenant: required (string)
- destinationId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
- type: (string - default: )
The type of dispatch package to export (SCORM12, SCORM2004-3RD or AICC)
HTTP status code 200
Headers
- Content-Disposition: (string)
Example:
attachment; filename="dispatches.zip"
Body
Type: application/zip
Dispatches
The collection of all dispatches.
Get a list of dispatches.
Create multiple dispatches.
Delete multiple dispatches.
get /{tenant}/dispatches
Get a list of dispatches.
URI Parameters
- tenant: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
- more: (string - default: )
Value for this parameter will be provided in the 'more' property of dispatches lists, where needed. An opaque value, construction and parsing may change without notice.
- since: (string - default: )
Only dispatches updated since the specified ISO 8601 TimeStamp (inclusive) are included. If a time zone is not specified, the server's time zone will be used.
- courseId: (string - default: )
Limit the results to dispatches of the specified course.
Example:
1000
HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "dispatchListSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DispatchListSchema",
"type": "object",
"properties": {
"dispatches": {
"type": "array",
"items": {
"$ref": "dispatchIdSchema"
},
"required": true
},
"more": {
"type": "string"
}
},
"additionalProperties": false
}
Example:
{
"dispatches": [
{
"id": "123",
"data": {
"destinationId": "234",
"courseId": "CourseId|1001",
"allowNewRegistrations": true,
"instanced": true,
"registrationCap": 100,
"expirationDate": "2017-01-01",
"externalConfig": ""
}
},
{
"id": "321",
"data": {
. . .
}
}
],
"more": "/ScormEngineInterface/api/v1/default/dispatches?more=sQ2JfFEBAAAOAAAA"
}
post /{tenant}/dispatches
Create multiple dispatches.
URI Parameters
- tenant: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "dispatchListSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DispatchListSchema",
"type": "object",
"properties": {
"dispatches": {
"type": "array",
"items": {
"$ref": "dispatchIdSchema"
},
"required": true
},
"more": {
"type": "string"
}
},
"additionalProperties": false
}
Example:
{
"dispatches": [
{
"id": "123",
"data": {
"destinationId": "234",
"courseId": "CourseId|1001",
"allowNewRegistrations": true,
"instanced": true,
"registrationCap": 100,
"expirationDate": "2017-01-01",
"externalConfig": ""
}
},
{
"id": "321",
"data": {
. . .
}
}
],
"more": "/ScormEngineInterface/api/v1/default/dispatches?more=sQ2JfFEBAAAOAAAA"
}
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
delete /{tenant}/dispatches
Delete multiple dispatches.
URI Parameters
- tenant: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
- id: (string - default: )
Comma-separated list of dispatches IDs to delete. Default is "", which means all dispatches.
Example:
123,234
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
An individual dispatch.
Get the dispatch with dispatchId = {dispatchId}.
Create or update the dispatch with dispatchId = {dispatchId}.
Delete the dispatch with dispatchId = {dispatchId}.
get /{tenant}/dispatches/{dispatchId}
Get the dispatch with dispatchId = {dispatchId}.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "dispatchSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DispatchSchema",
"type": "object",
"properties": {
"destinationId": {
"description": "Destination ID.",
"type": "string",
"required": true
},
"courseId": {
"description": "Serialized external package ID.",
"type": "string",
"required": true
},
"allowNewRegistrations": {
"description": "If true, then new registrations can be created for this dispatch.",
"type": "boolean",
"required": false,
"default": false
},
"instanced": {
"description": "If true, then a new registration instance will be created if the client LMS doesn't provide launch data for an existing one. Otherwise, the same instance will always be used for the given cmi.learner_id.",
"type": "boolean",
"required": false,
"default": false
},
"registrationCap": {
"description": "The maximum number of registrations that can be created for this dispatch, where '0' means 'unlimited registrations'.",
"type": "integer",
"required": false,
"default": 0
},
"expirationDate": {
"description": "The date after which this dispatch will be disabled as an ISO 8601 string, or \"none\" for no expiration date.",
"type": "string",
"required": false,
"default": "none"
},
"externalConfig": {
"description": "Serialized external configuration information to include when launching the dispatched package.",
"type": "string",
"required": false,
"default": ""
},
"enabled": {
"description": "If true, then this dispatch can be launched.",
"type": "boolean",
"required": false,
"default": false
},
"registrationCount": {
"description": "The number of registrations created for this dispatch.",
"type": "integer",
"required": false,
"default": 0
},
"registrationResetDate": {
"description": "The date the dispatch registration count was reset to 0 as an ISO 8601 string, or \"none\" for no reset date.",
"type": "string",
"required": false,
"default": ""
}
},
"required": true,
"additionalProperties": false
}
Example:
{
"destinationId": "234",
"courseId": "CourseId|1001",
"allowNewRegistrations": true,
"instanced": true,
"registrationCap": 100,
"expirationDate": "2017-01-01",
"externalConfig": ""
}
HTTP status code 404
Not found.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "dispatch not found" }
put /{tenant}/dispatches/{dispatchId}
Create or update the dispatch with dispatchId = {dispatchId}.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "dispatchSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.DispatchSchema",
"type": "object",
"properties": {
"destinationId": {
"description": "Destination ID.",
"type": "string",
"required": true
},
"courseId": {
"description": "Serialized external package ID.",
"type": "string",
"required": true
},
"allowNewRegistrations": {
"description": "If true, then new registrations can be created for this dispatch.",
"type": "boolean",
"required": false,
"default": false
},
"instanced": {
"description": "If true, then a new registration instance will be created if the client LMS doesn't provide launch data for an existing one. Otherwise, the same instance will always be used for the given cmi.learner_id.",
"type": "boolean",
"required": false,
"default": false
},
"registrationCap": {
"description": "The maximum number of registrations that can be created for this dispatch, where '0' means 'unlimited registrations'.",
"type": "integer",
"required": false,
"default": 0
},
"expirationDate": {
"description": "The date after which this dispatch will be disabled as an ISO 8601 string, or \"none\" for no expiration date.",
"type": "string",
"required": false,
"default": "none"
},
"externalConfig": {
"description": "Serialized external configuration information to include when launching the dispatched package.",
"type": "string",
"required": false,
"default": ""
},
"enabled": {
"description": "If true, then this dispatch can be launched.",
"type": "boolean",
"required": false,
"default": false
},
"registrationCount": {
"description": "The number of registrations created for this dispatch.",
"type": "integer",
"required": false,
"default": 0
},
"registrationResetDate": {
"description": "The date the dispatch registration count was reset to 0 as an ISO 8601 string, or \"none\" for no reset date.",
"type": "string",
"required": false,
"default": ""
}
},
"required": true,
"additionalProperties": false
}
Example:
{
"destinationId": "234",
"courseId": "CourseId|1001",
"allowNewRegistrations": true,
"instanced": true,
"registrationCap": 100,
"expirationDate": "2017-01-01",
"externalConfig": ""
}
HTTP status code 204
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
delete /{tenant}/dispatches/{dispatchId}
Delete the dispatch with dispatchId = {dispatchId}.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 204
Dispatches may be enabled or disabled to control the ability to launch from client LMSs.
True if the dispatch is enabled, or false if it is disabled.
Enable or disabled the dispatch.
get /{tenant}/dispatches/{dispatchId}/enabled
True if the dispatch is enabled, or false if it is disabled.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 200
Body
Type: application/json
Schema:
{ "type": "boolean", "required": true }
Example:
true
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
HTTP status code 404
Not found.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "<<resourcePathName|!singularize>> not found" }
put /{tenant}/dispatches/{dispatchId}/enabled
Enable or disabled the dispatch.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
Body
Type: application/json
Schema:
{ "type": "boolean", "required": true }
Example:
true
HTTP status code 204
HTTP status code 404
Not found.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "<<resourcePathName|!singularize>> not found" }
The number of registrations created for this dispatch since it was created, or since the count was last reset.
Get the registration count for this dispatch, and the date and time of the last count reset, if any.
Reset the registration count for this dispatch.
get /{tenant}/dispatches/{dispatchId}/registrationCount
Get the registration count for this dispatch, and the date and time of the last count reset, if any.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "registrationCountSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.RegistrationCountSchema",
"type": "object",
"properties": {
"registrationCount": {
"type": "integer",
"required": true
},
"lastResetTime": {
"type": "string",
"required": false
}
},
"additionalProperties": false
}
Example:
{
"registrationCount": 2185,
"lastResetDate": "2015-10-09T04:30:08Z"
}
delete /{tenant}/dispatches/{dispatchId}/registrationCount
Reset the registration count for this dispatch.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 204
HTTP status code 404
Not found.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "<<resourcePathName|!singularize>> not found" }
The information necessary to launch this course using the IMS LTI specification.
Get the information necessary to launch this dispatch using the IMS LTI specification.
get /{tenant}/dispatches/{dispatchId}/lti
Get the information necessary to launch this dispatch using the IMS LTI specification.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "ltiInfoSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.LtiInfoSchema",
"type": "object",
"properties": {
"url": {
"description": "The LTI launch URL for this dispatch",
"type": "string",
"required": true
},
"consumerKey": {
"description": "The OAuth consumer key that identifies the tool consumer for this dispatch.",
"type": "string",
"required": true
},
"sharedSecret": {
"description": "The OAuth secret to be used for LTI authentication for this dispatch.",
"type": "string",
"required": true
}
},
"required": true,
"additionalProperties": false
}
Example:
{
"url": "http://example.org/ScormEngineInterface/dispatch/DispatchRequest.aspx?methodName=BltiLaunch&tenant=default",
"consumerKey": "myDispatchId",
"sharedSecret": "p4SsW0rD"
}
HTTP status code 400
Bad request.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "Explanation of why the request is bad." }
HTTP status code 404
Not found.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"title": "messageSchema",
"javaType": "RusticiSoftware.ScormContentPlayer.api.model.MessageSchema",
"type": "object",
"properties": {
"message": {
"type": "string",
"required": true
}
},
"additionalProperties": false
}
Example:
{ "message": "<<resourcePathName|!singularize>> not found" }
The ZIP dispatch package.
Get the ZIP dispatch package.
get /{tenant}/dispatches/{dispatchId}/zip
Get the ZIP dispatch package.
URI Parameters
- tenant: required (string)
- dispatchId: required (string)
Query Parameters
- configuration: (string - default: )
External configuration information. Optional unless GetConnectionString is overridden in your integration layer.
Example:
CompanyId|123
- type: (string - default: )
The type of dispatch package to export (SCORM12, SCORM2004-3RD or AICC)
HTTP status code 200
Headers
- Content-Disposition: (string)
Example:
attachment; filename="dispatch.zip"
Body
Type: application/zip