Skip to main content
Version: 2.2.3

importTraining

This method allows adding/editing:

  • A training (if the training exists already, it will be edited).

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/training/ImportTrainingRequestType.java
Returnweb/wwwroot/ws/java/training/ImportTrainingResponseType.java

Request:

IDRequiredDescription
IDTRAINTraining ID #.
NMTRAINTraining name.
IDCOURSECourse ID #.
FGSTATUSTraining status [1 - Planning, 5 - Execution, 8 - Finished]. The training can be generated under execution, if the configuration used has an evaluation type or any required item that prevents the training from being created as finished. If you prefer to create the training as finished, use a simple configuration.
FGPARTTYPETraining type [1 - Collective; 2 - Individual].
NMUSERINFOParticipant's ID (internal user) or e-mail (external user). To add more than one participant, use the ";" separator. For example: ID/E-mail;ID/E-mail;ID/E-mail. If you wish to enter the participant's score, use the " separator.
INSTRUCTORInstructor's ID or third-party instructor's name. To add more than one participant, use the ";" separator. For example: ID/Name;ID/Name. If you wish to define that the instructor will have control in the training, enter the number "1" after the ID, using the "|" separator. For example: ID/E-mail| Score;ID/E-mail|Score. If you wish to enter the participant's score and attendance, use the "|" separator.
OBJECTDocument ID #. To add more than one object, use the ";" separator. For example: Object;Object. To specify the revision, it is necessary to identify the revision #; use the "|" separator. For example: Object|00;Object|01
IDCONFIGURATIONTraining configuration ID #.
IDTEAMPLANPlanning control team ID #.
IDTEAMEXECExecution control team ID #.
FGLOCATIONLocation type [1 - Internal; 2 - Third-party].
IDENTITYEducational entity ID #.
SUPPORTSupport staff.
OBJECTIVEObjective.
COMMComments.
DTSTARTPLANPlanned start date.
DTENDPLANPlanned end date.
WORKLOADPLANPlanned workload (Number of minutes).
DTSTARTEXECX⁴Actual start date.
DTENDEXECActual end date.
WORKLOADEXEActual workload (Number of minutes).
SIGNATURESignature on training certificate.
info
  • X¹ - It will be required for editing.
  • X² - It will be required for creation.
  • X³ - It will be required in the case of training planning creation.
  • X⁴ - It will be required in the case of training execution creation.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:training">
<soapenv:Header/>
<soapenv:Body>
<urn:importTraining>
<!--You may enter the following 23 items in any order-->
<urn:IDTRAIN>?</urn:IDTRAIN>
<urn:NMTRAIN>?</urn:NMTRAIN>
<urn:IDCOURSE>?</urn:IDCOURSE>
<urn:FGSTATUS>?</urn:FGSTATUS>
<urn:FGPARTTYPE>?</urn:FGPARTTYPE>
<urn:NMUSERINFO>?</urn:NMUSERINFO>
<urn:INSTRUCTOR>?</urn:INSTRUCTOR>
<urn:OBJECT>?</urn:OBJECT>
<urn:IDCONFIGURATION>?</urn:IDCONFIGURATION>
<urn:IDTEAMPLAN>?</urn:IDTEAMPLAN>
<urn:IDTEAMEXEC>?</urn:IDTEAMEXEC>
<urn:FGLOCATION>?</urn:FGLOCATION>
<urn:IDENTITY>?</urn:IDENTITY>
<urn:SUPPORT>?</urn:SUPPORT>
<urn:OBJECTIVE>?</urn:OBJECTIVE>
<urn:OBS>?</urn:OBS>
<urn:DTSTARTPLAN>?</urn:DTSTARTPLAN>
<urn:DTENDPLAN>?</urn:DTENDPLAN>
<urn:WORKLOADPLAN>?</urn:WORKLOADPLAN>
<urn:DTSTARTEXEC>?</urn:DTSTARTEXEC>
<urn:DTENDEXEC>?</urn:DTENDEXEC>
<urn:WORKLOADEXE>?</urn:WORKLOADEXE>
<urn:SIGNATURE>?</urn:SIGNATURE>
</urn:importTraining>
</soapenv:Body>
</soapenv:Envelope>

Return:

IDDescription
returnSUCCESS: ID # of the new training.
FAILURE: Error message.