Register


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to update value or property of room
04-10-2014, 01:25 PM (This post was last modified: 04-10-2014 01:44 PM by LP041.)
Post: #1
How to update value or property of room
Hello,

Could anyone help to give me some example use to update value or property of room by using mod_room().

I'm looking for your help!

Thanks in advance.
Find all posts by this user
Quote this message in a reply
04-17-2014, 02:24 AM
Post: #2
RE: How to update value or property of room
Hi, I think you have entered the chat online on the direct support but
if it is not answered yet, please let me know!

Regards
Find all posts by this user
Quote this message in a reply
04-17-2014, 01:09 PM
Post: #3
RE: How to update value or property of room
(04-17-2014 02:24 AM)white Wrote:  Hi, I think you have entered the chat online on the direct support but
if it is not answered yet, please let me know!

Regards

Thank you for your advice! But I'm a new user and I don't know where can I find chat online to support, can you help me?
Find all posts by this user
Quote this message in a reply
04-17-2014, 07:01 PM
Post: #4
RE: How to update value or property of room
Well, inside the eextranet of WuBook on the right top you have an icon to get support, beside the little door icon.

If you click on it you will get to:
https://wubook.net/wauth/wauth/support
which is the page of support in WuBook. You can open tickets, chat on skype or access our private chat.

Try it..
Find all posts by this user
Quote this message in a reply
04-17-2014, 07:10 PM
Post: #5
RE: How to update value or property of room
For Wired related questions,

I strongly recommend to contact the development team (devel@). An example of mod_room is this one (python, but I attach also an xml):

>>> import xmlrpclib
>>> s= xmlrpclib.Server('https://wubook.net/xrws/')
>>> res, tok= s.get_token(user, pwd)
>>> s.mod_room(tok, lcode, 39802, 'f', 1, 100, 3, 'fer', 'nb') # 39802 is the room ID, 'f' is the new name, 1 is the occupancy, 100 the default price, 3 the default avail, 'fer' the shortname and 'nb' the default treatment.

That's the relative xml:

<methodCall>
<methodName>mod_room</methodName>
<params>
<param>
<value>
<string>9584970043.9180</string>
</value>
</param>
<param>
<value>
<int>1213394817</int>
</value>
</param>
<param>
<value>
<int>39802</int>
</value>
</param>
<param>
<value>
<string>f</string>
</value>
</param>
<param>
<value>
<int>1</int>
</value>
</param>
<param>
<value>
<int>100</int>
</value>
</param>
<param>
<value>
<int>3</int>
</value>
</param>
<param>
<value>
<string>fer</string>
</value>
</param>
<param>
<value>
<string>nb</string>
</value>
</param>
</params>
</methodCall>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)