| name | type | description |
|---|---|---|
| oab | query | |
| uf | query |
| media type | data type | description |
|---|---|---|
| application/json | SimpleValueType (JSON) |
GET /advogado-cna
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"valor" : "..."
}
| name | type | description |
|---|---|---|
| oab | query | |
| uf | query |
| media type | data type | description |
|---|---|---|
| application/json | array of AdvogadoWs (JSON) |
GET /advogado-cna-completo
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"nome" : "...",
"oab" : "..."
} ]
Executa a consulta global conforme os parâmetros informados.
| name | type | description | constraints |
|---|---|---|---|
| executar-contagem | query | boolean | |
| filtro-geral | query | filtro da consulta. | |
| ordenacao-chave | query | ||
| ordenacao-tipo | query | ||
| pagina | query | int | |
| quan-registros | query | int |
| media type | data type | description |
|---|---|---|
| application/json | ConsultaGlobalsWs (JSON) | resultado da consulta. |
| application/xml | ConsultaGlobalsWs (Anonymous) (XML) |
GET /consulta-global
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"totalRegistros" : 12345,
"consultaGlobalWs" : [ {
"codigoEntidade" : 12345,
"codigoEntidadePrincipal" : 12345,
"identificadorEntidade" : "...",
"textoPrincipal" : "...",
"textoComplementar" : "...",
"modulo" : "campo-dinamico",
"moduloComplementar" : "processo-vara-tipo"
}, {
"codigoEntidade" : 12345,
"codigoEntidadePrincipal" : 12345,
"identificadorEntidade" : "...",
"textoPrincipal" : "...",
"textoComplementar" : "...",
"modulo" : "processo-relacionado-agrupador-tipo",
"moduloComplementar" : "compromisso"
} ]
}
| name | type | description |
|---|---|---|
| chave-tipo | query |
| media type | data type | description |
|---|---|---|
| application/json | ConsultaTiposRetornoWs (JSON) | |
| application/xml | ConsultaTiposRetornoWs (Anonymous) (XML) |
GET /tipo
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"consultaTipoRetorno" : [ {
"chaveTipo" : "...",
"quantidadeRegistros" : 12345,
"simpleDto" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
}, {
"chaveTipo" : "...",
"quantidadeRegistros" : 12345,
"simpleDto" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
} ]
}
| media type | data type | description |
|---|---|---|
| application/json | SimpleValueWs (JSON) | Coleção das chaves do ModuloSistema que possuem entidades com a funcionalidade de cadastro de tipos. |
| application/xml | SimpleValueWs (Anonymous) (XML) |
GET /cadastro-tipo/modulos
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}
Metódo responsável por criar um Tipo.
| name | type | description |
|---|---|---|
| moduloCadastroTipo | path |
| media type | data type |
|---|---|
| application/json | CadastroTipoWs (JSON) |
| application/xml | CadastroTipoWs (Anonymous) (XML) |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | retorna o codigo do tipo criado. |
| application/xml | anyType (XML) |
POST /cadastro-tipo/{moduloCadastroTipo}
Content-Type: application/json
Accept: application/json
{
"codigoCadastroTipo" : 12345,
"descricao" : "...",
"flagPossuiModulo" : true,
"flagPossuiArrendatario" : true,
"modulos" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
}
HTTP/1.1 201 Created
Content-Type: application/json
...
Metódo responsável por editar um Tipo.
| name | type | description |
|---|---|---|
| moduloCadastroTipo | path |
| media type | data type |
|---|---|
| application/json | CadastroTipoWs (JSON) |
| application/xml | CadastroTipoWs (Anonymous) (XML) |
PUT /cadastro-tipo/{moduloCadastroTipo}
Content-Type: application/json
{
"codigoCadastroTipo" : 12345,
"descricao" : "...",
"flagPossuiModulo" : true,
"flagPossuiArrendatario" : true,
"modulos" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
}
HTTP/1.1 204 No Content
| media type | data type | description |
|---|---|---|
| application/json | SimpleValueWs (JSON) | |
| application/xml | SimpleValueWs (Anonymous) (XML) |
GET /consulta/modulos
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}
| name | type | description | constraints |
|---|---|---|---|
| moduloConsulta | path | ||
| codigo-registro-vinculo | query | long | |
| executar-contagem | query | boolean | |
| filtro-geral | query | ||
| ordenacao-chave | query | ||
| ordenacao-tipo | query | ||
| pagina | query | int | |
| quan-registros | query | int |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
| application/xml | anyType (XML) |
GET /consulta/{moduloConsulta}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description | constraints |
|---|---|---|---|
| moduloConsulta | path | ||
| codigo-registro-vinculo | query | long | |
| executar-contagem | query | boolean | |
| ordenacao-chave | query | ||
| ordenacao-tipo | query | ||
| pagina | query | int | |
| quan-registros | query | int |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
| application/xml | anyType (XML) |
POST /consulta/{moduloConsulta}
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
...
| media type | data type | description |
|---|---|---|
| application/json | SimpleValueWs (JSON) | Coleção das chaves do ModuloSistema que possuem entidades com a funcionalidade de habilitar e desabilitar. |
| application/xml | SimpleValueWs (Anonymous) (XML) |
GET /habilitar-desabilitar/modulos
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}
| media type | data type | description |
|---|---|---|
| application/json | SimpleValueWs (JSON) | Coleção das chaves do ModuloSistema que possuem entidades com a funcionalidade remover generica. |
| application/xml | SimpleValueWs (Anonymous) (XML) |
GET /remover/modulos
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}
| media type | data type | description |
|---|---|---|
| application/json | ChaveTiposConsultaWs (JSON) | |
| application/xml | ChaveTiposConsultaWs (Anonymous) (XML) |
GET /tipo/chave
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"tipoConsulta" : [ {
"chaveTipo" : "...",
"paginacaoTiposConsulta" : "NAO_OBRIGATORIO",
"filtroTiposConsulta" : [ {
"filtro" : "...",
"valorDefaultFiltro" : "...",
"filtroObrigatorio" : true
}, {
"filtro" : "...",
"valorDefaultFiltro" : "...",
"filtroObrigatorio" : true
} ]
}, {
"chaveTipo" : "...",
"paginacaoTiposConsulta" : "NAO_OBRIGATORIO",
"filtroTiposConsulta" : [ {
"filtro" : "...",
"valorDefaultFiltro" : "...",
"filtroObrigatorio" : true
}, {
"filtro" : "...",
"valorDefaultFiltro" : "...",
"filtroObrigatorio" : true
} ]
} ]
}
Desabilitar um registro de uma entidade do sistema.
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| moduloHabilitarDesabilitar | path | chave do ModuloSistema referente a entidade a ser desabilitada. | no | |
| codigos | query | long | yes |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | Response. |
| application/xml | anyType (XML) |
POST /{moduloHabilitarDesabilitar}/desabilitar
Content-Type: */*
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
...
Habilita um registro de uma entidade do sistema.
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| moduloHabilitarDesabilitar | path | chave do ModuloSistema referente a entidade a ser habilitada. | no | |
| codigos | query | codigo do registro a ser habilitado. | long | yes |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | Response. |
| application/xml | anyType (XML) |
POST /{moduloHabilitarDesabilitar}/habilitar
Content-Type: */*
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
...
Remove um registro de uma entidade do sistema.
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| moduloRemoverEntidade | path | chave do ModuloSistema referente a entidade a ser removida. | no | |
| codigos | query | codigo do registro a ser removido. | long | yes |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | Response. |
| application/xml | anyType (XML) |
DELETE /{moduloRemoverEntidade}/remover
Content-Type: */*
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description | constraints |
|---|---|---|---|
| moduloCadastroTipo | path | ||
| executar-contagem | query | boolean | |
| filtro-geral | query | ||
| ordenacao-chave | query | ||
| ordenacao-tipo | query | ||
| pagina | query | int | |
| quan-registros | query | int |
| media type | data type | description |
|---|---|---|
| application/json | CadastroTipoConsultaWs (JSON) | |
| application/xml | CadastroTipoConsultaWs (Anonymous) (XML) |
GET /cadastro-tipo/consulta/{moduloCadastroTipo}
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"totalRegistros" : 12345,
"modulosPossiveis" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ],
"cadastroTipoWs" : [ {
"codigoCadastroTipo" : 12345,
"descricao" : "...",
"flagPossuiModulo" : true,
"flagPossuiArrendatario" : true,
"modulos" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
}, {
"codigoCadastroTipo" : 12345,
"descricao" : "...",
"flagPossuiModulo" : true,
"flagPossuiArrendatario" : true,
"modulos" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
} ]
}
| media type | data type | description |
|---|---|---|
| application/json | ModuloAgrupadosRetornoWs (JSON) | |
| application/xml | ModuloAgrupadosRetornoWs (Anonymous) (XML) |
GET /cadastro-tipo/modulos/areas
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"moduloAreaRetorno" : [ {
"moduloArea" : "financeiro",
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}, {
"moduloArea" : "processo",
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
} ]
}
| name | type | description |
|---|---|---|
| moduloConsulta | path |
| media type | data type | description |
|---|---|---|
| application/json | SimpleValueWs (JSON) | |
| application/xml | SimpleValueWs (Anonymous) (XML) |
GET /consulta/{moduloConsulta}/ordenacao
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}
Metódo responsável por obter um cadastro tipo pelo codigo
| name | type | description | constraints |
|---|---|---|---|
| codigoCadastroTipo | path | long | |
| moduloCadastroTipo | path |
| media type | data type | description |
|---|---|---|
| application/json | CadastroTipoWs (JSON) | |
| application/xml | CadastroTipoWs (Anonymous) (XML) |
GET /cadastro-tipo/codigo-cadastro-tipo/{moduloCadastroTipo}/{codigoCadastroTipo}
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"codigoCadastroTipo" : 12345,
"descricao" : "...",
"flagPossuiModulo" : true,
"flagPossuiArrendatario" : true,
"modulos" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
}
Metódo responsável por consultar todos os registros de uma entidade que estão desabilitados filtrados ou nao por uma lista de ids.
| name | type | description |
|---|---|---|
| moduloEntidade | path |
| media type | data type |
|---|---|
| application/json | SimpleValueWs (JSON) |
| application/xml | SimpleValueWs (Anonymous) (XML) |
| media type | data type | description |
|---|---|---|
| application/json | SimpleDtoWs (JSON) | retorna o SimpleDtoWs |
| application/xml | SimpleDtoWs (Anonymous) (XML) |
POST /habilitar-desabilitar/consulta/desabilitado/{moduloEntidade}
Content-Type: application/json
Accept: application/json
{
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"simpleDto" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
}
Metódo responsável por consultar todos os registros de uma entidade que estão habilitados filtrados ou nao por uma lista de ids.
| name | type | description |
|---|---|---|
| moduloEntidade | path |
| media type | data type |
|---|---|
| application/json | SimpleValueWs (JSON) |
| application/xml | SimpleValueWs (Anonymous) (XML) |
| media type | data type | description |
|---|---|---|
| application/json | SimpleDtoWs (JSON) | retorna o SimpleDtoWs |
| application/xml | SimpleDtoWs (Anonymous) (XML) |
POST /habilitar-desabilitar/consulta/habilitado/{moduloEntidade}
Content-Type: application/json
Accept: application/json
{
"simpleValue" : [ {
"valor" : "..."
}, {
"valor" : "..."
} ]
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"simpleDto" : [ {
"chave" : 12345,
"valor" : "..."
}, {
"chave" : 12345,
"valor" : "..."
} ]
}