ASP.NET VETtrak API web services
ContentsIndexHome
PreviousUpNext
VT_API.GetLMSNewOccurrences Method

Get the List of LMS Occurrences. 

This is a listing of all LMS Occurrences which exist in VETtrak but don't exist in the Learning Management System (LMS). These are occurrences that are flagged as LMS occurrences, and are not flagged as having been previously created in the LMS. 

Each Occurrence is represented by a TOccu. The collection of Occurrences is represented by a List of TOccu

A token is passed for authentication. If the authentication fails, or other errors occur, no occurrences are returned. The result of the authentication is represented by a TAuthenticate object. 

It is envisaged that an LMS system would call this function on a (very) regular basis, and use the resulting Occurrences to generate equivalent Occurrences in the LMS. 

Having successfully replicated an Occurrence in the LMS, the LMS would advise VETtrak to flag the successful creation of the Occurrence on the LMS by calling the function: 

 

Requires a valid registration key entry for the Short Courses feature. 

This function has security level "Protected", and can only be accessed by users that have explicitly been granted permission to the API.

C#
[WebMethod(Description = "Gets a list of occurrences that have been flagged for LMS but have not yet been sent to the LMS")]
public TAuthOccuList GetLMSNewOccurrences(string sToken);
Parameters 
Description 
string sToken 
String containing a token. 

TAuthOccuList : an authenticated list of LMS Occurrences.

Copyright (c) VETtrak 2022. All rights reserved.