All Verbs | /pago/ReversarPago |
---|
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
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.Tipo.Pago
Public Partial Class AMDCReversarPagoRQ
Inherits DatosBanco
Public Overridable Property IdTransaccionBanco As String
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 AMDCReversarPagoRS
Inherits CoreRes
Public Overridable Property PagoReversadoRespuesta As ResultadoTransaccion
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 AMDCReversarPagoRQ 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/ReversarPago HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"IdTransaccionBanco":"String","Banco":"String","Sucursal":"String","Usuario":"String","Terminal":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"PagoReversadoRespuesta":{"Resultado":"String","Mensaje":"String","FechaTransaccion":"String"},"TranId":"String","Code":"String","InfoMsg":"String"}