IN CadastroObjetoContrato.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#Financeiro|WebServices]] > | |||
[[IN CadastroObjetoContrato.integrador]] | |||
=Requisição= | |||
*<b>Soap:</b> http://servidor/CadastroObjetoContrato.integrador.asmx | |||
*<b>Rest/JSon:</b> http://servidor/CadastroObjetoContrato.integrador/metodo | |||
**<b>Tipo de registro:</b> CTOBJE</br> | |||
== | =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>CadastrarObjetoContrato</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Cadastra Objeto contrato em uma única requisição. Os dados do Objeto do Contrato deverá estar em formato XML para requisições SOAP e JSON para requisições REST. Ambos com estrutura específica conforme descrito a seguir.</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> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 29: | Linha 37: | ||
** Obrigatório apenas para requisições REST/JSON. | ** Obrigatório apenas para requisições REST/JSON. | ||
}} | }} | ||
<br> | |||
<br><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Distribuição das Tags XML:</b></p><br> | |||
{{#tree: | {{#tree: | | ||
*<cadastroObjetosContrato> | *<cadastroObjetosContrato> | ||
**<objetosContrato> | **<objetosContrato> | ||
| Linha 65: | Linha 73: | ||
*</cadastroObjetosContrato> | *</cadastroObjetosContrato> | ||
}} | }} | ||
<br> | |||
<br><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Distribuição das Tags Json:</b></p><br> | |||
{{#tree: | {{#tree: | ||
*{ | *{ | ||
**"objetosContrato": [{ | **"objetosContrato": [{ | ||
| Linha 99: | Linha 107: | ||
*} | *} | ||
}} | }} | ||
<br> | |||
<b> | <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:<br/> | ||
Exemplo de retorno SOAP:<br/> | * Exemplo de retorno SOAP:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<retorno> | *<retorno> | ||
| Linha 113: | Linha 122: | ||
*</retorno> | *</retorno> | ||
}} | }} | ||
<br> | |||
Exemplo de retorno REST:<br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
* Exemplo de retorno REST:<br/> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*{ | *{ | ||
| Linha 131: | Linha 141: | ||
Se algum parâmetro inválido:<br/> | Se algum parâmetro inválido:<br/> | ||
Parâmetro necessário não informado.</p> | 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 145: | Linha 159: | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se pin inválido:<br/> | Se pin inválido:<br/> | ||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | O usuário não possui direitos suficientes para executar esta rotina.<br/> | ||
| Linha 154: | Linha 168: | ||
Se ID inválido ou não encontrado:<br/> | Se ID inválido ou não encontrado:<br/> | ||
Falha ao liberar registro.</p> | Falha ao liberar 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 | ||
| Linha 165: | Linha 183: | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 177: | Linha 195: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | 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 191: | Linha 213: | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 313: | Linha 335: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | 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>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 336: | Linha 362: | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 458: | Linha 484: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | 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>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 479: | Linha 509: | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 503: | Linha 533: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
Edição atual tal como às 15h22min de 7 de outubro de 2026
Voltar
Integrador >
WebServices >
IN CadastroObjetoContrato.integrador
Requisição
- Soap: http://servidor/CadastroObjetoContrato.integrador.asmx
- Rest/JSon: http://servidor/CadastroObjetoContrato.integrador/metodo
- Tipo de registro: CTOBJE
- Tipo de registro: CTOBJE
Métodos
| CadastrarObjetoContrato |
Cadastra Objeto contrato em uma única requisição. Os dados do Objeto do Contrato deverá estar em formato XML para requisições SOAP e JSON para requisições REST. Ambos com estrutura específica conforme descrito a seguir. Parâmetros: Distribuição das Tags XML: Distribuição das Tags Json:
|
| LiberarPendentes |
Parâmetros:
|
| ListarId |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarModificacoes |
Parâmetros:
|
| ListarPendentes |
Parâmetros:
|
