Skip to main content
Version: 2.2.1

newCourse

This method allows adding or editing a course. To add/edit it, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/training/NewCourseRequestType.java
Returnweb/wwwroot/ws/java/training/NewCourseResponseType.java

Request:

ID #RequiredDescription
CourseTypeIDXCourse type ID #
CourseIDXCourse ID #
CourseNameXName of course
DefaultConfigurationIDDefault configuration name
UsageXUsage (1 - Training; 2 - Employee profile; 3 - Both)
WorkloadX¹Workload, in the 0000:00 format
WorkloadTypeXWorkload type (1 - Fixed; 2 - Variable)
ObjectiveCourse objective
DescriptionCourse description
PreTrainEvalTemplateIdPre-training evaluation test template ID #
PreTrainRespTeamIDID # of the responsible team for completing pre-training evaluation
TrainEvalTemplateIDTraining evaluation test template ID #
TrainRespTeamIDID # of the responsible team for completing training evaluation
ReactionEvalTemplateIDID # of the survey template of reaction evaluation
ReactionRespTeamIDID # of the responsible team for completing the reaction evaluation survey
PostTrainEvalTemplateIDPost-training evaluation test template ID #
PostTrainRespTeamIDID # of the responsible team for completing post-training evaluation
EffectivEvalTemplateIDID # of the survey template of participant effectiveness evaluation
EffectivRespTeamIDID # of the responsible team for completing the participant effectiveness evaluation survey
AvailableContentMake content available to the training participants (1 - Yes; 2 - No)
AfterExecutionContentMaintain access for participants after content execution. (1 - Yes; 2 - No)
RequiredAccessRequire participants to access the training content before sending it to the next step (1 - Yes; 2 - No)
AutomateFlowAutomate the training flow when finishing the content execution (1 - Yes; 2 - No)
DeadlineDeadline frequency amount for content access
DeadlineTypeDeadline frequency for content access (1 - Day; 2 - Week; 3 - Month; 4 - Year)
BlockOnDeadlineBlock content access after the deadline expires (1 - Yes; 2 - No)
FinishExeConDueBlock content access on the deadline (1 - Yes; 2 - No)
DtRevisionRevision date. When this field is completed, the course will be created with the revision released.
info

X¹ - Required when WorkloadType is equal to 1.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:training">
<soapenv:Header/>
<soapenv:Body>
<urn:newCourse>
<!--You may enter the following 29 items in any order-->
<urn:COURSETYPEID>?</urn:COURSETYPEID>
<urn:COURSEID>?</urn:COURSEID>
<urn:COURSENAME>?</urn:COURSENAME>
<urn:DEFAULTCONFIGURATIONID>?</urn:DEFAULTCONFIGURATIONID>
<urn:USAGE>?</urn:USAGE>
<urn:WORKLOAD>?</urn:WORKLOAD>
<urn:WORKLOADTYPE>?</urn:WORKLOADTYPE>
<urn:OBJECTIVE>?</urn:OBJECTIVE>
<urn:DESCRIPTION>?</urn:DESCRIPTION>
<urn:PRETRAINEVALTEMPLATEID>?</urn:PRETRAINEVALTEMPLATEID>
<urn:PRETRAINRESPTEAMID>?</urn:PRETRAINRESPTEAMID>
<urn:TRAINEVALTEMPLATEID>?</urn:TRAINEVALTEMPLATEID>
<urn:TRAINRESPTEAMID>?</urn:TRAINRESPTEAMID>
<urn:REACTIONEVALTEMPLATEID>?</urn:REACTIONEVALTEMPLATEID>
<urn:REACTIONRESPTEAMID>?</urn:REACTIONRESPTEAMID>
<urn:POSTTRAINEVALTEMPLATEID>?</urn:POSTTRAINEVALTEMPLATEID>
<urn:POSTTRAINRESPTEAMID>?</urn:POSTTRAINRESPTEAMID>
<urn:EFFECTIVEVALTEMPLATEID>?</urn:EFFECTIVEVALTEMPLATEID>
<urn:EFFECTIVRESPTEAMID>?</urn:EFFECTIVRESPTEAMID>
<urn:AVAILABLECONTENT>?</urn:AVAILABLECONTENT>
<urn:AFTEREXECUTIONCONTENT>?</urn:AFTEREXECUTIONCONTENT>
<urn:REQUIREDACCESS>?</urn:REQUIREDACCESS>
<urn:AUTOMATEFLOW>?</urn:AUTOMATEFLOW>
<urn:DEADLINE>?</urn:DEADLINE>
<urn:DEADLINETYPE>?</urn:DEADLINETYPE>
<urn:BLOCKONDEADLINE>?</urn:BLOCKONDEADLINE>
<urn:FINISHEXECONDUE>?</urn:FINISHEXECONDUE>
<urn:DTREVISION>?</urn:DTREVISION>
</urn:newCourse>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
ReturnSUCCESS: 1.
FAILURE: Message detailing the error.