FrameAppWS

<back to all web services

AMDCGetObligacionesXArticuloRQ

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

Namespace Global

    Namespace AMDC.Modelo.Contexto.Consulta

        Public Partial Class Detalle_Obligacion
            Public Overridable Property Orden As Integer
            <DataMember(Name:="IdObligacion")>
            Public Overridable Property IdObligacion As String

            <DataMember(Name:="NombreObligacion")>
            Public Overridable Property Obligacion As String

            <DataMember(Name:="TipoImpuesto")>
            Public Overridable Property TipoObligacion As String

            Public Overridable Property Impuesto As Decimal
            Public Overridable Property TrenAseo As Decimal
            Public Overridable Property Bomberos As Decimal
            Public Overridable Property Otros As Decimal
            Public Overridable Property Intereses As Decimal
            Public Overridable Property Descuento As Decimal
            Public Overridable Property FechaExpiracion As String
            Public Overridable Property TotalFila As Decimal
            Public Overridable Property Mensaje As String
        End Class

        Public Partial Class Deuda_Obligacion
            <DataMember(Name:="NombreContribuyente")>
            Public Overridable Property Actor As String

            <DataMember(Name:="TotalDeuda")>
            Public Overridable Property Total As Double

            Public Overridable Property Anio As Integer
            Public Overridable Property DetalleObligacion As ICollection(Of Detalle_Obligacion)
        End Class
    End Namespace

    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
    End Namespace

    Namespace AMDC.Modelo.Tipo.Consulta

        Public Partial Class AMDCGetObligacionesXArticuloRQ
            Inherits DatosBanco
            <DataMember(Name:="IdDocumento")>
            Public Overridable Property NumeroDocumento As String

            Public Overridable Property Anio As Integer
            <DataMember(Name:="IdTipoImpuesto")>
            Public Overridable Property IdTipoObligacion As Integer

            Public Overridable Property PagoParcial As Integer
            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 AMDCGetObligacionesXArticuloRS
            Inherits CoreRes
            Public Overridable Property DeudaObligacion As Deuda_Obligacion
            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 AMDCGetObligacionesXArticuloRQ 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 /consulta/ConsultaDeudaXArticulo HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"IdDocumento":"String","Anio":0,"IdTipoImpuesto":0,"PagoParcial":0,"Banco":"String","Sucursal":"String","Usuario":"String","Terminal":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"DeudaObligacion":{"NombreContribuyente":"String","TotalDeuda":0,"Anio":0,"DetalleObligacion":null},"TranId":"String","Code":"String","InfoMsg":"String"}