Home > API General, Fees, Rental/Reservation > SWS GetScheduledFees Method

SWS GetScheduledFees Method

Retrieves a list of scheduled fees for the specified rental.


Name DataType Is Required
RentalID Long Required
Description The rental item’s ID number. This is returned when using the MakeReservation method or can be searched for using the SearchBy method.
SiteID Long Required
Description The site’s ID number. This can be found using the GetSiteList method.

Returned Parameters

Name DataType
Description The scheduled fee type’s numeric value.
Available values:

  • 1 – Fixed
  • 2 – Percentage(%)
  • 3 – Greater Amount
  • 4 – Lesser Amount
Description Indicates if the scheduled fee is active (“True”) or not (“False”).
FEE_AMT String
Description The fee amount.
Description The description of the fee amount.
Description The site fee’s description.
Description The site fee’s ID number.
ICON String
Description The URL for the site revenue class icon that displays in the Store application.
Description The organization fee’s ID number.
REF_TYPE Decimal
Description A numeric value for the assessment type.
Description The rental item’s ID number.
Description The site’s ID number.
Description Indicates if the fee is taxable (“True”) or not (“False”). If a tax exempt ID is used, the fee will not be taxed even if this returns “True”.


As with every method we need to pass in credentials. We do this with the LookupUser request object.

We’ll assume you’ve got a web reference, let’s name it SWS, in your Visual Studio project.  At this point we need to our objects.  We’ll need the standard service object, a GetScheduledFees request object and a ScheduledFee response collection.  We can define and create those like this:

// Create a request and response objects
SWS.WSSoapClient service = new SWS.WSSoapClient();
SWS.GetScheduledFees_Request request = new SWS.GetScheduledFees_Request();
SWS.ScheduledFee[] response;

Here’s my sample code of the Request object.

// GetScheduledFees Request
request.OrgID = 123456;
request.SiteID = 123456;
request.RentalID = 123456;

Finally we can call the method and pass across the login object and the request object to get our scheduled fees. It’s a good idea to do this in a Try Catch block.

// Call the method that will load the response object
  response = service.GetScheduledFees(user_request, request);
catch (Exception ex)

Note that if something goes wrong the service will respond with an exception. You’ll want to take a look at that message returned in that exception so it can be debugged.

For a full list of methods see SWS Methods.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s