Wired‎ > ‎

wired-pms-xml

THIS DOCUMENTATION IS OUT OF DATE!!!! PLEASE, USE THE OFFICIAL ONE (HERE)


Let's see some examples together.

Examples

Token Request, get_token(account, password):

<methodCall>
  <methodName>get_token</methodName>
  <params>
    <param>
      <value><string>WB001</string></value>
    </param>
    <param>
      <value><string>fdfsdafasf</string></value>
    </param>
  </params>
</methodCall>
 
 Token Answer:

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value><int>0</int></value>
            <value><string>1238200946.2025</string></value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

fetch_rooms(tok, lcode) Request:

<methodCall>
  <methodName>fetch_rooms</methodName>
  <params>
    <param>
      <value><string>1238200946.2025</string></value>
    </param>
    <param>
      <value><int>1213394817</int></value>
    </param>
  </params>
</methodCall>

fetch_rooms(tok, lcode) Answer:

Three rooms are returned: two real rooms and a Subroom.

<methodResponse>
  <params>
    <param>
      <value>
        <array><data>

          <value><int>0</int></value>

          <value>
            <array><data>

              <value><struct>
                <member>
                  <name>name</name>
                  <value><string>Romeo</string></value>
                </member>
                <member>
                  <name>men</name>
                  <value><int>2</int></value>
                </member>
                <member>
                  <name>subroom</name>
                  <value><int>0</int></value>
                </member>
                <member>
                  <name>occupancy</name>
                  <value><int>2</int></value>
                </member>
                <member>
                  <name>id</name>
                  <value><int>1</int></value>
                </member>
                <member>
                  <name>shortname</name>
                  <value><string>Rom</string></value>
                </member>
                <member>
                  <name>children</name>
                  <value><int>0</int></value>
                </member>
              </struct></value>

              <value><struct>
                <member>
                  <name>name</name>
                  <value><string>Romeo single usage</string></value>
                </member>
                <member>
                  <name>men</name>
                  <value><int>2</int></value>
                </member>
                <member>
                  <name>subroom</name>
                  <value><int>1</int></value>
                </member>
                <member>
                  <name>occupancy</name>
                  <value><int>1</int></value>
                </member>
                <member>
                  <name>id</name>
                  <value><int>2</int></value>
                </member>
                <member>
                  <name>shortname</name>
                  <value><string>rom1</string></value>
                </member>
                <member>
                  <name>children</name>
                  <value><int>0</int></value>
                </member>
              </struct></value>

            </data></array>
          </value>
        </data></array>
      </value>
    </param>
  </params>
</methodResponse>

new_room(token, lcode, woodoo, name, beds, defprice, avail, shortname, defboard [, names, descriptions, boards])): Request


<methodCall>
  <methodName>new_room</methodName>
  <params>
    <param>
      <value>
        <string>1374598122.6921</string>
      </value>
    </param>
    <param>
      <value>
        <int>
1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>0</int>
      </value>
    </param>
    <param>
      <value>
        <string>Triple Deluxe</string>
      </value>
    </param>
    <param>
      <value>
        <int>3</int>
      </value>
    </param>
    <param>
      <value>
        <double>100.0</double>
      </value>
    </param>
    <param>
      <value>
        <int>5</int>
      </value>
    </param>
    <param>
      <value>
        <string>TRDX</string>
      </value>
    </param>
    <param>
      <value>
        <string>nb</string>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>en</name>
            <value>
              <string>English name</string>
            </value>
          </member>
          <member>
            <name>it</name>
            <value>
              <string>Italian name</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>en</name>
            <value>
              <string>English description</string>
            </value>
          </member>
          <member>
            <name>it</name>
            <value>
              <string>Italian description</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>fb</name>
            <value>
              <struct>
                <member>
                  <name>dtype</name>
                  <value>
                    <int>1</int>
                  </value>
                </member>
                <member>
                  <name>value</name>
                  <value>
                    <int>50</int>
                  </value>
                </member>
              </struct>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>

new_room(token, lcode, woodoo, name, beds, defprice, avail, shortname, defboard [, names, descriptions, boards])): Answer

<params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <int>34667</int>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>


new_virtual_room(token, lcode, rid, woodoo, name, beds, children, defprice, shortname, defboard[, names, descriptions, boards]): Request

<methodCall>
  <methodName>new_virtual_room</methodName>
  <params>
    <param>
      <value>
        <string>1374660802.3320</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>34667</int>
      </value>
    </param>
    <param>
      <value>
        <int>0</int>
      </value>
    </param>
    <param>
      <value>
        <string>Double Super Deluxe</string>
      </value>
    </param>
    <param>
      <value>
        <int>2</int>
      </value>
    </param>
    <param>
      <value>
        <int>0</int>
      </value>
    </param>
    <param>
      <value>
        <double>200.0</double>
      </value>
    </param>
    <param>
      <value>
        <string>DSDX</string>
      </value>
    </param>
    <param>
      <value>
        <string>fb</string>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>en</name>
            <value>
              <string>English name</string>
            </value>
          </member>
          <member>
            <name>it</name>
            <value>
              <string>Italian name</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>en</name>
            <value>
              <string>English description</string>
            </value>
          </member>
          <member>
            <name>it</name>
            <value>
              <string>Italian description</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>hb</name>
            <value>
              <struct>
                <member>
                  <name>dtype</name>
                  <value>
                    <int>-1</int>
                  </value>
                </member>
                <member>
                  <name>value</name>
                  <value>
                    <int>20</int>
                  </value>
                </member>
              </struct>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>


new_virtual_room(token, lcode, rid, woodoo, name, beds, children, defprice, shortname, defboard[, names, descriptions, boards]): Answer

<params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <int>34668</int>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>


mod_room(token, lcode, rid, name, beds, defprice, avail, shortname, defboard[, names, descriptions, boards]): Request

