IN CadastroProjeto.integrador: mudanças entre as edições
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
{{VoltarPagina}} | {{VoltarPagina}} | ||
[[Integrador]] > [[IN_CIGAM Integrador#Projetos|WebServices]] > [[IN_CadastroProjeto.integrador|CadastroProjeto]] | [[Integrador]] > | ||
[[IN_CIGAM Integrador#Projetos|WebServices]] > | |||
[[IN_CadastroProjeto.integrador|CadastroProjeto]] | |||
=Requisição= | |||
*'''Soap:''' http://servidor/CadastroProjeto.integrador.asmx | |||
*'''Rest/JSon:''' http://servidor/CadastroProjeto.integrador.ashx/metodo | |||
**'''Tipo de registro:''' PROJET | |||
= | =Métodos= | ||
<!--bgcolor="#5F6B7A"--> | |||
< | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>Cadastrar</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Método que tem por finalidade cadastrar um Projeto simples conforme os parâmetros e tipos indicados abaixo:</p> | |||
</ | <p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | ||
= | |||
Método que tem por finalidade cadastrar um Projeto simples conforme os parâmetros e tipos indicados abaixo: | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 51: | Linha 51: | ||
** Tipo: String 2000 | ** Tipo: String 2000 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
idRegistro - ID que representa este registro na tabela de integração.<br/> | |||
<br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se algum parâmetro inválido:<br/> | |||
Parâmetro necessário não informado.<br/> | |||
<br/> | |||
Se algum parâmetro obrigatório não informado:<br/> | |||
Parâmetro necessário não foi informado (<parâmetro_1>,<parâmetro_n>).</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarPendentes</b></font></td> | |||
</tr> | |||
< | <tr> | ||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
< | |||
< | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 89: | Linha 89: | ||
** Se for informado algo diferente de C ou E não será aplicado nenhum filtro. | ** Se for informado algo diferente de C ou E não será aplicado nenhum filtro. | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
Se sucesso: | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*idRegistro | *idRegistro | ||
| Linha 112: | Linha 111: | ||
**Tipo: String 12 | **Tipo: String 12 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
A consulta não retornou nenhum registro.</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
< | <tr> | ||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarId</b></font></td> | |||
</tr> | |||
< | <tr> | ||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
** Obrigatório, tipo: String 20 | ** Obrigatório, tipo: String 20 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
Se sucesso: | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*id | *id | ||
| Linha 138: | Linha 141: | ||
** Tipo: String 12 | ** Tipo: String 12 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
A consulta não retornou nenhum registro.</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
< | <tr> | ||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarIndividual</b></font></td> | |||
</tr> | |||
< | <tr> | ||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 159: | Linha 167: | ||
** Tipo: String 12 | ** Tipo: String 12 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
Se sucesso: | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*projeto | *projeto | ||
| Linha 239: | Linha 246: | ||
** Tipo: String 1 | ** Tipo: String 1 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
A consulta não retornou nenhum registro.<br/> | |||
<br/> | |||
Se algum parâmetro inválido:<br/> | |||
Parâmetro necessário não informado.</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
< | <tr> | ||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarProjetos</b></font></td> | |||
</tr> | |||
< | <tr> | ||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
< | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 305: | Linha 317: | ||
** Tipo: String 1 | ** Tipo: String 1 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
Se sucesso: | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*projeto | *projeto | ||
| Linha 385: | Linha 396: | ||
** Tipo: String 1 | ** Tipo: String 1 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
A consulta não retornou nenhum registro.<br/> | |||
<br/> | |||
Se algum parâmetro inválido:<br/> | |||
Parâmetro necessário não informado.</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
< | <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarModificacoes</b></font></td> | ||
</tr> | |||
<tr> | |||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
< | |||
< | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 418: | Linha 431: | ||
** Tipo: Time 6 | ** Tipo: Time 6 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
Se sucesso: | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*projeto | *projeto | ||
| Linha 498: | Linha 510: | ||
** Tipo: String 1 | ** Tipo: String 1 | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
A consulta não retornou nenhum registro.<br/> | |||
<br/> | |||
Se algum parâmetro inválido:<br/> | |||
Parâmetro necessário não informado.</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
< | <tr> | ||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>LiberarPendentes</b></font></td> | |||
</tr> | |||
< | <tr> | ||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
< | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 519: | Linha 536: | ||
** brigatório, tipo: Int | ** brigatório, tipo: Int | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
Sucesso.<br/> | |||
< | <br/> | ||
Se pin inválido:<br/> | |||
Se pin inválido: | O usuário não possui direitos suficientes para executar esta rotina.<br/> | ||
<br/> | |||
Se erro na conexão com banco de dados:<br/> | |||
Se erro na conexão com banco de dados: | A conexão com o banco de dados e/ou comando SQL possui erros.<br/> | ||
<br/> | |||
Se ID inválido ou não encontrado:<br/> | |||
Se ID inválido ou não encontrado: | Falha ao liberar registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</ | </table></center> | ||
Edição atual tal como às 17h10min de 6 de outubro de 2026
Voltar
Integrador >
WebServices >
CadastroProjeto
Requisição
- Soap: http://servidor/CadastroProjeto.integrador.asmx
- Rest/JSon: http://servidor/CadastroProjeto.integrador.ashx/metodo
- Tipo de registro: PROJET
Métodos
| Cadastrar |
Método que tem por finalidade cadastrar um Projeto simples conforme os parâmetros e tipos indicados abaixo: Parâmetros:
|
| ListarPendentes |
Parâmetros:
|
| ListarId |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarProjetos |
Parâmetros:
|
| ListarModificacoes |
Parâmetros:
|
| LiberarPendentes |
Parâmetros:
|
