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 | |
---|---|
Request | web\wwwroot\ws\java\training\ImportTrainingPresenceListRequestType.java |
Return | web\wwwroot\ws\java\training\ImportTrainingPresenceListResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDTRAIN | X | Training ID # |
IDUSER | X | Participant ID |
DTDATE | X | Training occurrence date |
FGPRESENCE | X | Participant attended the training [1 - Yes; 2 - No] |
IDSHIFT | Shift 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 |
---|---|
return | SUCCESS: 1. FAILURE: Message detailing the error. |