All Verbs | /pago/PagoOtros |
---|
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 PagoOtrosRequest
Public Overridable Property IdTransaccionBanco As String
Public Overridable Property NumeroDocumento As String
Public Overridable Property IdTipoObligacion As Integer
Public Overridable Property FechaTransaccionBanco As Integer
Public Overridable Property HoraMinSeg As Integer
Public Overridable Property Monto As Double
Public Overridable Property Descripcion As String
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
End Namespace
Namespace AMDC.Modelo.Tipo.Pago
Public Partial Class AMDCPagoDeudaOtrosRQ
Inherits DatosBanco
Public Overridable Property PagoOtros As PagoOtrosRequest
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 AMDCPagoDeudaOtrosRS
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 AMDCPagoDeudaOtrosRQ DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /pago/PagoOtros HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"PagoOtros":{"IdTransaccionBanco":"String","NumeroDocumento":"String","IdTipoObligacion":0,"FechaTransaccionBanco":0,"HoraMinSeg":0,"Monto":0,"Descripcion":"String"},"Banco":"String","Sucursal":"String","Usuario":"String","Terminal":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"PagoRespuesta":{"IdPago":0,"CheckSum":"String","Resultado":"String","Mensaje":"String","FechaTransaccion":"String"},"TranId":"String","Code":"String","InfoMsg":"String"}