FrameAppWS

<back to all web services

AMDCReversarPagoRQ

Requires Authentication
The following routes are available for this service:
All Verbs/pago/ReversarPago
namespace AMDC.Modelo.Contexto.General

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type CoreRes() = 
        member val TranId:String = null with get,set
        member val Code:String = null with get,set
        member val InfoMsg:String = null with get,set

    [<AllowNullLiteral>]
    type ResultadoTransaccion() = 
        member val Resultado:String = null with get,set
        [<DataMember(Name="Mensaje")>]
        member val MensajeResultado:String = null with get,set

        member val FechaTransaccion:String = null with get,set

    [<AllowNullLiteral>]
    type AMDCReversarPagoRS() = 
        inherit CoreRes()
        member val PagoReversadoRespuesta:ResultadoTransaccion = null with get,set
        member val TranId:String = null with get,set
        member val Code:String = null with get,set
        member val InfoMsg:String = null with get,set

    [<AllowNullLiteral>]
    type DatosBanco() = 
        member val Banco:String = null with get,set
        member val Sucursal:String = null with get,set
        member val Usuario:String = null with get,set
        member val Terminal:String = null with get,set

    [<AllowNullLiteral>]
    type AMDCReversarPagoRQ() = 
        inherit DatosBanco()
        member val IdTransaccionBanco:String = null with get,set
        member val Banco:String = null with get,set
        member val Sucursal:String = null with get,set
        member val Usuario:String = null with get,set
        member val Terminal:String = null with get,set

F# AMDCReversarPagoRQ DTOs

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

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<AMDCReversarPagoRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Tipo.Pago">
  <Banco xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">String</Banco>
  <Sucursal xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">String</Sucursal>
  <Terminal xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">String</Terminal>
  <Usuario xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">String</Usuario>
  <IdTransaccionBanco>String</IdTransaccionBanco>
</AMDCReversarPagoRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AMDCReversarPagoRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Tipo.Pago">
  <Code xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">String</Code>
  <InfoMsg xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">String</InfoMsg>
  <TranId xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">String</TranId>
  <PagoReversadoRespuesta xmlns:d2p1="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.General">
    <d2p1:FechaTransaccion>String</d2p1:FechaTransaccion>
    <d2p1:MensajeResultado>String</d2p1:MensajeResultado>
    <d2p1:Resultado>String</d2p1:Resultado>
  </PagoReversadoRespuesta>
</AMDCReversarPagoRS>