All Verbs | /form/savefilterform |
---|
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 SaveFilterFormsRQ
Public Overridable Property Codigo As Integer
Public Overridable Property Tipo As String
Public Overridable Property Filtro As String
Public Overridable Property Nombre As String
Public Overridable Property Operacion As String
Public Overridable Property Id As Integer
Public Overridable Property FormaManual As String
End Class
Public Partial Class SaveFilterFormsRS
Public Sub New()
Data = New List(Of Dictionary(Of String,Object))
End Sub
Public Overridable Property Data As List(Of Dictionary(Of String,Object))
Public Overridable Property ErrorMessage As String
Public Overridable Property Status As String
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 /form/savefilterform HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Codigo: 0,
Tipo: String,
Filtro: String,
Nombre: String,
Operacion: String,
Id: 0,
FormaManual: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Data: [ { String: {} } ], ErrorMessage: String, Status: String }