Click or drag to resize

IUCServiceActivityConfirm Method

Confirm Activity Booking

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.6
Syntax
C#
ActivityResponse ActivityConfirm(
	ActivityRequest request
)

Parameters

request
Type: LSRetail.Omni.Domain.DataModel.Activity.ActivitiesActivityRequest

Return Value

Type: ActivityResponse
Activity Number and Booking Reference
Remarks
LS Central WS2 : ConfirmActivityV2 or V3

If property [Paid] is set, then returns details for the retail basket.

[BookingRef] should be assigned to the OrderLine and passed in with Order so retrieved basket payment through Commerce Service for LS Central will update the Activities payment status and assign the sales order document as payment document.

If activity type does not require [contactNo] then it is sufficient to provide client name.

If [ReservationNo] is blank the system will create new reservation and return the value to ReservationNo. If ReservationNo is populated parameter then the system will try to add the activity to existing reservation if the reservation exists and is neither canceled or closed.

[PromoCode] is validated and adjusts pricing accordingly.

Examples
This Sample request can be used in SOAP UI application to send request to LS Commerce.

Include minimum data needed to be able to process the request

SOAP Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Activity/2017">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:ActivityConfirm>
         <ser:request>
            <ns:ActivityTime>2019-12-10T13:00:00</ns:ActivityTime>
            <ns:ContactName>Tom</ns:ContactName>
            <ns:ContactNo>MO000008</ns:ContactNo>
            <ns:Location>CAMBRIDGE</ns:Location>
            <ns:NoOfPeople>1</ns:NoOfPeople>
            <ns:Paid>false</ns:Paid>
            <ns:ProductNo>MASSAGE30</ns:ProductNo>
            <ns:Quantity>1</ns:Quantity>
            <ns:ReservationNo>RES0044</ns:ReservationNo>
         </ser:request>
      </ser:ActivityConfirm>
   </soapenv:Body>
</soapenv:Envelope>
See Also