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 | Name of course |
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 responsible team for completing pre-training evaluation | |
TrainEvalTemplateID | Training evaluation test template ID # | |
TrainRespTeamID | ID # of the responsible team for completing training evaluation | |
ReactionEvalTemplateID | ID # of the survey template of reaction evaluation | |
ReactionRespTeamID | ID # of the responsible team for completing the reaction evaluation survey | |
PostTrainEvalTemplateID | Post-training evaluation test template ID # | |
PostTrainRespTeamID | ID # of the responsible team for completing post-training evaluation | |
EffectivEvalTemplateID | ID # of the survey template of participant effectiveness evaluation | |
EffectivRespTeamID | ID # of the responsible team for completing the participant effectiveness evaluation survey | |
AvailableContent | Make content available to the training participants (1 - Yes; 2 - No) | |
AfterExecutionContent | Maintain access for participants after content execution. (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 the training flow when finishing the content execution (1 - Yes; 2 - No) | |
Deadline | Deadline frequency amount 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 | End access to content on time (1 - Yes; 2 - No) | |
DtRevision | Revision date. When this field is completed, the course will be created with the revision released. | |
IdUser | Code of the user that will create or edit the record. If it is not entered, the session data will be used. |
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:IDUSER>?</urn:IDUSER>
</urn:newCourse>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Return | SUCCESS: 1. FAILURE: Message detailing the error. |