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

De CIGAM WIKI
Sem resumo de edição
 
(3 revisões intermediárias pela mesma usuária não estão sendo mostradas)
Linha 1: Linha 1:
{{VoltarPagina}}
{{VoltarPagina}}
[[Integrador]] >
[[IN_CIGAM Integrador#Faturamento|WebServices]] >
[[IN CadastroCondicaoPagamento.integrador]]


*<b>Requisição</b>
=Requisição=
**<b>Soap:</b> http://servidor/CadastroCondicaoPagamento.integrador.asmx
*<b>Soap:</b> http://servidor/CadastroCondicaoPagamento.integrador.asmx
**<b>Rest/JSon:</b> http://servidor/CadastroCondicaoPagamento.integrador.ashx/metodo
*<b>Rest/JSon:</b> http://servidor/CadastroCondicaoPagamento.integrador.ashx/metodo
***<b>Tipo de registro:</b> CPGCAD</br>
**<b>Tipo de registro:</b> CPGCAD</br>


== ListarId ==
=Métodos=
<p align=“justify”><i>
<!--bgcolor="#5F6B7A"-->
</i></p>
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
 
    <tr>
*<b>Parâmetros:</b><br>
        <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 16: Linha 22:
}}
}}
<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>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 27: Linha 33:
<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.<br/></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
 
    </tr>
== ListarIndividual ==
</table></center>
<p align=“justify”><i>
</i></p>


*<b>Parâmetros:</b><br>
<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 43: Linha 52:
}}
}}
<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>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 244: Linha 253:
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
 
    </tr>
== ListarModificacoes ==
</table></center>
<p align=“justify”><i>
</i></p>


*<b>Parâmetros:</b><br>
<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 268: Linha 280:
}}
}}
<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>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 468: Linha 480:
<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.<br/></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
 
    </tr>
== Listar ==
</table></center>
<p align=“justify”><i>
</i></p>


*<b>Parâmetros:</b><br>
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
    <tr>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>Listar</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 481: Linha 496:
}}
}}
<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>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 494: Linha 509:
<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.<br/></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
 
    </tr>
== ListarCondicaoPagamento ==
</table></center>
<p align=“justify”><i>
</i></p>


*<b>Parâmetros:</b><br>
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
    <tr>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarCondicaoPagamento</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 511: Linha 529:
}}
}}
<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>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 717: Linha 735:
** Tipo: Float 11.2
** Tipo: Float 11.2


*prazosPagamento
*prazosPagamento<!--Parâmetros para o elemento prazoPagamento-->
 
**prazo
**prazo
*** Tipo: Int 5
*** Tipo: Int 5
Linha 726: Linha 743:
*** Branco=Prazo, V=Vista, A=Apresentação, E=Entrada, D=Dia Fixo, S=Semana, =Ultimo dia próximo mês
*** Branco=Prazo, V=Vista, A=Apresentação, E=Entrada, D=Dia Fixo, S=Semana, =Ultimo dia próximo mês


*percentualParcela
**percentualParcela
** Tipo: Float 3.2
*** Tipo: Float 3.2


*residuo
**residuo
** Tipo: String 1
*** Tipo: String 1
** S=Sim, N=Não, I=IPI
*** S=Sim, N=Não, I=IPI


*sessao
**sessao
** Tipo: Int 8
*** Tipo: Int 8


*usuarioModificacao
**usuarioModificacao
** Tipo: String 3
*** Tipo: String 3


*usuarioCriacao
**usuarioCriacao
** Tipo: String 3
*** Tipo: String 3


*dataModificacao
**dataModificacao
** Tipo: Date
*** Tipo: Date


*dataPrazoVencimento
**dataPrazoVencimento
** Tipo: Date
*** Tipo: Date


*diaInicio
**diaInicio
** Tipo: String 2
*** Tipo: String 2


*diaFim
**diaFim
** Tipo: String 2
*** Tipo: String 2


*portador
**portador
** Tipo: String 3
*** Tipo: String 3


*portadorDescontoIncondicional
**portadorDescontoIncondicional
** Tipo: String 3
*** Tipo: String 3


*gerarParcelaST
**gerarParcelaST
** Tipo: Bool
*** Tipo: Bool


*usrppag1
**usrppag1
** Tipo: String 20
*** Tipo: String 20


*usrppag2
**usrppag2
** Tipo: Date
*** Tipo: Date


*usrppag3
**usrppag3
** Tipo: Float 11.2
*** Tipo: Float 11.2
}}<br>
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;">
*<b>Distribuição das Tags XML:</b><br>
{{#tree: minExpandLevel=2 |
*<xmlCondicaoPagamento>
**<CondicoesPagamento>
***<condicaoPagamento>
*****<codigoCondicaoPagamento>001</codigoCondicaoPagamento>
*****<descricao>COMPRA 01 X - A VISTA</descricao>
*****<codigoTipoPagamento></codigoTipoPagamento>
*****<prazosPagamento>
******<prazoPagamento>
*******<prazo>0</prazo>
*******<forma>V</forma>
*******<percentualParcela>0</percentualParcela>
******</prazoPagamento>
******</prazosPagamento>
***</condicaoPagamento>
**</CondicoesPagamento>
*</xmlCondicaoPagamento>
}}<br>
*<b>Distribuição das Tags Json:</b><br>
{{#tree: minExpandLevel=2 |
*{
**"CondicoesPagamento": [
***{
****"condicaoPagamento": {
****"codigoCondicaoPagamento": "001",
****"descricao": "COMPRA 01 X - A VISTA",
****"codigoTipoPagamento": " ",
****"prazosPagamento": [
*****{
******"prazoPagamento": {
******"prazo": "0",
******"forma": "V",
******"percentualParcela": "0"
******}
*****}
****]
****}
***}
**]
*}
}}
}}
<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>
Linha 820: Linha 794:
<br/>
<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.<br/></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
    </tr>
</table></center>

Edição atual tal como às 18h08min de 7 de outubro de 2026

Voltar
Integrador > WebServices > IN CadastroCondicaoPagamento.integrador

Requisição

Métodos

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.

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.

Voltar ao início

Listar

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

ListarCondicaoPagamento

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