URL: {URL_SERVICE}/adv-service/{MODULO}/{CODIGO_ENTIDADE}/tarefa/consulta-multi-modulo
Método: Get
Possíveis parâmetros:
quan-registros={QUANTIDADE DE REGISTROS}
pagina={Pagina da busca}
Headers:
Content-Type : application/json
Accept : application/json
Authorization : ACCESS_TOKEN_USUARIO
URL: {URL_SERVICE}/adv-service/{MODULO}/{CODIGO_ENTIDADE}/tarefa/{CODIGO_TAREFA_EVENTO}
Método: Get
Headers:
Content-Type : application/json
Accept : application/json
Authorization : ACCESS_TOKEN_USUARIO
URL: {URL_SERVICE}/adv-service/processo/8541235/tarefa/123456
{ "codigoTarefa": 98456, "possuiRecorrencia": true, "compromisso": false, "recorrenciaWs": { "codigoRecorrencia": 8338, "dataFim": 1546221600000, "tipoRecorrencia": "DIARIO", "numeroRecorrencia": null, "tipoTerminoRecorrencia": "DATA" }, "tarefaEventoWs": { "dataConclusaoPrevista": 1547776800000, "marcadorWs": [], "tarefaEventoSituacaoWs": { "codigoTarefaEventoSituacao": 1, "situacao": "Pendente", "situacaoConcluida": false }, "lembreteWs": [], "modulos": null, "codigoTarefaEvento": 123456, "descricaoTarefa": "tarefa com recorrencia", "identificador": "TAR.0003659", "horaConclusao": null, "horaLimite": null, "dataLimite": 1548122400000, "dataBase": 1546135200000, "usuariosResponsaveis": [ { "chave": 1, "valor": "Responsável" } ], "gruposResponsaveis": [], "codigoTarefa": 98456, "tipoTarefa": { "chave": 347859, "valor": "Acompanhamento1" }, "notificaClienteCriacao": true, "notificaResponsavelCriacao": true, "codigoTarefaEventoPai": null, "terceirosConclusao": [], "terceirosCriacao": [], "tipoEvento": null, "local": null, "titulo": null, "privado": false, "tarefaPrivada": false }, "modulos": [ { "modulo": "PROCESSO", "codigoRegistroVinculo": 8541235, "vinculoPrincipal": true } ] } |
URL: {URL_SERVICE}/adv-service/tarefa/calendario/consulta-sem-paginacao
Método: Post
Headers:
Content-Type : application/json
Accept : application/json
Authorization : ACCESS_TOKEN_USUARIO
Obter detalhes da tarefa:
URL: {URL_SERVICE}/adv-service/tarefa-detalhes/{CODIGO_TAREFA_EVENTO}
Método: Get
Headers:
Content-Type : application/json
Accept : application/json
Authorization : ACCESS_TOKEN_USUARIO
URL: {URL_SERVICE}/adv-service/tarefa
Método: Post
Headers:
Content-Type : application/json
Accept : application/json
Authorization : ACCESS_TOKEN_USUARIO
Conteúdo: TarefaWs
Criando tarefa para um processo.
URL: {URL_SERVICE}/adv-service/tarefa
Método: Post
Headers:
Content-Type : application/json
Accept : application/json
Authorization : ACCESS_TOKEN_USUARIO
TarefaWs:
{ "modulos": [{ "modulo": "PROCESSO", "codigoRegistroVinculo": 124578, "vinculoPrincipal": true }], "possuiRecorrencia": true, "recorrenciaWs": { "tipoRecorrencia": "MENSAL", "numeroRecorrencia": 1, "tipoTerminoRecorrencia": "QUANTIDADE" }, "tarefaEventoWs": { "modulos": [], "codigoTarefaEvento": null, "descricaoTarefa": "Descrição tarefa exemplo", "identificador": null, "dataConclusao": null, "dataConclusaoPrevista": 1533438000000, "horaConclusao": 54000000, "horaLimite": 54000000, "dataLimite": 1533610800000, "dataBase": 1532574000000, "usuariosResponsaveis": [{ "chave": 1, "valor": "Responsável" }], "gruposResponsaveis": [{ "chave": 1, "valor": "Administradores" }], "codigoTarefa": null, "tipoTarefa": { "chave": 32, "valor": "Apelação" }, "notificaClienteCriacao": true, "notificaResponsavelCriacao": true, "marcadorWs": [{ "codigoMarcador": null, "nomeMarcador": "MARCADOR_EXEMPLO" }], "tarefaEventoDadosComplementaresWs": { "codigoTarefaEventoDadosComplementares": null, "textoComplementar": "Texto Complementar de exemplo." }, "tarefaEventoSituacaoWs": { "codigoTarefaEventoSituacao": 1, "situacao": "Pendente", "situacaoConcluida": false } } } |
URL: {URL_SERVICE}/adv-service/tarefa
Método: Put
Headers:
Content-Type : application/json
Accept : application/json
Authorization : ACCESS_TOKEN_USUARIO
Conteúdo: TarefaEventoWs
Exemplo TarefaEventoWs:
{ "dataConclusaoPrevista": 1546394400000, "marcadorWs": [], "tarefaEventoSituacaoWs": { "codigoTarefaEventoSituacao": 1, "situacao": "Pendente", "situacaoConcluida": false }, "checklistWs": { "codigo": 123, "nome": "checklist", "descricao": "descrição", "checklistItemWs": [ { "codigoChecklistItem": 456, "codigoChecklist": 45789, "nomeItem": "Item checklist", "numeroOrdem": 1, "checked": false } ], "numeroItens": 1, "numeroItensConcluidos": 0, "modulos": [ { "modulo": "TAREFA_EVENTO", "codigoRegistroVinculo": 456789, "vinculoPrincipal": true } ] }, "lembreteWs": [], "modulos": null, "codigoTarefaEvento": 456789, "descricaoTarefa": "Descrição da tarefa", "horaConclusao": null, "horaLimite": null, "dataLimite": 1546567200000, "dataBase": 1545876000000, "usuariosResponsaveis": [ { "chave": 1, "valor": "Responsável" } ], "gruposResponsaveis": [], "codigoTarefa": 1, "tipoTarefa": { "chave": 32, "valor": "Acompanhamento" }, "notificaClienteCriacao": false, "notificaResponsavelCriacao": false, "codigoTarefaEventoPai": null, "terceirosConclusao": [], "terceirosCriacao": [], "tipoEvento": null, "local": null, "titulo": null, "privado": false, "tarefaPrivada": false, "tarefaEventoDadosComplementaresWs": { "textoComplementar": "Texto Complementar de exemplo." } } |
{ "modulos": [{ "modulo": "PROCESSO", "codigoRegistroVinculo": 41, "vinculoPrincipal": true }, { "modulo": "INTIMACAO", "codigoRegistroVinculo": 2, "vinculoPrincipal": false }], "codigoTarefa": null, "possuiRecorrencia": true, "compromisso": false, "recorrenciaWs": { "codigoRecorrencia": null, "dataFim": null, "tipoRecorrencia": "MENSAL", "numeroRecorrencia": 6, "tipoTerminoRecorrencia": "QUANTIDADE" }, "tarefaEventoWs": { "modulos": [], "codigoTarefaEvento": null, "descricaoTarefa": "Descrição tarefa 9", "identificador": null, "dataConclusao": null, "dataConclusaoPrevista": 1533438000000, "horaConclusao": 54000000, "horaLimite": 54000000, "dataLimite": 1533610800000, "dataBase": 1532574000000, "usuariosResponsaveis": [{ "chave": 1, "valor": "SAJ ADV" }], "gruposResponsaveis": [{ "chave": 1, "valor": "Administradores" }], "codigoTarefa": null, "tipoTarefa": { "chave": 32, "valor": "Apelação" }, "notificaClienteCriacao": true, "notificaResponsavelCriacao": true, "codigoTarefaEventoPai": null, "terceirosConclusao": [], "terceirosCriacao": [], "marcadorWs": [{ "codigoMarcador": null, "nomeMarcador": "MARCADOR31" }], "tarefaEventoDadosComplementaresWs": { "codigoTarefaEventoDadosComplementares": null, "textoComplementar": "Texto Complementar727" }, "tarefaEventoSituacaoWs": { "codigoTarefaEventoSituacao": 1, "situacao": "Pendente", "situacaoConcluida": false }, "checklistWs": null, "tipoEvento": null, "local": null, "titulo": null, "lembreteWs": [], "lembreteDataEspecificaWs": [], "privado": null }, "tarefaCompromissoEventoWs": null } |