<methodCall>
  <methodName>mod_room</methodName>
  <params>
    <param>
      <value>
        <string>1374662239.1964</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>34667</int>
      </value>
    </param>
    <param>
      <value>
        <string>Triple Delux</string>
      </value>
    </param>
    <param>
      <value>
        <int>3</int>
      </value>
    </param>
    <param>
      <value>
        <int>100</int>
      </value>
    </param>
    <param>
      <value>
        <int>6</int>
      </value>
    </param>
    <param>
      <value>
        <string>TRPX</string>
      </value>
    </param>
    <param>
      <value>
        <string>nb</string>
      </value>
    </param>
  </params>
</methodCall>


mod_room(token, lcode, rid, name, beds, defprice, avail, shortname, defboard[, names, descriptions, boards])
: Answer


<params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <int>34667</int>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>


mod_virtual_room(token, lcode, rid,  name, beds, children, defprice, short, defboard[, names, descriptions, boards])
: Request

<methodCall>
  <methodName>mod_virtual_room</methodName>
  <params>
    <param>
      <value>
        <string>1374667085.8467</string>
      </value>
    </param>
    <param>
      <value>
        <int>
1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>34668</int>
      </value>
    </param>
    <param>
      <value>
        <string>Family</string>
      </value>
    </param>
    <param>
      <value>
        <int>3</int>
      </value>
    </param>
    <param>
      <value>
        <int>1</int>
      </value>
    </param>
    <param>
      <value>
        <int>80</int>
      </value>
    </param>
    <param>
      <value>
        <string>MTRD</string>
      </value>
    </param>
    <param>
      <value>
        <string>hb</string>
      </value>
    </param>
  </params>
</methodCall>


mod_virtual_room(token, lcode, rid,  name, beds, children, defprice, short, defboard[, names, descriptions, boards]): Answer

<params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <int>34668</int>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>


room_images(token, lcode, rid) Request: 

<methodCall>
  <methodName>room_images</methodName>
  <params>
    <param>
      <value>
        <string>1322234714.0089</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>3069</int>
      </value>
    </param>
  </params>
</methodCall>

room_images(token, lcode, rid) Answer

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
             <value>
               <int>0</int>
             </value>
             <value>
               <array>
                 <data>
                   <value>
                     <struct>
                       <member>
                         <name>id_room</name>
                         <value>
                           <int>1</int>
                         </value>
                       </member>
                       <member>
                         <name>image_link</name>
                         <value>
                           <string>https://wubook.net/wbk/imgs/room/3609.png</string>
                         </value>
                       </member>
                       <member>
                         <name>main_image</name>
                         <value>
                           <int>0</int>
                         </value>
                       </member>
                     </struct>
                   </value>
                 </data>
               </array>
             </value>
          </data>
        </array>

      </value>
    </param>
  </params>
</methodResponse>

update_rooms_values(token, lcode, dfrom, rooms) Request:

In the following example, two rooms are updated for two days. Note that the daily details can change: remembre that all fields are optional. Finally, note that a day is not updated; in this case, nil is passed.

<methodCall>
  <methodName>update_rooms_values</methodName>
  <params>
    <param>
      <value><string>1238203486.5739</string></value>
    </param>
    <param>
      <value><int>1213394817</int></value>
    </param>
    <param>
      <value><string>12/04/2009</string></value>
    </param>
    <param>
      <value><array><data>

        <!-- The First Room -->
        <value><struct>
          <member>
            <name>id</name>
            <value><int>1</int></value>
          </member>

          <!-- Two Days for the First Room -->
          <member>
            <name>days</name>
            <value>

              <array><data>
                <value><struct>
                  <member>
                    <name>avail</name>
                    <value><int>1</int></value>
                  </member>
                  <member>
                    <name>price</name>
                    <value><double>123.2</double></value>
                  </member>
                </struct></value>

                <value><struct>
                  <member>
                    <name>min_stay</name>
                    <value><int>3</int></value>
                  </member>
                </struct></value>
              </data></array>

            </value>
          </member>

        </struct></value>

        <!-- The Second Room with Two days -->
        <value><struct>
          <member>
            <name>id</name>
            <value><int>2</int></value>
          </member>

          <!-- Two Days for the Second Room -->
          <member>
            <name>days</name>
            <value><array>
              <data>
                <value><struct>
                  <member>
                    <name>min_stay_arrival</name>
                    <value><int>1</int></value>
                  </member>
                  <member>
                    <name>closed</name>
                    <value><int>2</int></value>
                  </member>
                  <member>
                    <name>max_stay</name>
                    <value><int>2</int></value>
                  </member>
                </struct></value>
                <value>
                  <nil></nil>
                </value>
              </data>
            </array></value>
          </member>
        </struct></value>

      </data></array></value>
    </param>
  </params>
</methodCall>

update_rooms_values(token, lcode, dfrom, rooms) Answer:

<methodResponse>
  <params>
    <param>
      <value><array><data>
        <value><int>0</int></value>
        <value><string>Ok</string></value>
      </data></array></value>
    </param>
  </params>
</methodResponse>

fetch_rooms_values(token, lcode, dfrom, dto[, rooms]) Request:

<methodCall>
  <methodName>fetch_rooms_values</methodName>
  <params>
    <param>
      <value><string>1238203486.5739</string></value>
    </param>
    <param>
      <value><int>1213394817</int></value>
    </param>
    <param>
      <value><string>12/12/2011</string></value>
    </param>
    <param>
      <value><string>13/12/2011</string></value>
    </param>
  </params>
</methodCall>

