Skip to content

ACTIVITY ADD V001

Service Reference Name: S_ACTIVITY_ADD_V001

General

This service adds an activity to the trails.

ATTENTION! You can add activities to any trail. SIHOT does not check if the activity is saved in the "correct" trail. Please ensure that you use the correct trail types, objIDs and nodes for the intended purpose. This service does not create new nodes. Either use existing nodes or create new nodes in SIHOT. This service includes information found in:

  • S_EVENT_RESERVATION_TRAIL_NODE_GET_V001
  • S_GUEST_TRAIL_NODE_GET_V001 (for trailType, Node1Type and Node2Type)
  • S_EVENT_RESERVATION_NODE_STRUCTURE_GET_V001 (for objIDs of event information, service reservation, module reservation, room reservation, equipment reservation)

Input

  • trailType: trail type e.g.: Event (54000), Event Appointments(52000), Event Traces (53000), Guest profile (12000)
  • Node1Type: type e.g event reservation(VANA), service reservation(LST), module reservation (MOR), room reservation (RAR), guest profile activity (0005) or to add trail (0000)
  • Node2Type: This node is responsible for creating a trail within a sub-trail.
  • refObjID: objID of base node, e.g. event reservation ObjID or guest profile ObjID
  • refTreeObjID:When adding the new activity to the event, use the same as in the refObjID.
    • Otherwise use the objID of the parent tree node in which the activity should be created (e.g. objID of the module reservation to create an activity in this module reservation).
    • see service S_EVENT_RESERVATION_NODE_STRUCTURE_GET_V001
  • parentRefObjID: Required for follow-up trails only (not related to the treeRefObjID!). ObjID of the master trail.
    • see service S_EVENT_RESERVATION_TRAIL_NODE_GET_V001/S_GUEST_TRAIL_NODE_GET_V001
  • description: Description of the activity
  • status: combo box("ts") key value (can be defined in SIHOT)
  • beginDate: format: yyyy-mm-DD
  • beginTime: format: hh:mm
  • endDate: format: yyyy-mm-DD
  • endTime: format: hh:mm
  • user: SIHOT userID
  • comment: string comment

Output

  • ACTIVITY-OBJID: ObjID of the newly created activity! If this field is empty or missing, the activity was not created (fail).

Direction

SIHOT.PMS ← IF Partner

Message

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soapenv:Header />
  <soapenv:Body>
    <S_ACTIVITY_ADD_V001Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
      <Authentication>
        <SecurityID>string</SecurityID>
      </Authentication>
      <TrailAdd>
        <trailtype>Base: string Pattern: ([-+]){0,1}([0-9])*</trailtype>
        <Node1Type>string</Node1Type><!--Optional--><Node2Type>string</Node2Type>
        <refobjid>Base: string Pattern: ([0-9])*</refobjid><!--Optional--><reftreeobjid>Base: string Pattern: ([0-9])*</reftreeobjid><!--Optional--><parentrefobjid>Base: string Pattern: ([0-9])*</parentrefobjid><!--Optional--><user>Base: string minLength: 0 maxLength: 3</user><!--Optional--><status>Base: string minLength: 0 maxLength: 3</status>
        <description>Base: string minLength: 0 maxLength: 60</description><!--Optional--><location>Base: string minLength: 0 maxLength: 60</location>
        <appointmentdate>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</appointmentdate>
        <time>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</time><!--Optional--><enddate>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</enddate><!--Optional--><endtime>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</endtime><!--Optional--><comment>string</comment>
      </TrailAdd><!--Optional--><Activity><!--Optional--><ExternalID_Act>
          <externalid>string</externalid>
        </ExternalID_Act>
      </Activity>
    </S_ACTIVITY_ADD_V001Request>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Message

Name Type
S_ACTIVITY_ADD_V001Request
TransactionID string
Authentication Node
SecurityID string
TrailAdd Node
trailtype Base: string Pattern: ([-+]){0,1}([0-9])*
Node1Type string
Node2Type string
refobjid Base: string Pattern: ([0-9])*
reftreeobjid Base: string Pattern: ([0-9])*
parentrefobjid Base: string Pattern: ([0-9])*
user Base: string minLength: 0 maxLength: 3
status Base: string minLength: 0 maxLength: 3
description Base: string minLength: 0 maxLength: 60
location Base: string minLength: 0 maxLength: 60
appointmentdate Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
time Base: string Pattern: ([01][0-9]
enddate Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
endtime Base: string Pattern: ([01][0-9]
comment string
Activity Node
ExternalID_Act Node
externalid string

Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soapenv:Header />
  <soapenv:Body>
    <S_ACTIVITY_ADD_V001Response xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
      <Result>
        <Success>Base: string Pattern: true or false</Success><!--Optional--><ErrorMsg>string</ErrorMsg><!--Optional--><MSG-LIST><!--Optional--><MSG-ENTRY><!--Optional--><MSG-LEVEL>Base: string Pattern: ERROR or WARNING or INFO</MSG-LEVEL><!--Optional--><MSG-CLASS>string</MSG-CLASS><!--Optional--><MSG-NO>Base: string Pattern: ([0-9])*</MSG-NO><!--Optional--><MSG-TEXT>string</MSG-TEXT><!--Optional--><MSG-ENTRY-PARAM-LIST><!--Optional--><PARAM><!--Optional--><INDEX>Base: string Pattern: ([0-9])*</INDEX><!--Optional--><VALUE>string</VALUE>
              </PARAM>
            </MSG-ENTRY-PARAM-LIST><!--Optional--><MSG-COMMENT>string</MSG-COMMENT><!--Optional--><MSG-SUPRESSED>string</MSG-SUPRESSED>
          </MSG-ENTRY>
        </MSG-LIST>
      </Result><!--Optional--><Activity>
        <ACTIVITY-OBJID>Base: string Pattern: ([0-9])*</ACTIVITY-OBJID>
      </Activity>
    </S_ACTIVITY_ADD_V001Response>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Response

Name Type
S_ACTIVITY_ADD_V001Response
TransactionID string
Result Node
Success Base: string Pattern: true or false
ErrorMsg string
MSG-LIST Node
MSG-ENTRY Node
MSG-LEVEL Base: string Pattern: ERROR or WARNING or INFO
MSG-CLASS string
MSG-NO Base: string Pattern: ([0-9])*
MSG-TEXT string
MSG-ENTRY-PARAM-LIST Node
PARAM Node
INDEX Base: string Pattern: ([0-9])*
VALUE string
MSG-COMMENT string
MSG-SUPRESSED string
Activity Node
ACTIVITY-OBJID Base: string Pattern: ([0-9])*