FrameAppWS

<back to all web services

AMDCPagoDeudaRQ

Requires Authentication
The following routes are available for this service:
All Verbs/pago/PagoArticulo
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports AMDC.Modelo.Tipo.Pago
Imports AMDC.Modelo.Contexto.General
Imports AMDC.Modelo.Contexto.Pago

Namespace Global

    Namespace AMDC.Modelo.Contexto.General

        Public Partial Class CoreRes
            Public Overridable Property TranId As String
            Public Overridable Property Code As String
            Public Overridable Property InfoMsg As String
        End Class

        Public Partial Class DatosBanco
            Public Overridable Property Banco As String
            Public Overridable Property Sucursal As String
            Public Overridable Property Usuario As String
            Public Overridable Property Terminal As String
        End Class

        Public Partial Class ResultadoTransaccion
            Public Overridable Property Resultado As String
            <DataMember(Name:="Mensaje")>
            Public Overridable Property MensajeResultado As String

            Public Overridable Property FechaTransaccion As String
        End Class
    End Namespace

    Namespace AMDC.Modelo.Contexto.Pago

        Public Partial Class PagoArticulo
            Public Overridable Property IdObligacion As Integer
            Public Overridable Property Monto As Double
        End Class

        Public Partial Class ResultadoPago
            Inherits ResultadoTransaccion
            Public Overridable Property IdPago As Integer
            Public Overridable Property CheckSum As String
            Public Overridable Property Resultado As String
            <DataMember(Name:="Mensaje")>
            Public Overridable Property MensajeResultado As String

            Public Overridable Property FechaTransaccion As String
        End Class

        Public Partial Class SolicitudPago
            Public Sub New()
                PagoArticulos = New List(Of PagoArticulo)
            End Sub

            Public Overridable Property IdTransaccionBanco As String
            Public Overridable Property FechaTransaccionBanco As Integer
            Public Overridable Property HoraMinSeg As Integer
            Public Overridable Property NumeroDocumento As String
            Public Overridable Property IdTipoImpuesto As Integer
            Public Overridable Property PagoParcial As Integer
            Public Overridable Property Anio As Integer
            Public Overridable Property PagoArticulos As List(Of PagoArticulo)
        End Class
    End Namespace

    Namespace AMDC.Modelo.Tipo.Pago

        Public Partial Class AMDCPagoDeudaRQ
            Inherits DatosBanco
            Public Overridable Property SolicitudPago As SolicitudPago
            Public Overridable Property Banco As String
            Public Overridable Property Sucursal As String
            Public Overridable Property Usuario As String
            Public Overridable Property Terminal As String
        End Class

        Public Partial Class AMDCPagoDeudaRS
            Inherits CoreRes
            Public Overridable Property PagoRespuesta As ResultadoPago
            Public Overridable Property TranId As String
            Public Overridable Property Code As String
            Public Overridable Property InfoMsg As String
        End Class
    End Namespace
End Namespace

VB.NET AMDCPagoDeudaRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /pago/PagoArticulo HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"SolicitudPago":{"IdTransaccionBanco":"String","FechaTransaccionBanco":0,"HoraMinSeg":0,"NumeroDocumento":"String","IdTipoImpuesto":0,"PagoParcial":0,"Anio":0,"PagoArticulos":[{"IdObligacion":0,"Monto":0}]},"Banco":"String","Sucursal":"String","Usuario":"String","Terminal":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PagoRespuesta":{"IdPago":0,"CheckSum":"String","Resultado":"String","Mensaje":"String","FechaTransaccion":"String"},"TranId":"String","Code":"String","InfoMsg":"String"}