fetch_rooms_values(token, lcode, dfrom, dto[, rooms]) Answer:

 <params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <struct>
              <member>
                <name>13</name>
                <value>
                  <array>
                    <data>
                      <value>
                        <struct>
                          <member>
                            <name>closed_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>booked</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>max_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>min_stay_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>price</name>
                            <value>
                              <double>60.0</double>
                            </value>
                          </member>
                          <member>
                            <name>min_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed_departure</name>
                            <value>
                              <string>0</string>
                            </value>
                          </member>
                          <member>
                            <name>day</name>
                            <value>
                              <int>1323644400</int>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </data>
                  </array>
                </value>
              </member>
              <member>
                <name>18</name>
                <value>
                  <array>
                    <data>
                      <value>
                        <struct>
                          <member>
                            <name>closed_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>booked</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>max_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>min_stay_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>price</name>
                            <value>
                              <double>140.0</double>
                            </value>
                          </member>
                          <member>
                            <name>min_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed_departure</name>
                            <value>
                              <string>0</string>
                            </value>
                          </member>
                          <member>
                            <name>day</name>
                            <value>
                              <int>1323644400</int>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </data>
                  </array>
                </value>
              </member>
              <member>
                <name>1</name>
                <value>
                  <array>
                    <data>
                      <value>
                        <struct>
                          <member>
                            <name>closed_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>booked</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>max_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>min_stay_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>price</name>
                            <value>
                              <double>45.0</double>
                            </value>
                          </member>
                          <member>
                            <name>min_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed_departure</name>
                            <value>
                              <string>0</string>
                            </value>
                          </member>
                          <member>
                            <name>day</name>
                            <value>
                              <int>1323644400</int>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </data>
                  </array>
                </value>
              </member>
              <member>
                <name>2</name>
                <value>
                  <array>
                    <data>
                      <value>
                        <struct>
                          <member>
                            <name>closed_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>avail</name>
                            <value>
                              <int>4</int>
                            </value>
                          </member>
                          <member>
                            <name>booked</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>max_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>min_stay_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>price</name>
                            <value>
                              <double>60.0</double>
                            </value>
                          </member>
                          <member>
                            <name>min_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed_departure</name>
                            <value>
                              <string>0</string>
                            </value>
                          </member>
                          <member>
                            <name>day</name>
                            <value>
                              <int>1323644400</int>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </data>
                  </array>
                </value>
              </member>
              <member>
                <name>3298</name>
                <value>
                  <array>
                    <data>
                      <value>
                        <struct>
                          <member>
                            <name>closed_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>booked</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>max_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>min_stay_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>price</name>
                            <value>
                              <double>130.0</double>
                            </value>
                          </member>
                          <member>
                            <name>min_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed_departure</name>
                            <value>
                              <string>0</string>
                            </value>
                          </member>
                          <member>
                            <name>day</name>
                            <value>
                              <int>1323644400</int>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </data>
                  </array>
                </value>
              </member>
              <member>
                <name>82</name>
                <value>
                  <array>
                    <data>
                      <value>
                        <struct>
                          <member>
                            <name>closed_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>booked</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>max_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>min_stay_arrival</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>price</name>
                            <value>
                              <double>50.0</double>
                            </value>
                          </member>
                          <member>
                            <name>min_stay</name>
                            <value>
                              <int>0</int>
                            </value>
                          </member>
                          <member>
                            <name>closed_departure</name>
                            <value>
                              <string>0</string>
                            </value>
                          </member>
                          <member>
                            <name>day</name>
                            <value>
                              <int>1323644400</int>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </data>
                  </array>
                </value>
              </member>

            </struct>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>

fetch_bookings(token, lcode [,dfrom, dto]) Request:

<methodCall>
  <methodName>fetch_bookings</methodName>
  <params>
    <param>
      <value><string>1238203486.5739</string></value>
    </param>
    <param>
      <value><int>1213394817</int></value>
    </param>
  </params>
</methodCall>

fetch_bookings(token, lcode [,dfrom, dto]) Answer:

A unique reservation is returned. The array containing reservations can be longer then 1 (more reservations returned).

