Skip to main content
Version: 2.2.1

importTrainingPresenceList

This method allows adding/editing:

  • Attendances in the attendance list of a training

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

Java class
Requestweb\wwwroot\ws\java\training\ImportTrainingPresenceListRequestType.java
Returnweb\wwwroot\ws\java\training\ImportTrainingPresenceListResponseType.java

Request:

ID #RequiredDescription
IDTRAINXTraining ID #
IDUSERXParticipant ID
DTDATEXTraining occurrence date
FGPRESENCEXParticipant attended the training [1 - Yes; 2 - No]
IDSHIFTShift ID # (required if the training has shifts).

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:training">
<soapenv:Header/>
<soapenv:Body>
<urn:importTrainingPresenceList>
<!--You may enter the following 5 items in any order-->
<urn:IDTRAIN>?</urn:IDTRAIN>
<urn:IDTRAINUSER>?</urn:IDTRAINUSER>
<urn:IDTRAINCALENDAR>?</urn:IDTRAINCALENDAR>
<urn:FGPRESENCE>?</urn:FGPRESENCE>
<urn:IDSHIFT>?</urn:IDSHIFT>
</urn:importTrainingPresenceList>
</soapenv:Body>
</soapenv:Envelope>

Return:

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