Click or drag to resize

ITravelReimbursementGetTravelReimbursementsByStatus Method

Gets Travel reimbursements by status.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
List<TravelReimbursement> GetTravelReimbursementsByStatus(
	string status,
	int options = 0,
	string businessUnitGUID = null
)

Parameters

status  String
Name of the Travel Reimbursement status to search for. When this is null or an empty string then searches all statuses.
options  Int32  (Optional)
Bitflag. Each bit of the enum represents a separate option. Use 'Bitwise Or' to specify a combination of options.
  • 0 = None.
  • 16 = Includes travel reimbursements from the given business unit and its children.
businessUnitGUID  String  (Optional)
Identifies business unit of which travel reimbursements are fetched from. If not given, travel reimbursements for all business units are returned.

Return Value

ListTravelReimbursement
List of TravelReimbursement objects.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
NotFoundExceptionTravel reimbursement status could not be found.
See Also