<methodResponse>
 <params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <array>
              <data>
                <value>
                  <struct>
                    <member>
                      <name>id_channel</name>
                      <value>
                        <int>0</int>
                      </value>
                    </member>
                    <member>
                      <name>special_offer</name>
                      <value>
                        <struct>
                          <member>
                            <name>discount</name>
                            <value>
                              <double>39.0</double>
                            </value>
                          </member>
                          <member>
                            <name>name</name>
                            <value>
                              <string>Romantic Autumn </string>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </member>
                    <member>
                      <name>reservation_code</name>
                      <value>
                        <int>1319632603</int>
                      </value>
                    </member>
                    <member>
                      <name>dayprices</name>
                      <value>
                        <struct>
                          <member>
                            <name>1</name>
                            <value>
                              <array>
                                <data>
                                  <value>
                                    <double>45.0</double>
                                  </value>
                                  <value>
                                    <double>45.0</double>
                                  </value>
                                  <value>
                                    <double>45.0</double>
                                  </value>
                                </data>
                              </array>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </member>
                    <member>
                      <name>arrival_hour</name>
                      <value>
                        <string>10:00</string>
                      </value>
                    </member>
                    <member>
                      <name>rooms</name>
                      <value>
                        <string>1</string>
                      </value>
                    </member>
                    <member>
                      <name>customer_mail</name>
                      <value>
                        <string>agriwu@wubook.net</string>
                      </value>
                    </member>
                    <member>
                      <name>customer_country</name>
                      <value>
                        <string>--</string>
                      </value>
                    </member>
                    <member>
                      <name>children</name>
                      <value>
                        <int>0</int>
                      </value>
                    </member>
                    <member>
                      <name>customer_name</name>
                      <value>
                        <string>a</string>
                      </value>
                    </member>
                    <member>
                      <name>customer_surname</name>
                      <value>
                        <string>a</string>
                      </value>
                    </member>
                    <member>
                      <name>date_departure</name>
                      <value>
                        <string>29/10/2011</string>
                      </value>
                    </member>
                    <member>
                      <name>amount_reason</name>
                      <value>
                        <string></string>
                      </value>
                    </member>
                    <member>
                      <name>customer_city</name>
                      <value>
                        <string>a</string>
                      </value>
                    </member>
                    <member>
                      <name>opportunities</name>
                      <value>
                        <int>1</int>
                      </value>
                    </member>
                    <member>
                      <name>date_received</name>
                      <value>
                        <string>26/10/2011</string>
                      </value>
                    </member>
                    <member>
                      <name>rooms_occupancies</name>
                      <value>
                        <array>
                          <data>
                            <value>
                              <struct>
                                <member>
                                  <name>id</name>
                                  <value>
                                    <int>1</int>
                                  </value>
                                </member>
                                <member>
                                  <name>occupancy</name>
                                  <value>
                                    <int>2</int>
                                  </value>
                                </member>
                              </struct>
                            </value>
                          </data>
                        </array>
                      </value>
                    </member>
                    <member>
                      <name>date_arrival</name>
                      <value>
                        <string>26/10/2011</string>
                      </value>
                    </member>
                    <member>
                      <name>status</name>
                      <value>
                        <int>1</int>
                      </value>
                    </member>
                    <member>
                      <name>modified_reservations</name>
                      <value>
                        <array>
                          <data></data>
                        </array>
                      </value>
                    </member>
                    <member>
                      <name>customer_phone</name>
                      <value>
                        <string>a</string>
                      </value>
                    </member>
                    <member>
                      <name>orig_amount</name>
                      <value>
                        <double>221.0</double>
                      </value>
                    </member>
                    <member>
                      <name>men</name>
                      <value>
                        <int>2</int>
                      </value>
                    </member>
                    <member>
                      <name>roomnight</name>
                      <value>
                        <int>6</int>
                      </value>
                    </member>
                    <member>
                      <name>customer_address</name>
                      <value>
                        <string>a</string>
                      </value>
                    </member>
                    <member>
                      <name>addons_list</name>
                      <value>
                        <array>
                          <data>
                            <value>
                              <struct>
                                <member>
                                  <name>price</name>
                                  <value>
                                    <double>-45.0</double>
                                  </value>
                                </member>
                                <member>
                                  <name>name</name>
                                  <value>
                                    <string>Riduzione Bimbo</string>
                                  </value>
                                </member>
                              </struct>
                            </value>
                            <value>
                              <struct>
                                <member>
                                  <name>price</name>
                                  <value>
                                    <double>170.0</double>
                                  </value>
                                </member>
                                <member>
                                  <name>name</name>
                                  <value>
                                    <string>Escursione in Motonave!</string>
                                  </value>
                                </member>
                              </struct>
                            </value>
                          </data>
                        </array>
                      </value>
                    </member>
                   <member>
                    <name>booked_rooms</name>
                    <value>
                      <array>
                        <data>
                          <value>
                            <struct>
                              <member>
                                <name>ancillary</name>
                                <value>
                                  <struct></struct>
                                </value>
                              </member>
                              <member>
                                <name>roomdays</name>
                                <value>
                                  <array>
                                    <data>
                                      <value>
                                        <struct>
                                          <member>
                                            <name>ancillary</name>
                                            <value>
                                              <struct></struct>
                                            </value>
                                          </member>
                                          <member>
                                            <name>rate_id</name>
                                            <value>
                                              <int>0</int>
                                            </value>
                                          </member>
                                          <member>
                                            <name>price</name>
                                            <value>
                                              <double>45.0</double>
                                            </value>
                                          </member>
                                          <member>
                                            <name>day</name>
                                            <value>
                                              <string>26/10/2011</string>
                                            </value>
                                          </member>
                                        </struct>
                                      </value>
                                      <value>
                                        <struct>
                                          <member>
                                            <name>ancillary</name>
                                            <value>
                                              <struct></struct>
                                            </value>
                                          </member>
                                          <member>
                                            <name>rate_id</name>
                                            <value>
                                              <int>0</int>
                                            </value>
                                          </member>
                                          <member>
                                            <name>price</name>
                                            <value>
                                              <double>45.0</double>
                                            </value>
                                          </member>
                                          <member>
                                            <name>day</name>
                                            <value>
                                              <string>27/10/2011</string>
                                            </value>
                                          </member>
                                        </struct>
                                      </value>
                                      <value>
                                        <struct>
                                          <member>
                                            <name>ancillary</name>
                                            <value>
                                              <struct></struct>
                                            </value>
                                          </member>
                                          <member>
                                            <name>rate_id</name>
                                            <value>
                                              <int>0</int>
                                            </value>
                                          </member>
                                          <member>
                                            <name>price</name>
                                            <value>
                                              <double>45.0</double>
                                            </value>
                                          </member>
                                          <member>
                                            <name>day</name>
                                            <value>
                                              <string>28/10/2011</string>
                                            </value>
                                          </member>
                                        </struct>
                                      </value>
                                    </data>
                                  </array>
                                </value>
                              </member>
                              <member>
                                <name>room_id</name>
                                <value>
                                  <int>1</int>
                                </value>
                              </member>
                            </struct>
                          </value>
                        </data>
                      </array>
                    </value>
                  </member>
                    <member>
                      <name>status_reason</name>
                      <value>
                        <string></string>
                      </value>
                    </member>
                    <member>
                      <name>customer_notes</name>
                      <value>
                        <string>a</string>
                      </value>
                    </member>
                    <member>
                      <name>customer_language</name>
                      <value>
                        <int>2</int>
                      </value>
                    </member>
                    <member>
                      <name>amount</name>
                      <value>
                        <double>221.0</double>
                      </value>
                    </member>
                    <member>
                      <name>room_opportunities</name>
                      <value>
                        <int>1</int>
                      </value>
                    </member>
                  </struct>
                </value>
              </data>
            </array>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>
</methodResponse>


add_plan(tok, lcode, name) Request:

<methodCall>
  <methodName>add_plan</methodName>
  <params>
    <param>
      <value>
        <string>1322231020.3480</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <string>test_plan</string>
      </value>
    </param>
  </params>
</methodCall>

add_plan(tok, lcode, name) Answer:

Return 0 and new id plan.

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <int>2047</int>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>


del_plan(tok, lcode, pid) Request:

<methodCall>
  <methodName>del_plan</methodName>
  <params>
    <param>
      <value>
        <string>1322234714.0089</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>2047</int>
      </value>
    </param>
  </params>
</methodCall>

del_plan(tok, lcode, pid) Answer:

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <int>0</int>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

update_plan_name(tok, lcode, pid, name) Request:

<methodCall>
  <methodName>update_plan_name</methodName>
  <params>
    <param>
      <value>
        <string>1322234714.0089</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>2047</int>
      </value>
    </param>
    <param>
      <value>
        <string>test_plan_new</string>
      </value>
    </param>
  </params>
