In the JobReady(JR) web service, the event resource object is exposed so that events can be created under a course or within a system timetable. To fulfil the criteria of a successful event creation, the following fields are mandatory:
Besides the field criteria, there is also a behavioural criteria to be met if a trainer needs to be associated with the event. For example, the following request schema would produce an error.
Class Sample Description true 2011-06-07 12:30:00 14:30:00 110425188
Validation failure Please ensure the event's trainer is also an attendee. ...
In order to overcome the above error, the sequence of steps to follow are:
- create the JR event without the trainer association
- create the JR invitee within the event created in #1 for the trainer (uses party-identifier for the party(person))
- update the JR event from #1 with the trainer (uses party-identifier for the party(person))