Click or drag to resize

IUCServiceActivityReservationInsert Method

Action to create a Reservation header into the LS Reservation table

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.6
Syntax
C#
string ActivityReservationInsert(
	Reservation request
)

Parameters

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

Return Value

Type: String
Remarks
LS Central WS2 : InsertReservation
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/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Activity/2017">
  <soapenv:Header/>
  <soapenv:Body>
     <ser:ActivityReservationInsert>
        <ser:request>
           <ns1:ContactName>Tom</ns1:ContactName>
           <ns1:ContactNo>MO000008</ns1:ContactNo>
           <ns1:Description></ns1:Description>
           <ns1:Email>tom@xxx.com</ns1:Email>
           <ns1:EventNo></ns1:EventNo>
           <ns1:Internalstatus>0</ns1:Internalstatus>
           <ns1:Location>CAMBRIDGE</ns1:Location>
           <ns1:NoOfPerson>1</ns1:NoOfPerson>
           <ns1:ResDateFrom>2019-10-10</ns1:ResDateFrom>
           <ns1:ResDateTo>2019-10-10</ns1:ResDateTo>
           <ns1:ResTimeFrom>13:00:00</ns1:ResTimeFrom>
           <ns1:ResTimeTo>14:00:00</ns1:ResTimeTo>
           <ns1:ReservationType>SPA</ns1:ReservationType>
           <ns1:SalesPerson>AH</ns1:SalesPerson>
           <ns1:Status></ns1:Status>
        </ser:request>
     </ser:ActivityReservationInsert>
  </soapenv:Body>
</soapenv:Envelope>
See Also