Skip to main content
Version: 2.2.3

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:

IDRequiredDescription
CourseTypeIDXCourse type ID #.
CourseIDXCourse ID #.
CourseNameXCourse name.
DefaultConfigurationIDDefault configuration ID #.
UsageXUsage (1 – Training; 2 – Employee profile; 3 – Both).
WorkloadWorkload, in the 0000:00 format
WorkloadTypeXWorkload type (1 - Fixed; 2 - Variable).
ObjectiveCourse objective.
ObjectDocument ID #. To add more than one object, use the ";" separator. For example: Object1;Object2.
DescriptionCourse description.
PreTrainEvalTemplateIdPre-training evaluation test template ID #.
PreTrainRespTeamIDID # of the responsible team for filling out the pre-training evaluation.
TrainEvalTemplateIDTraining evaluation test template ID #.
TrainRespTeamIDID # of the team responsible for filling out the training evaluation.
ReactionEvalTemplateIDReaction evaluation survey template ID #.
ReactionRespTeamIDID # of the team responsible for filling out the reaction evaluation survey.
PostTrainEvalTemplateIDPost-training evaluation test template ID #.
PostTrainRespTeamIDID # of the team responsible for filling out the post-training evaluation
EffectivEvalTemplateIDParticipant effectiveness evaluation survey template ID #.
EffectivRespTeamIDID # of the team responsible for filling out the participant effectiveness evaluation survey
AvailableContentMake content available to training participants (1 - Yes; 2 - No).
AfterExecutionContentKeep participants' access after content is executed. (1 - Yes; 2 - No).
RequiredAccessRequire participants to access the training content before sending it to the next step (1 - Yes; 2 - No).
AutomateFlowAutomate training flow when finishing content execution (1 - Yes; 2 - No).
DeadlineDeadline frequency quantity 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:OBJECT>?</urn:OBJECT>
<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:

IDDescription
ReturnSUCCESS: 1.
FAILURE: Message detailing the error.