FrameAppWS

<back to all web services

AMDCGetTipoObligacionesRQ

Requires Authentication
The following routes are available for this service:
All Verbs/consulta/ListaTipoObligaciones
namespace AMDC.Modelo.Contexto.Consulta

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 Tipo_Obligacion() = 
        [<DataMember(Name="IdTipoImpuesto")>]
        member val IdObligacion:Int32 = new Int32() with get,set

        [<DataMember(Name="TipoImpuesto")>]
        member val Obligacion:String = null with get,set

    [<AllowNullLiteral>]
    type AMDCGetTipoObligacionesRS() = 
        inherit CoreRes()
        member val ListaObligaciones:ResizeArray<Tipo_Obligacion> = new ResizeArray<Tipo_Obligacion>() 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 AMDCGetTipoObligacionesRQ() = 
        inherit 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

F# AMDCGetTipoObligacionesRQ 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 /consulta/ListaTipoObligaciones HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AMDCGetTipoObligacionesRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Tipo.Consulta">
  <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>
</AMDCGetTipoObligacionesRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AMDCGetTipoObligacionesRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Tipo.Consulta">
  <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>
  <ListaObligaciones xmlns:d2p1="http://schemas.datacontract.org/2004/07/AMDC.Modelo.Contexto.Consulta">
    <d2p1:Tipo_Obligacion>
      <d2p1:IdObligacion>0</d2p1:IdObligacion>
      <d2p1:Obligacion>String</d2p1:Obligacion>
    </d2p1:Tipo_Obligacion>
  </ListaObligaciones>
</AMDCGetTipoObligacionesRS>