TRAIL EXTERNAL DOCUMENT ADD V001
Service Reference Name: S_TRAIL_EXTERNAL_DOCUMENT_ADD_V001
General
This service creates a trail and attaches a document to it.
Input
- refObjID: ObjID of the object the trail will be linked to (e.g. could be the objID of a guest profile, depending on the trailType). Mandatory
Trail information:
- trailType: trailType from activity/trail. Compare to "trailType" in the reference services. Mandatory Examples: Guest: 14000; Reservation: 24000; Event Reservation: 55000; etc.
- Node1Type: The first node from trail structure. Compare to "Node1Type" in the reference services. Mandatory
- Node2Type: The second node from trail structure. Compare to "Node2Type" in the reference service. Mandatory
Attachment information: - fileName: string - base64string: value - comment: string
References
-
S_GUEST_TRAIL_NODE_GET_V001 - Obtain the list of guest trail types
-
S_RESERVATION_TRAIL_NODE_GET_V001 - Obtain the list of reservation trail types
-
S_EVENT_RESERVATION_TRAIL_NODE_GET_V001 - Obtain the list of event trail types
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_TRAIL_EXTERNAL_DOCUMENT_ADD_V001Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
<Authentication>
<SecurityID>string</SecurityID>
</Authentication>
<ExternalFile>
<refobjid>Base: string Pattern: ([0-9])*</refobjid>
<trailtype>Base: string Pattern: ([-+]){0,1}([0-9])*</trailtype>
<Node1Type>string</Node1Type><!--Optional--><Node2Type>string</Node2Type>
<ExternalAttachment><!--Optional--><filename>string</filename><!--Optional--><base64String>string</base64String><!--Optional--><comment>string</comment>
</ExternalAttachment>
</ExternalFile>
</S_TRAIL_EXTERNAL_DOCUMENT_ADD_V001Request>
</soapenv:Body>
</soapenv:Envelope>
Attributes Message
| Name | Type |
|---|---|
| S_TRAIL_EXTERNAL_DOCUMENT_ADD_V001Request | |
| TransactionID | string |
| Authentication | Node |
| SecurityID | string |
| ExternalFile | Node |
| refobjid | Base: string Pattern: ([0-9])* |
| trailtype | Base: string Pattern: ([-+]){0,1}([0-9])* |
| Node1Type | string |
| Node2Type | string |
| ExternalAttachment | Node |
| filename | string |
| base64String | string |
| comment | 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_TRAIL_EXTERNAL_DOCUMENT_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>
</S_TRAIL_EXTERNAL_DOCUMENT_ADD_V001Response>
</soapenv:Body>
</soapenv:Envelope>
Attributes Response
| Name | Type |
|---|---|
| S_TRAIL_EXTERNAL_DOCUMENT_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 |