| All Verbs | /Utilidades/ConsultasEspaciales/Definicion |
|---|
"use strict";
export class QueryEspacial {
/** @param {{Codigo?:number,IdSistema?:number,IdEmpresa?:number,Nombre?:string,Descripcion?:string,IdVista?:number,IdConjuntoBase?:number,InfoAdicional?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Codigo;
/** @type {number} */
IdSistema;
/** @type {number} */
IdEmpresa;
/** @type {string} */
Nombre;
/** @type {string} */
Descripcion;
/** @type {?number} */
IdVista;
/** @type {?number} */
IdConjuntoBase;
/** @type {string} */
InfoAdicional;
}
export class CapaEspacial {
/** @param {{Codigo?:number,IdConsulta?:number,Nombre?:string,Descripcion?:string,Tipo?:string,IdVista?:number,BlobIcono?:number,InfoAdicional?:string,BinarioIcono?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Codigo;
/** @type {number} */
IdConsulta;
/** @type {string} */
Nombre;
/** @type {string} */
Descripcion;
/** @type {string} */
Tipo;
/** @type {number} */
IdVista;
/** @type {?number} */
BlobIcono;
/** @type {string} */
InfoAdicional;
/** @type {string} */
BinarioIcono;
}
export class CapaBase {
/** @param {{Codigo?:number,IdConjuntoBase?:number,Nombre?:string,Descripcion?:string,Url?:string,CapasWms?:string,InfoAdicional?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Codigo;
/** @type {number} */
IdConjuntoBase;
/** @type {string} */
Nombre;
/** @type {string} */
Descripcion;
/** @type {string} */
Url;
/** @type {string} */
CapasWms;
/** @type {string} */
InfoAdicional;
}
export class DefinicionQueryEspacialRS {
/** @param {{Consulta?:QueryEspacial,CapasEspaciales?:CapaEspacial[],CapasBase?:CapaBase[],CentroMapa?:number[],Zoom?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {QueryEspacial} */
Consulta;
/** @type {CapaEspacial[]} */
CapasEspaciales;
/** @type {CapaBase[]} */
CapasBase;
/** @type {number[]} */
CentroMapa;
/** @type {?number} */
Zoom;
}
export class DefinicionQueryEspacialRQ {
/** @param {{Codigo?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Codigo;
}
JavaScript DefinicionQueryEspacialRQ 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/ConsultasEspaciales/Definicion HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Codigo: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Consulta:
{
Codigo: 0,
IdSistema: 0,
IdEmpresa: 0,
Nombre: String,
Descripcion: String,
IdVista: 0,
IdConjuntoBase: 0,
InfoAdicional: String
},
CapasEspaciales:
[
{
Codigo: 0,
IdConsulta: 0,
Nombre: String,
Descripcion: String,
Tipo: String,
IdVista: 0,
BlobIcono: 0,
InfoAdicional: String,
BinarioIcono: AA==
}
],
CapasBase:
[
{
Codigo: 0,
IdConjuntoBase: 0,
Nombre: String,
Descripcion: String,
Url: String,
CapasWms: String,
InfoAdicional: String
}
],
CentroMapa:
[
0
],
Zoom: 0
}