Click or drag to resize

IUCJsonActivityAvailabilityGet Method

Returns list of available time-slots/prices for a specific location,product and date

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
Syntax
C#
List<AvailabilityResponse> ActivityAvailabilityGet(
	string locationNo,
	string productNo,
	DateTime activityDate,
	string contactNo,
	string contactAccount,
	string optionalResource,
	string promoCode,
	string activityNo,
	int noOfPersons,
	string guestType
)

Parameters

locationNo
Type: SystemString
productNo
Type: SystemString
activityDate
Type: SystemDateTime
contactNo
Type: SystemString
contactAccount
Type: SystemString
optionalResource
Type: SystemString
promoCode
Type: SystemString
activityNo
Type: SystemString
noOfPersons
Type: SystemInt32
guestType
Type: SystemString

Return Value

Type: ListAvailabilityResponse
Remarks
LS Central WS2 : GetAvailabilityV2

Optional to include required resource (if only specific resource) and contactNo for accurate pricing.

Examples
Sample request including minimum data needed to be able to process the request in LS Commerce
REST Sample Request
{
    "locationNo": "CAMBRIDGE",
    "productNo": "MASSAGE30",
    "activityDate": "\/Date(1580580398000)\/",
    "contactNo": "MO000008",
    "optionalResource": "",
    "promoCode": ""
}
See Also