Use of SEUR dispatches services. Available:
- ConsultaListadoExpedicionesStr
- ConsultaDetalleExpedicionesStr
You can install the package via composer:
composer require omatech/seur-dispatches-service
Environment configuration:
SEUR_MODE=
SEUR_USER=
SEUR_PASSWORD=
ConsultaListadoExpedicionesStr:
$search = [
'in0' => 'S',
'in1' => '',
'in2' => null,
'in3' => '',
'in4' => '1234-56',
'in5' => '01-05-2019',
'in6' => '08-05-2019',
'in7' => '',
'in8' => '',
'in9' => '',
'in10' => '',
'in11' => null,
'in12' => 'MYUSERNAME', //Not mandatory if environment variables have been configured
'in13' => 'MYPASSWORD', //Not mandatory if environment variables have been configured
'in14' => 'N'
];
$seur = new Seur();
$dispatches = $seur->dispatches($search);
ConsultaDetalleExpedicionesStr:
$search = [
'in0' => 'S',
'in1' => 'REF',
'in2' => 'MYUSERNAME', //Not mandatory if environment variables have been configured
'in3' => 'MYPASSWORD', //Not mandatory if environment variables have been configured
];
$seur = new Seur();
$dispatch = $seur->dispatch($search);
$seur = new Seur();
$dispatch = $seur->getTypeLDispatchById('ID');
$seur = new Seur();
$dispatch = $seur->getTypeSDispatchById('ID');
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.