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

Get Extended Details for an Occurrence. 

Returns an Authenticated Occurrence Extented Detail containing details of an Occurrence and various lists associated with it. This includes the occurrence's classes, units, prices, staff, study reasons and tasks. 

Specify the ID of the Occurrence or Booking to get extended details for. 

It effectively rolls the GetOccurrenceDetails, GetClassesForOccurrence, GetUnitsForOccurrence, GetPricingForOccurrence, GetStaffForOccurrence, GetStudyReasonsForOccurrence and GetTasksForOccurrence functions up into one call. 

The Occurrence Extended Details are represented by a TOccuExtended

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

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

This function has security level "Unrestricted", and can be accessed by any authenticated user.

C#
[WebMethod(Description = "Gets the extended details for an occurrence with the specified ID")]
public TAuthOccuExtended GetOccurrenceExtendedDetails(string token, int occurrenceId);
Parameters 
Description 
string token 
String Token. 
int occurrenceId 
Integer ID of an Occurrence or Booking to retrieve extended details for. 

TAuthOccuExtended : an Authenticated Occurrence Extended Detail.

Copyright (c) VETtrak 2022. All rights reserved.