NAME

Tribunais::TRTES - Interface de consulta processual no Tribunal Regional do Trabalho do Espírito Santo - Brasil.

Este módulo tem como finalidade realizar uma consulta processual na base de dados do Tribunal Regional do Trabalho do Espírito Santo - TRTES

O resultado da sincronização é dado no formato JSON contendo todo o andamento do processo, fase à fase.

VERSION

version 0.003

SYNOPSIS

use TRTES;

#cria objeto tribunal
my $tribunal = new Tribunais::TRTES($tiponumeracao, $numero, $ano, $vara, $recurso, $digito);

# onde:
#
# $tiponumeracao -> antiga ou unificada
# $digito -> dígito do processo
# $numero -> numeração sem o dígito e sem o -
# $ano -> 4 dígitos do ano da abertura do processo
# $vara -> vara de abertura do processo
# $recurso -> numero do recurso em julgamento


# printa o resultado da sincronização no formato JSON
print $tribunal->sincroniza;

METHODS

sincroniza

$tribunal->sincroniza

Realiza busca na base de dados do TRTES e retorna um obj JSON contendo todo o andamento

RESPONSE FORMAT

    {"fases":
	[
	    {
		"andamento":"EXPEDIDA NOTIFICAÇÃO D.O. /AUTOR ",
		"data":"22/11/2010 09:41:13",
		"local":" ",
		"classe":"RTOrd"
	    }
	]
    }

EXAMPLES

Para um exemplo de uso, visualize consulta_TRTES.pl sob o diretorio example/ na raiz da distriuição deste módulo

AUTHORS

José Eduardo Perotta de Almeida, eduardo at web2solutions.com.br

LICENSE AND COPYRIGHT

Copyright 2011 José Eduardo Perotta de Almeida.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org.

DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.