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

Get details of an Occurrence of a Programme. 

Returns an Authenticated Occurrence containing the details of the given Occurrence. 

The Occurrence is represented by a TOccu

An Occurrence ID (iOccu_ID) is passed as a parameter. iOccu_ID must specify a valid Occurrence or Booking, otherwise, no occurrence is returned. 

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

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

C#
[WebMethod(Description = "Gets the details for an occurrence with the specified ID")]
public TAuthOccu GetOccurrenceDetails(string sToken, int iOccu_ID);
Parameters 
Description 
string sToken 
String containing a token. 
int iOccu_ID 
Integer ID of the Occurrence or Booking. 

TAuthOccu : an authenticated Occurrence.

Copyright (c) OzSoft Solutions 2016. All rights reserved.