All Verbs | /utilidades/ComText |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Administrador.Modelo.Tipos
Namespace Global
Namespace Administrador.Modelo.Tipos
Public Partial Class CombinacionTextosRQ
Public Sub New()
DatosForma = New Dictionary(Of String, Object)
DatosAdicionales = New Dictionary(Of String, Object)
End Sub
Public Overridable Property Id As Integer
Public Overridable Property DatosForma As Dictionary(Of String, Object)
Public Overridable Property DatosAdicionales As Dictionary(Of String, Object)
End Class
Public Partial Class CombinacionTextosRS
Public Overridable Property Success As Boolean
Public Overridable Property Res As String
Public Overridable Property [Error] As String
Public Overridable Property Texto As String
Public Overridable Property Formato As String
End Class
End Namespace
End Namespace
VB.NET CombinacionTextosRQ DTOs
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/ComText HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
DatosForma:
{
String: {}
},
DatosAdicionales:
{
String: {}
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Success: False, Res: String, Error: String, Texto: String, Formato: String }