</methodCall>

update_plan_name(tok, lcode, pid, name) Answer:

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <int>0</int>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

get_plans(tok, lcode, pid) Request:

If pid is not specified returns all plans

<methodCall>
  <methodName>get_plans</methodName>
  <params>
    <param>
      <value>
        <string>1322234714.0089</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>2047</int>
      </value>
    </param>
  </params>
</methodCall>

get_plans(tok, lcode, pid) Answer:

In this match returns only details of pid's plan

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <struct>
                <member>
                  <name>periods</name>
                  <value>
                    <array>
                      <data>
                      </data>
                    </array>
                  </value>
                </member>
                <member>
                  <name>id</name>
                  <value>
                    <int>2047</int>
                  </value>
                </member>
                <member>
                  <name>name</name>
                  <value>
                    <string>test_plan_new</string>
                  </value>
                </member>
                <member>
                  <name>rack</name>
                  <value>
                    <struct>
                      <member>
                        <name>13</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>18</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>140.0</double>
                              </value>
                              <value>
                                <double>140.0</double>
                              </value>
                              <value>
                                <double>140.0</double>
                              </value>
                              <value>
                                <double>140.0</double>
                              </value>
                              <value>
                                <double>140.0</double>
                              </value>
                              <value>
                                <double>140.0</double>
                              </value>
                              <value>
                                <double>140.0</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>1</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>45.0</double>
                              </value>
                              <value>
                                <double>45.0</double>
                              </value>
                              <value>
                                <double>45.0</double>
                              </value>
                              <value>
                                <double>45.0</double>
                              </value>
                              <value>
                                <double>45.0</double>
                              </value>
                              <value>
                                <double>45.0</double>
                              </value>
                              <value>
                                <double>45.0</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>2</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                              <value>
                                <double>60.0</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>3298</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>130.0</double>
                              </value>
                              <value>
                                <double>130.0</double>
                              </value>
                              <value>
                                <double>130.0</double>
                              </value>
                              <value>
                                <double>130.0</double>
                              </value>
                              <value>
                                <double>130.0</double>
                              </value>
                              <value>
                                <double>130.0</double>
                              </value>
                              <value>
                                <double>130.0</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>82</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>50.0</double>
                              </value>
                              <value>
                                <double>50.0</double>
                              </value>
                              <value>
                                <double>50.0</double>
                              </value>
                              <value>
                                <double>50.0</double>
                              </value>
                              <value>
                                <double>50.0</double>
                              </value>
                              <value>
                                <double>50.0</double>
                              </value>
                              <value>
                                <double>50.0</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                    </struct>
                  </value>
                </member>
              </struct>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

add_vplan(tok, lcode, name, pid, dtype, value) Request:

<methodCall>
  <methodName>add_virtual_plan</methodName>
  <params>
    <param>
      <value>
        <string>1322234714.0089</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <string>test_virtual</string>
      </value>
    </param>
    <param>
      <value>
        <int>2047</int>
      </value>
    </param>
    <param>
      <value>
        <double>1</double>
      </value>
    </param>
    <param>
       <value>
          <double>10</double>
       </value>
     </param>
   </params>
</methodCall>

mod_vplans(tok, lcode, plans) Request

<methodCall>
  <methodName>mod_virtual_plans</methodName>
  <params>
    <param>
      <value>
        <string>1322234714.0089</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <array>
          <data>
            <value>
              <struct>
                <member>
                  <name>value</name>
                  <value>
                    <double>40.0</double>
                  </value>
                </member>
                <member>
                  <name>dtype</name>
                  <value>
                    <double>-2</double>
                  </value>
                </member>
                <member>
                  <name>pid</name>
                  <value>
                    <int>2050</int>
                  </value>
                </member>
              </struct>
            </value>
            <value>
              <struct>
                <member>
                  <name>value</name>
                  <value>
                    <double>10.0</double>
                  </value>
                </member>
                <member>
                  <name>dtype</name>
                  <value>
                    <double>1</double>
                  </value>
                </member>
                <member>
                  <name>pid</name>
                  <value>
                    <int>2051</int>
                  </value>
                </member>
              </struct>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodCall>


mod_vplans(tok, lcode, planspercs) Answer:

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <int>0</int>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

update_plan_rack(tok, lcode, pid, rack) Request:

If you insert prizes of some rooms, the remaining prizes will be assigned a default value

<methodCall>
  <methodName>update_plan_rack</methodName>
  <params>
    <param>
      <value>
        <string>1322234714.0089</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>2047</int>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>82</name>
            <value>
              <array>
                <data>
                  <value>
                    <double>35.0</double>
                  </value>
                  <value>
                    <double>40.0</double>
                  </value>
                  <value>
                    <double>45.0</double>
                  </value>
                  <value>
                    <double>50.0</double>
                  </value>
                  <value>
                    <double>55.0</double>
                  </value>
                  <value>
                    <double>60.0</double>
                  </value>
                  <value>
                    <double>65.0</double>
                  </value>
                </data>
              </array>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>


update_plan_rack(tok, lcode, pid, rack) Answer:

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <int>0</int>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

update_plan_periods(tok, lcode, pid, periods) Request:

You can assigned prizes for one or more periods, an array of prizes missing, will be managed like update_plan_rack Note: If you insert a period with a date that's already existing, the old period will be deletes

