#DEFINE ODD          ";"
#DEFINE CRLF         CHR(13)+CHR(10)

o_set_point = SET("POINT")

*HTTP_READ_ONLY_MODE = .T.

* altopraha izg65-HUZH



DO (LOWER(JUSTPATH(sys(16))) + "\http_ppgm") WITH "https://alto:alto@altopraha.apetee.com/"

= apetee_get( 'connection_ping' )

= apetee_get( 'get_restaurant_orders_list_from_last_id&username=eevvzzeenn&password=EEvvzzeenn1&last_id=1' )

*= apetee_get( 'get_order_details&id=1243&type=0' )

= apetee_get( 'get_orders_list' )

= apetee_get( 'table_available&date=11.6.2019&hourmin=18:30&people=4' )
= apetee_get( 'table_available&date=12.6.2019&hourmin=17:30&people=3&id_table=1' )

= apetee_get( 'get_orders_list_from_date_to_date&from_date=2019-05-01&to_date=2019-06-30' )
= apetee_get( '' )
= apetee_get( '' )


RETURN 
RETURN 
RETURN 

FUNCTION apetee_get(retezec)
= http_get( 'index.php?option=com_vikrestaurants&tmpl=component&task=apis&event=' + m.retezec + '&username=eevvzzeenn&password=EEvvzzeenn1')
RETURN 
