newCourse
This method allows adding or editing a course. To add/edit it, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web/wwwroot/ws/java/training/NewCourseRequestType.java |
Return | web/wwwroot/ws/java/training/NewCourseResponseType.java |
Request:
ID | Required | Description |
---|---|---|
CourseTypeID | X | Course type ID # |
CourseID | X | Course ID # |
CourseName | X | Course name |
DefaultConfigurationID | Default configuration name | |
Usage | X | Usage (1 - Training; 2 - Employee profile; 3 - Both) |
Workload | X¹ | Workload, in the 0000:00 format |
WorkloadType | X | Workload type (1 - Fixed; 2 - Variable) |
Objective | Course objective | |
Description | Course description | |
PreTrainEvalTemplateId | Pre-training evaluation test template ID # | |
PreTrainRespTeamID | ID # of the team responsible for filling out the pre-training evaluation | |
TrainEvalTemplateID | Training evaluation test template ID # | |
TrainRespTeamID | ID # of the team responsible for filling out the training evaluation | |
ReactionEvalTemplateID | Reaction evaluation survey template ID # | |
ReactionRespTeamID | ID # of the team responsible for filling out the reaction evaluation survey | |
PostTrainEvalTemplateID | Post-training evaluation test template ID # | |
PostTrainRespTeamID | ID # of the team responsible for filling out the post-training evaluation | |
EffectivEvalTemplateID | Participant effectiveness evaluation survey template ID # | |
EffectivRespTeamID | ID # of the team responsible for filling out the participant effectiveness evaluation survey | |
AvailableContent | Make content available to training participants (1 - Yes; 2 - No) | |
AfterExecutionContent | Keep participants' access after content is executed (1 - Yes; 2 - No) | |
RequiredAccess | Require participants to access the training content before sending it to the next step (1 - Yes; 2 - No) | |
AutomateFlow | Automate training flow when finishing content execution (1 - Yes; 2 - No) | |
Deadline | Deadline frequency quantity for content access | |
DeadlineType | Deadline frequency for content access (1 - Day; 2 - Week; 3 - Month; 4 - Year) | |
BlockOnDeadline | Block content access after the deadline expires (1 - Yes; 2 - No) | |
FinishExeConDue | Block content access on the deadline (1 - Yes; 2 - No) | |
DtRevision | Revision 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 |
---|---|
Return | SUCCESS: 1. FAILURE: Message detailing the error. |