<methodCall>
  <methodName>update_plan_periods</methodName>
  <params>
    <param>
      <value>
        <string>1322240865.9400</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>2047</int>
      </value>
    </param>
    <param>
      <value>
        <array>
          <data>
            <value>
              <struct>
                <member>
                  <name>values</name>
                  <value>
                    <struct>
                      <member>
                        <name>82</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>44.5</double>
                              </value>
                              <value>
                                <double>44.5</double>
                              </value>
                              <value>
                                <double>44.5</double>
                              </value>
                              <value>
                                <double>44.5</double>
                              </value>
                              <value>
                                <double>44.5</double>
                              </value>
                              <value>
                                <double>44.5</double>
                              </value>
                              <value>
                                <double>44.8</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>13</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>33.3</double>
                              </value>
                              <value>
                                <double>33.3</double>
                              </value>
                              <value>
                                <double>33.3</double>
                              </value>
                              <value>
                                <double>33.3</double>
                              </value>
                              <value>
                                <double>33.3</double>
                              </value>
                              <value>
                                <double>33.3</double>
                              </value>
                              <value>
                                <double>33.3</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                    </struct>
                  </value>
                </member>
                <member>
                  <name>dfrom</name>
                  <value>
                    <string>29/11/2011</string>
                  </value>
                </member>
                <member>
                  <name>dto</name>
                  <value>
                    <string>30/11/2011</string>
                  </value>
                </member>
              </struct>
            </value>
            <value>
              <struct>
                <member>
                  <name>dfrom</name>
                  <value>
                    <string>27/11/2011</string>
                  </value>
                </member>
                <member>
                  <name>dto</name>
                  <value>
                    <string>28/11/2011</string>
                  </value>
                </member>
                <member>
                  <name>values</name>
                  <value>
                    <struct>
                      <member>
                        <name>82</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <double>77.7</double>
                              </value>
                              <value>
                                <double>77.7</double>
                              </value>
                              <value>
                                <double>77.7</double>
                              </value>
                              <value>
                                <double>77.7</double>
                              </value>
                              <value>
                                <double>77.7</double>
                              </value>
                              <value>
                                <double>77.7</double>
                              </value>
                              <value>
                                <double>66.6</double>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                    </struct>
                  </value>
                </member>
              </struct>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodCall>
     
update_plan_periods(tok, lcode, pid, periods) Answer:

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <int>0</int>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

delete_periods(tok, lcode, pid, delperiods) Request:

<methodCall>
  <methodName>delete_periods</methodName>
  <params>
    <param>
      <value>
        <string>1322240865.9400</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>2049</int>
      </value>
    </param>
    <param>
      <value>
        <array>
          <data>
            <value>
              <struct>
                <member>
                  <name>dfrom</name>
                  <value>
                    <string>27/11/2011</string>
                  </value>
                </member>
                <member>
                  <name>dto</name>
                  <value>
                    <string>28/11/2011</string>
                  </value>
                </member>
              </struct>
            </value>
            <value>
              <struct>
                <member>
                  <name>dfrom</name>
                  <value>
                    <string>29/11/2011</string>
                  </value>
                </member>
                <member>
                  <name>dto</name>
                  <value>
                    <string>30/11/2011</string>
                  </value>
                </member>
              </struct>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodCall>

delete_periods(tok, lcode, pid, delperiods) Answer:

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <int>0</int>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>
     
rplan_update_rplan_values(tok, lcode, pid, dfrom, values) Request:

<methodCall>
  <methodName>rplan_update_rplan_values</methodName>
  <params>
    <param>
      <value>
        <string>1350981070.0478</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>237</int>
      </value>
    </param>
    <param>
      <value>
        <string>21/12/2212</string>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>1</name>
            <value>
              <array>
                <data>
                  <value>
                    <struct>
                      <member>
                        <name>min_stay</name>
                        <value>
                          <int>1</int>
                        </value>
                      </member>
                    </struct>
                  </value>
                  <value>
                    <struct>
</struct>
                  </value>
                  <value>
                    <struct>
                      <member>
                        <name>max_stay</name>
                        <value>
                          <int>2</int>
                        </value>
                      </member>
                    </struct>
                  </value>
                </data>
              </array>
            </value>
          </member>
          <member>
            <name>2</name>
            <value>
              <array>
                <data>
                  <value>
                    <struct>
</struct>
                  </value>
                  <value>
                    <struct>
                      <member>
                        <name>closed_arrival</name>
                        <value>
                          <int>1</int>
                        </value>
                      </member>
                    </struct>
                  </value>
                  <value>
                    <struct>
</struct>
                  </value>
                </data>
              </array>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>

rplan_update_rplan_rules(tok, lcode, pid, rules) Request:

<methodCall>
  <methodName>rplan_update_rplan_rules</methodName>
  <params>
    <param>
      <value>
        <string>1350981843.4760</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <int>1</int>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>min_stay_arrival</name>
            <value>
              <int>3</int>
            </value>
          </member>
          <member>
            <name>min_stay</name>
            <value>
              <int>4</int>
            </value>
          </member>
          <member>
            <name>closed</name>
            <value>
              <int>1</int>
            </value>
          </member>
          <member>
            <name>max_stay</name>
            <value>
              <int>5</int>
            </value>
          </member>
          <member>
            <name>closed_departure</name>
            <value>
              <int>1</int>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>

rplan_get_rplan_values(tok, lcode, dfrom, dto, rpids): Request

<methodCall>
  <methodName>rplan_get_rplan_values</methodName>
  <params>
    <param>
      <value>
        <string>1358340840.9826</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <string>04/01/2013</string>
      </value>
    </param>
    <param>
      <value>
        <string>06/01/2013</string>
      </value>
    </param>
    <param>
      <value>
        <int>237</int>
      </value>
    </param>
  </params>
</methodCall>


rplan_get_rplan_values(tok, lcode, dfrom, dto, rpids): Answer

Answer is composed by the rplan ids selected, for each rplan there are all room ids of property that contain restriction settings for each day.

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <struct>
                <member>
                  <name>237</name>
                  <value>
                    <struct>
                      <member>
                        <name>1</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>04/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>05/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>06/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>18</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>04/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>05/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>06/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                      <member>
                        <name>2</name>
                        <value>
                          <array>
                            <data>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>04/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>05/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                              <value>
                                <struct>
                                  <member>
                                    <name>closed_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>max_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>date</name>
                                    <value>
                                      <string>06/01/2013</string>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay_arrival</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>min_stay</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                  <member>
                                    <name>closed_departure</name>
                                    <value>
                                      <int>0</int>
                                    </value>
                                  </member>
                                </struct>
                              </value>
                            </data>
                          </array>
                        </value>
                      </member>
                    </struct>
                  </value>
                </member>
              </struct>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>


