fork download
  1. <?php
  2.  
  3. $auth = array(
  4. "Empresa" => '118',
  5. "Hash" => 'test2016facturante',
  6. "Usuario" => 'TEST_API_GENERICO',
  7. );
  8.  
  9. //Parametros
  10. $param = array(
  11. "FechaDesde" => "2014-12-03T00:00:00",
  12. "FechaHasta" => "2014-12-03T00:00:00",
  13. "NroPagina" => 1,
  14. );
  15.  
  16. $param['Autenticacion'] = $auth;
  17.  
  18. print_r($param);
Success #stdin #stdout 0.02s 23600KB
stdin
Standard input is empty
stdout
Array
(
    [FechaDesde] => 2014-12-03T00:00:00
    [FechaHasta] => 2014-12-03T00:00:00
    [NroPagina] => 1
    [Autenticacion] => Array
        (
            [Empresa] => 118
            [Hash] => test2016facturante
            [Usuario] => TEST_API_GENERICO
        )

)