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

Get the Price List for an Occurrence or Booking. 

This is a listing of all published Price Types and associated Dollar amounts linked to an Occurrence or Booking. 

Each Price is represented by a TPric. The collection of Prices is represented by a List of TPric

A token is passed for authentication. If the authentication fails, or other errors occur, no prices 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 a list of prices in the occurrence with the specified ID")]
public TAuthPricList GetPricingForOccurrence(string sToken, int iID);
Parameters 
Description 
string sToken 
String containing a token. 
int iID 
Integer containing the ID of the Occurrence or Booking. 

TAuthPricList : an authenticated list of all Prices for the Occurrence.

Copyright (c) VETtrak 2022. All rights reserved.