new_reservation(token, lcode,  dfrom, dto, room, customer, amount, [, origin, ccard, ancillary]): Request

<methodCall>
  <methodName>new_reservation</methodName>
  <params>
    <param>
      <value>
        <string>9144190262.8427</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <string>1/11/2014</string>
      </value>
    </param>
    <param>
      <value>
        <string>05/11/2014</string>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>18</name>
            <value>
              <array>
                <data>
                  <value>
                    <int>1</int>
                  </value>
                  <value>
                    <string>fb</string>
                  </value>
                </data>
              </array>
            </value>
          </member>
        </struct>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>lname</name>
            <value>
              <string>tutti</string>
            </value>
          </member>
          <member>
            <name>email</name>
            <value>
              <string>mio@cugino.net</string>
            </value>
          </member>
          <member>
            <name>fname</name>
            <value>
              <string>francesco</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
    <param>
      <value>
        <string>100</string>
      </value>
    </param>
  </params>
</methodCall>

new_reservation(token, lcode,  dfrom, dto, room, customer, amount, [, origin, ccard, ancillary]): Response

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <string>9144190262.8427</string>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>

woodoo_commands_queue(token, lcode): Request

<methodCall>
  <methodName>woodoo_commands_queue</methodName>
  <params>
    <param>
      <value>
        <string>1374433152.8380</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
  </params>
</methodCall>

woodoo_commands_queue(token, lcode): Answer


<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <array>
                <data>
                  <value>
                    <struct>
                      <member>
                        <name>node</name>
                        <value>
                          <string>vivec</string>
                        </value>
                      </member>
                      <member>
                        <name>id_channel</name>
                        <value>
                          <int>2</int>
                        </value>
                      </member>
                      <member>
                        <name>attempts</name>
                        <value>
                          <int>5</int>
                        </value>
                      </member>
                      <member>
                        <name>tracking</name>
                        <value>
                          <string>783756421733</string>
                        </value>
                      </member>
                      <member>
                        <name>dto</name>
                        <value>
                          <string>23/07/2014</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error</name>
                        <value>
                          <string>HTTP Error 403: Forbidden</string>
                        </value>
                      </member>
                      <member>
                        <name>dfrom</name>
                        <value>
                          <string>20/07/2013</string>
                        </value>
                      </member>
                      <member>
                        <name>required</name>
                        <value>
                          <string>20/07/2013 00:15:50</string>
                        </value>
                      </member>
                      <member>
                        <name>programmed</name>
                        <value>
                          <string>20/07/2013 01:20:17</string>
                        </value>
                      </member>
                    </struct>
                  </value>
                  <value>
                    <struct>
                      <member>
                        <name>node</name>
                        <value>
                          <string>vivec</string>
                        </value>
                      </member>
                      <member>
                        <name>id_channel</name>
                        <value>
                          <int>2</int>
                        </value>
                      </member>
                      <member>
                        <name>attempts</name>
                        <value>
                          <int>4</int>
                        </value>
                      </member>
                      <member>
                        <name>tracking</name>
                        <value>
                          <string>347119501874</string>
                        </value>
                      </member>
                      <member>
                        <name>dto</name>
                        <value>
                          <string>08/08/2013</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error</name>
                        <value>
                          <string>HTTP Error 403: Forbidden</string>
                        </value>
                      </member>
                      <member>
                        <name>dfrom</name>
                        <value>
                          <string>05/08/2013</string>
                        </value>
                      </member>
                      <member>
                        <name>required</name>
                        <value>
                          <string>20/07/2013 00:57:27</string>
                        </value>
                      </member>
                      <member>
                        <name>programmed</name>
                        <value>
                          <string>20/07/2013 01:33:30</string>
                        </value>
                      </member>
                    </struct>
                  </value>
                </data>
              </array>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>


woodoo_suspended_commands(token, lcode): Request

<methodCall>
  <methodName>woodoo_suspended_commands</methodName>
  <params>
    <param>
      <value>
        <string>1374430225.7639</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
  </params>
</methodCall>


woodoo_suspended_commands(token, lcode): Answer

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <array>
                <data>
                  <value>
                    <struct>
                      <member>
                        <name>node</name>
                        <value>
                          <string>balmora</string>
                        </value>
                      </member>
                      <member>
                        <name>id_channel</name>
                        <value>
                          <int>5</int>
                        </value>
                      </member>
                      <member>
                        <name>attempts</name>
                        <value>
                          <int>0</int>
                        </value>
                      </member>
                      <member>
                        <name>tracking</name>
                        <value>
                          <string>0629901469286</string>
                        </value>
                      </member>
                      <member>
                        <name>dto</name>
                        <value>
                          <string>23/01/2014</string>
                        </value>
                      </member>
                      <member>
                        <name>dfrom</name>
                        <value>
                          <string>29/03/2013</string>
                        </value>
                      </member>
                      <member>
                        <name>required</name>
                        <value>
                          <string>29/03/2013 12:44:29</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error_date</name>
                        <value>
                          <string>29/03/2013 12:46:58</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error_txt</name>
                        <value>
                          <string>&lt;Fault 821: 'the period specified is not covered from the base list
prices (RACK rates) for the given room_id (contact the hotel)'&gt;</string>
                        </value>
                      </member>
                    </struct>
                  </value>
                  <value>
                    <struct>
                      <member>
                        <name>node</name>
                        <value>
                          <string>vivec</string>
                        </value>
                      </member>
                      <member>
                        <name>id_channel</name>
                        <value>
                          <int>5</int>
                        </value>
                      </member>
                      <member>
                        <name>attempts</name>
                        <value>
                          <int>0</int>
                        </value>
                      </member>
                      <member>
                        <name>tracking</name>
                        <value>
                          <string>371878113328</string>
                        </value>
                      </member>
                      <member>
                        <name>dto</name>
                        <value>
                          <string>15/01/2014</string>
                        </value>
                      </member>
                      <member>
                        <name>dfrom</name>
                        <value>
                          <string>21/03/2013</string>
                        </value>
                      </member>
                      <member>
                        <name>required</name>
                        <value>
                          <string>21/03/2013 15:31:43</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error_date</name>
                        <value>
                          <string>21/03/2013 15:33:31</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error_txt</name>
                        <value>
                          <string>&lt;Fault 821: 'the period specified is not covered from the base list
