FrameAppWS

<back to all web services

DefinicionQueryEspacialRQ

Requires Authentication
The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<DefinicionQueryEspacialRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <Codigo>0</Codigo>
</DefinicionQueryEspacialRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DefinicionQueryEspacialRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <CapasBase xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Contexto">
    <d2p1:CapaBase>
      <d2p1:CapasWms>String</d2p1:CapasWms>
      <d2p1:Codigo>0</d2p1:Codigo>
      <d2p1:Descripcion>String</d2p1:Descripcion>
      <d2p1:IdConjuntoBase>0</d2p1:IdConjuntoBase>
      <d2p1:InfoAdicional>String</d2p1:InfoAdicional>
      <d2p1:Nombre>String</d2p1:Nombre>
      <d2p1:Url>String</d2p1:Url>
    </d2p1:CapaBase>
  </CapasBase>
  <CapasEspaciales xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Contexto">
    <d2p1:CapaEspacial>
      <d2p1:BinarioIcono>AA==</d2p1:BinarioIcono>
      <d2p1:BlobIcono>0</d2p1:BlobIcono>
      <d2p1:Codigo>0</d2p1:Codigo>
      <d2p1:Descripcion>String</d2p1:Descripcion>
      <d2p1:IdConsulta>0</d2p1:IdConsulta>
      <d2p1:IdVista>0</d2p1:IdVista>
      <d2p1:InfoAdicional>String</d2p1:InfoAdicional>
      <d2p1:Nombre>String</d2p1:Nombre>
      <d2p1:Tipo>String</d2p1:Tipo>
    </d2p1:CapaEspacial>
  </CapasEspaciales>
  <CentroMapa xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:float>0</d2p1:float>
  </CentroMapa>
  <Consulta xmlns:d2p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Contexto">
    <d2p1:Codigo>0</d2p1:Codigo>
    <d2p1:Descripcion>String</d2p1:Descripcion>
    <d2p1:IdConjuntoBase>0</d2p1:IdConjuntoBase>
    <d2p1:IdEmpresa>0</d2p1:IdEmpresa>
    <d2p1:IdSistema>0</d2p1:IdSistema>
    <d2p1:IdVista>0</d2p1:IdVista>
    <d2p1:InfoAdicional>String</d2p1:InfoAdicional>
    <d2p1:Nombre>String</d2p1:Nombre>
  </Consulta>
  <Zoom>0</Zoom>
</DefinicionQueryEspacialRS>