IN CadastroProjeto.integrador: mudanças entre as edições

De CIGAM WIKI
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]]


<div align="justify">
=Requisição=
*'''Soap:''' http://servidor/CadastroProjeto.integrador.asmx
*'''Rest/JSon:''' http://servidor/CadastroProjeto.integrador.ashx/metodo
**'''Tipo de registro:''' PROJET


= CadastroProjeto.integrador =
=Métodos=
'''Requisição:'''
<!--bgcolor="#5F6B7A"-->
<div style="margin-left:1.251cm;">
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
'''Soap:''' http://servidor/CadastroProjeto.integrador.asmx
    <tr>
 
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>Cadastrar</b></font></td>
'''Rest/JSon:''' http://servidor/CadastroProjeto.integrador.ashx/metodo
    </tr>
 
    <tr>
'''Tipo de registro:''' PROJET
        <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>
</div>
<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>
 
== Cadastrar ==
Método que tem por finalidade cadastrar um Projeto simples conforme os parâmetros e tipos indicados abaixo:  
 
'''Parâmetros:'''
{{#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/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;idRegistro - ID que representa este registro na tabela de integração.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se algum parâmetro inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parâmetro necessário não informado.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se algum parâmetro obrigatório não informado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parâmetro necessário não foi informado (<parâmetro_1>,<parâmetro_n>).</p>
{{VoltarInicio}}</td>
    </tr>
</table></center>


'''Retorno:'''
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
 
    <tr>
Se sucesso:
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarPendentes</b></font></td>
 
    </tr>
<div style="margin-left:1.251cm;">idRegistro - ID que representa este registro na tabela de integração.</div>
    <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>
Se pin inválido:
 
<div style="margin-left:1.251cm;">O usuário não possui direitos suficientes para executar esta rotina.</div>
 
Se algum parâmetro inválido:
 
<div style="margin-left:1.251cm;">Parâmetro necessário não informado.</div>
 
Se algum parâmetro obrigatório não informado:
 
<div style="margin-left:1.251cm;">Parâmetro necessário não foi informado (<parâmetro_1>,<parâmetro_n>).</div>
 
{{VoltarInicio}}
 
== ListarPendentes ==
'''Parâmetros:'''
{{#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/>
'''Retorno:'''
<b>Retornos:</b><br/>
 
&nbsp;&nbsp;&nbsp;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/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}</td>
    </tr>
</table></center>


Se pin inválido:
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
<div style="margin-left:1.251cm;">O usuário não possui direitos suficientes para executar esta rotina.</div>
    <tr>
 
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarId</b></font></td>
Se nenhum registro encontrado:
    </tr>
<div style="margin-left:1.251cm;">A consulta não retornou nenhum registro.</div>
    <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>
{{VoltarInicio}}
 
== ListarId ==
'''Parâmetros:'''
{{#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/>
'''Retorno:'''
<b>Retornos:</b><br/>
 
&nbsp;&nbsp;&nbsp;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/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}</td>
    </tr>
</table></center>


Se pin inválido:
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
<div style="margin-left:1.251cm;">O usuário não possui direitos suficientes para executar esta rotina.</div>
    <tr>
 
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarIndividual</b></font></td>
Se nenhum registro encontrado:
    </tr>
<div style="margin-left:1.251cm;">A consulta não retornou nenhum registro.</div>
    <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>
{{VoltarInicio}}
 
== ListarIndividual ==
'''Parâmetros:'''
{{#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/>
'''Retorno:'''
<b>Retornos:</b><br/>
 
&nbsp;&nbsp;&nbsp;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/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se algum parâmetro inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parâmetro necessário não informado.</p>
{{VoltarInicio}}</td>
    </tr>
</table></center>


Se pin inválido:
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
<div style="margin-left:1.251cm;">O usuário não possui direitos suficientes para executar esta rotina.</div>
    <tr>
 
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarProjetos</b></font></td>
Se nenhum registro encontrado:
    </tr>
<div style="margin-left:1.251cm;">A consulta não retornou nenhum registro.</div>
    <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>
Se algum parâmetro inválido:
<div style="margin-left:1.251cm;">Parâmetro necessário não informado.</div>
 
{{VoltarInicio}}
 
== ListarProjetos ==
'''Parâmetros:'''
{{#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/>
'''Retorno:'''
<b>Retornos:</b><br/>
 
&nbsp;&nbsp;&nbsp;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/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se algum parâmetro inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parâmetro necessário não informado.</p>
{{VoltarInicio}}</td>
    </tr>
</table></center>


Se pin inválido:
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
 
    <tr>
<div style="margin-left:1.251cm;">O usuário não possui direitos suficientes para executar esta rotina.</div>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarModificacoes</b></font></td>
 
    </tr>
Se nenhum registro encontrado:
    <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>
<div style="margin-left:1.251cm;">A consulta não retornou nenhum registro.</div>
 
Se algum parâmetro inválido:
 
<div style="margin-left:1.251cm;">Parâmetro necessário não informado.</div>
 
{{VoltarInicio}}
 
== ListarModificacoes ==
'''Parâmetros:'''
{{#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/>
'''Retornos:'''
<b>Retornos:</b><br/>
 
&nbsp;&nbsp;&nbsp;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/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se algum parâmetro inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parâmetro necessário não informado.</p>
{{VoltarInicio}}</td>
    </tr>
</table></center>


Se pin inválido:
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
<div style="margin-left:1.251cm;">O usuário não possui direitos suficientes para executar esta rotina.</div>
    <tr>
 
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>LiberarPendentes</b></font></td>
Se nenhum registro encontrado:
    </tr>
<div style="margin-left:1.251cm;">A consulta não retornou nenhum registro.</div>
    <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>
Se algum parâmetro inválido:
<div style="margin-left:1.251cm;">Parâmetro necessário não informado.</div>
 
{{VoltarInicio}}
 
== LiberarPendentes ==
'''Parâmetros:'''
{{#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/>
'''Retorno:'''
<b>Retornos:</b><br/>
 
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
Se sucesso:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sucesso.<br/>
<div style="margin-left:1.251cm;">Sucesso.</div>
<br/>
 
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
Se pin inválido:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
<div style="margin-left:1.251cm;">O usuário não possui direitos suficientes para executar esta rotina.</div>
<br/>
 
&nbsp;&nbsp;&nbsp;Se erro na conexão com banco de dados:<br/>
Se erro na conexão com banco de dados:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A conexão com o banco de dados e/ou comando SQL possui erros.<br/>
<div style="margin-left:1.251cm;">A conexão com o banco de dados e/ou comando SQL possui erros.</div>
<br/>
 
&nbsp;&nbsp;&nbsp;Se ID inválido ou não encontrado:<br/>
Se ID inválido ou não encontrado:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Falha ao liberar registro.</p>
<div style="margin-left:1.251cm;">Falha ao liberar registro.</div>
{{VoltarInicio}}</td>
 
    </tr>
</div>
</table></center>
 
{{VoltarInicio}}

Edição atual tal como às 17h10min de 6 de outubro de 2026

Voltar
Integrador > WebServices > CadastroProjeto

Requisição

Métodos

Cadastrar

Método que tem por finalidade cadastrar um Projeto simples conforme os parâmetros e tipos indicados abaixo:

Parâmetros:



Retornos:
   Se sucesso:
      idRegistro - ID que representa este registro na tabela de integração.

   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se algum parâmetro inválido:
      Parâmetro necessário não informado.

   Se algum parâmetro obrigatório não informado:
      Parâmetro necessário não foi informado (<parâmetro_1>,<parâmetro_n>).

Voltar ao início

ListarPendentes

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

Voltar ao início

ListarId

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

Voltar ao início

ListarIndividual

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

   Se algum parâmetro inválido:
      Parâmetro necessário não informado.

Voltar ao início

ListarProjetos

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

   Se algum parâmetro inválido:
      Parâmetro necessário não informado.

Voltar ao início

ListarModificacoes

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

   Se algum parâmetro inválido:
      Parâmetro necessário não informado.

Voltar ao início

LiberarPendentes

Parâmetros:



Retornos:
   Se sucesso:
      Sucesso.

   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se erro na conexão com banco de dados:
      A conexão com o banco de dados e/ou comando SQL possui erros.

   Se ID inválido ou não encontrado:
      Falha ao liberar registro.

Voltar ao início