prices (RACK rates) for the given room_id (contact the hotel)'&gt;</string>
                        </value>
                      </member>
                    </struct>
                  </value>
                </data>
              </array>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>


woodoo_executed_commands(token, lcode, day [, id_channel= False]): Request

<methodCall>
  <methodName>woodoo_executed_commands</methodName>
  <params>
    <param>
      <value>
        <string>1374431679.1974</string>
      </value>
    </param>
    <param>
      <value>
        <int>1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <string>03/11/2012</string>
      </value>
    </param>
  </params>
</methodCall>


woodoo_executed_commands(token, lcode, day [, id_channel= False]): Answer

<methodResponse>
  <params>
    <param>
      <value>
        <array>
          <data>
            <value>
              <int>0</int>
            </value>
            <value>
              <array>
                <data>
                  <value>
                    <struct>
                      <member>
                        <name>executed</name>
                        <value>
                          <string>03/11/2012 17:11:56</string>
                        </value>
                      </member>
                      <member>
                        <name>id_channel</name>
                        <value>
                          <int>32</int>
                        </value>
                      </member>
                      <member>
                        <name>tracking</name>
                        <value>
                          <string>5738428394</string>
                        </value>
                      </member>
                      <member>
                        <name>dto</name>
                        <value>
                          <string>11/11/2012</string>
                        </value>
                      </member>
                      <member>
                        <name>time</name>
                        <value>
                          <string>0:00:36</string>
                        </value>
                      </member>
                      <member>
                        <name>dfrom</name>
                        <value>
                          <string>08/11/2012</string>
                        </value>
                      </member>
                      <member>
                        <name>required</name>
                        <value>
                          <string>03/11/2012 17:11:19</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error</name>
                        <value>
                          <string/>
                        </value>
                      </member>
                      <member>
                        <name>node</name>
                        <value>
                          <string>aldruhn</string>
                        </value>
                      </member>
                    </struct>
                  </value>
                  <value>
                    <struct>
                      <member>
                        <name>executed</name>
                        <value>
                          <string>03/11/2012 17:11:56</string>
                        </value>
                      </member>
                      <member>
                        <name>id_channel</name>
                        <value>
                          <int>10</int>
                        </value>
                      </member>
                      <member>
                        <name>tracking</name>
                        <value>
                          <string>550903089367</string>
                        </value>
                      </member>
                      <member>
                        <name>dto</name>
                        <value>
                          <string>11/11/2012</string>
                        </value>
                      </member>
                      <member>
                        <name>time</name>
                        <value>
                          <string>0:00:36</string>
                        </value>
                      </member>
                      <member>
                        <name>dfrom</name>
                        <value>
                          <string>08/11/2012</string>
                        </value>
                      </member>
                      <member>
                        <name>required</name>
                        <value>
                          <string>03/11/2012 17:11:19</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error</name>
                        <value>
                          <string/>
                        </value>
                      </member>
                      <member>
                        <name>node</name>
                        <value>
                          <string>vivec</string>
                        </value>
                      </member>
                    </struct>
                  </value>
                  <value>
                    <struct>
                      <member>
                        <name>executed</name>
                        <value>
                          <string>03/11/2012 17:11:46</string>
                        </value>
                      </member>
                      <member>
                        <name>id_channel</name>
                        <value>
                          <int>2</int>
                        </value>
                      </member>
                      <member>
                        <name>tracking</name>
                        <value>
                          <string>527076496237</string>
                        </value>
                      </member>
                      <member>
                        <name>dto</name>
                        <value>
                          <string>11/11/2012</string>
                        </value>
                      </member>
                      <member>
                        <name>time</name>
                        <value>
                          <string>0:00:26</string>
                        </value>
                      </member>
                      <member>
                        <name>dfrom</name>
                        <value>
                          <string>08/11/2012</string>
                        </value>
                      </member>
                      <member>
                        <name>required</name>
                        <value>
                          <string>03/11/2012 17:11:19</string>
                        </value>
                      </member>
                      <member>
                        <name>last_error</name>
                        <value>
                          <string>Not configured (reconfigure and make sure gears are running on WooDoo/WooDoo)</string>
                        </value>
                      </member>
                      <member>
                        <name>node</name>
                        <value>
                          <string>vivec</string>
                        </value>
                      </member>
                    </struct>
                  </value>
                </data>
              </array>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodResponse>


woodoo_cancel_suspended(token, lcode, trackings): Request

<methodCall>
  <methodName>woodoo_
cancel_suspended</methodName>
  <params>
    <param>
      <value>
        <string>1375200262.2087</string>
      </value>
    </param>
    <param>
      <value>
        <int>
1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <array>
          <data>
            <value>
              <string>993602917555</string>
            </value>
            <value>
              <string>876650453965</string>
            </value>
            <value>
              <string>491879392519</string>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodCall>

woodoo_cancel_suspended(token, lcode, trackings): Answer

<params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <string>Ok</string>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>


woodoo_relaunch_suspended(token, lcode, trackings): Request


<methodCall>
  <methodName>woodoo_relaunch_suspended</methodName>
  <params>
    <param>
      <value>
        <string>1375200262.2087</string>
      </value>
    </param>
    <param>
      <value>
        <int>
1213394817</int>
      </value>
    </param>
    <param>
      <value>
        <array>
          <data>
            <value>
              <string>993602917555</string>
            </value>
            <value>
              <string>876650453965</string>
            </value>
            <value>
              <string>491879392519</string>
            </value>
          </data>
        </array>
      </value>
    </param>
  </params>
</methodCall>

woodoo_relaunch_suspended(token, lcode, trackings): Answer


<params>
  <param>
    <value>
      <array>
        <data>
          <value>
            <int>0</int>
          </value>
          <value>
            <string>Ok</string>
          </value>
        </data>
      </array>
    </value>
  </param>
</params>