All Verbs | /Utilidades/Archivos/CargaPlano |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Administrador.Modelo.General
Imports Administrador.Modelo
Namespace Global
Namespace Administrador.Modelo
Public Partial Class NovedadesCarga
Public Overridable Property Fila As Integer
Public Overridable Property Columna As Integer
Public Overridable Property TipoError As String
Public Overridable Property Novedad As String
End Class
End Namespace
Namespace Administrador.Modelo.General
Public Partial Class CargaPlanoRQ
Public Overridable Property IDForma As Integer
End Class
Public Partial Class CargaPlanoRS
Public Sub New()
Novedades = New List(Of NovedadesCarga)
End Sub
Public Overridable Property Success As Boolean
Public Overridable Property [Error] As String
Public Overridable Property TokenCarga As String
Public Overridable Property IDCarga As Integer
Public Overridable Property Novedades As List(Of NovedadesCarga)
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Archivos/CargaPlano HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IDForma: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Success: False, Error: String, TokenCarga: String, IDCarga: 0, Novedades: [ { Fila: 0, Columna: 0, TipoError: String, Novedad: String } ] }