USER CURRENT GET V001
Service Reference Name: S_USER_CURRENT_GET_V001
General
This service returns the hotel code and username of a user currently logged in. It also checks if the username equals the expected user name from the input tree.
Input
- Username: The expected username of the currently logged in user. Mandatory
Output
- hotel: The current hotel number which the user logged in
- user: The login name of the user
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_USER_CURRENT_GET_V001Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
<Authentication>
<SecurityID>string</SecurityID>
</Authentication>
<User>
<user>Base: string minLength: 0 maxLength: 32</user>
</User>
</S_USER_CURRENT_GET_V001Request>
</soapenv:Body>
</soapenv:Envelope>
Attributes Message
Name | Type |
---|---|
S_USER_CURRENT_GET_V001Request | |
TransactionID | string |
Authentication | Node |
SecurityID | string |
User | Node |
user | Base: string minLength: 0 maxLength: 32 |
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_USER_CURRENT_GET_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--><User>
<user>Base: string minLength: 0 maxLength: 32</user>
<hotel>Base: string Pattern: ([-+]){0,1}([0-9])*</hotel>
</User>
</S_USER_CURRENT_GET_V001Response>
</soapenv:Body>
</soapenv:Envelope>
Attributes Response
Name | Type |
---|---|
S_USER_CURRENT_GET_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 |
User | Node |
user | Base: string minLength: 0 maxLength: 32 |
hotel | Base: string Pattern: ([-+]){0,1}([0-9])* |