All Verbs | /Utilidades/Consultas/Listados/EjecutarMultiempresa |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class EjecutaQueryMxEmpFileRQ
{
var IDVista:Int? = null
var Parametros:HashMap<String,Object> = HashMap<String,Object>()
var Lenguaje:Lenguajes? = null
var ListaEmpresas:ArrayList<BigDecimal>? = null
}
enum class Lenguajes
{
Es,
Pt,
En,
}
open class EjecutaQueryRS
{
var DatosConsulta:ArrayList<HashMap<String,Object>> = ArrayList<HashMap<String,Object>>()
var TotalRegistros:Int? = null
var TotalGrupos:Int? = null
var SummaryList:ArrayList<Object> = ArrayList<Object>()
}
Kotlin EjecutaQueryMxEmpFileRQ DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Consultas/Listados/EjecutarMultiempresa HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"IDVista":0,"Parametros":{"String":{}},"Lenguaje":"ES","ListaEmpresas":[0]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"DatosConsulta":[{"String":{}}],"TotalRegistros":0,"TotalGrupos":0,"SummaryList":[{}]}