All Verbs | /Utilidades/ListaEjecucionEmpresa |
---|
"use strict";
export class GeneralRS {
/** @param {{Codigo?:number,Mensaje?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {number}
* @description Id del código de respuesta 1: Correcto, -1: Error */
Codigo;
/**
* @type {string}
* @description Mensaje que se envía al ejecutar el servicio */
Mensaje;
}
export class EstadoEjecucion {
/** @param {{CodigoEjecucion?:number,AliasFuncion?:string,Descripcion?:string,Usuario?:string,FechaHoraIni?:string,FechaHoraFin?:string,FechaHoraAct?:string,TotalRegistros?:number,CantProcesados?:number,Response?:string,Estado?:string,UsuarioCancela?:string,MotivoCancela?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
CodigoEjecucion;
/** @type {string} */
AliasFuncion;
/** @type {string} */
Descripcion;
/** @type {string} */
Usuario;
/** @type {string} */
FechaHoraIni;
/** @type {?string} */
FechaHoraFin;
/** @type {?string} */
FechaHoraAct;
/** @type {?number} */
TotalRegistros;
/** @type {?number} */
CantProcesados;
/** @type {string} */
Response;
/** @type {string} */
Estado;
/** @type {string} */
UsuarioCancela;
/** @type {string} */
MotivoCancela;
}
export class EmpresaEjecucion {
/** @param {{IdEmpresa?:number,Nombre?:string,ListaProcesos?:EstadoEjecucion[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
IdEmpresa;
/** @type {string} */
Nombre;
/** @type {EstadoEjecucion[]} */
ListaProcesos;
}
export class ListaProcesosEmpresaRS extends GeneralRS {
/** @param {{EmpresasEjecucion?:EmpresaEjecucion[],Codigo?:number,Mensaje?:string,Codigo?:number,Mensaje?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {EmpresaEjecucion[]} */
EmpresasEjecucion;
/**
* @type {number}
* @description Id del código de respuesta 1: Correcto, -1: Error */
Codigo;
/**
* @type {string}
* @description Mensaje que se envía al ejecutar el servicio */
Mensaje;
}
export class ListaProcesosEmpresaRQ {
/** @param {{CodigoEmpresa?:number,Estado?:string,FechaInicio?:string,FechaFin?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
CodigoEmpresa;
/** @type {string} */
Estado;
/** @type {?string} */
FechaInicio;
/** @type {?string} */
FechaFin;
}
JavaScript ListaProcesosEmpresaRQ 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/ListaEjecucionEmpresa HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CodigoEmpresa: 0,
Estado: String,
FechaInicio: 0001-01-01,
FechaFin: 0001-01-01
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { EmpresasEjecucion: [ { IdEmpresa: 0, Nombre: String, ListaProcesos: [ { CodigoEjecucion: 0, AliasFuncion: String, Descripcion: String, Usuario: String, FechaHoraFin: 0001-01-01, FechaHoraAct: 0001-01-01, TotalRegistros: 0, CantProcesados: 0, Response: String, Estado: String, UsuarioCancela: String, MotivoCancela: String } ] } ], Codigo: 0, Mensaje: String }