Navigation:  Integration via SOAP web services > Published web services > Training >

importTraining

Previous  Top  Next

This method enables to add/edit:

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

Request

web/wwwroot/ws/java/training/ImportTrainingRequestType.java

Return

web/wwwroot/ws/java/training/ImportTrainingResponseType.java

 

Request

ID #

Required

Description

IDTRAIN

X1

Training ID #.

NMTRAIN

 

Training name

IDCOURSE

X2

Course ID #

FGSTATUS

X2

Training status [1 - Planning, 5 - Execution, 8 - Finished].

FGPARTTYPE

X2

Training type [1 - Collective; 2 - Individual].

NMUSERINFO

 

User ID or external user e-mail. 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. For example: ID/E-mail| Score;ID/E-mail|Score. If you wish to enter the participant's score and attendance, use the "|" separator. For example: ID/E-mail|Score|Attendance;ID/E-mail|Score|Attendance.

INSTRUCTOR

 

Instructor ID # or third-party instructor 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/Name|1;ID/Name|1.

OBJECT

 

Document 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

IDCONFIGURATION

 

Training configuration ID #.

IDTEAMPLAN

 

Planning control team ID #.

IDTEAMEXEC

 

Execution control team ID #.

FGLOCATION

 

Location type [1 - Internal; 2 - Third-party].

IDENTITY

 

ID # of educational entity

SUPPORT

 

Support staff.

OBJECTIVE

 

Objective.

COMM

 

Comments.

DTSTARTPLAN

X3

Planned start date.

DTENDPLAN

X3

Planned end date.

WORKLOADPLAN

 

Planned workload (Number of minutes).

DTSTARTEXEC

X4

Actual start date

DTENDEXEC

 

Actual end date.

WORKLOADEXE

 

Actual workload (Number of minutes).

SIGNATURE

 

Signature on the training certificate.

 

1 - It will be required for editing.

2 - It will be required for creation.

3 - It will be required in the case of training planning creation.

4 - It will be required in the case of training execution creation.

 

Return

ID #

Description

return

SUCESSO: ID # of the new training.

FAILURE: Error message.