All Verbs | /consulta/ConsultaDeudaXArticulo |
---|
"use strict";
export class DatosBanco {
/** @param {{Banco?:string,Sucursal?:string,Usuario?:string,Terminal?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
Banco;
/** @type {?string} */
Sucursal;
/** @type {?string} */
Usuario;
/** @type {?string} */
Terminal;
}
export class CoreRes {
/** @param {{TranId?:string,Code?:string,InfoMsg?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
TranId;
/** @type {?string} */
Code;
/** @type {?string} */
InfoMsg;
}
export class Detalle_Obligacion {
/** @param {{Orden?:number,IdObligacion?:string,NombreObligacion?:string,TipoImpuesto?:string,Impuesto?:number,TrenAseo?:number,Bomberos?:number,Otros?:number,Intereses?:number,Descuento?:number,FechaExpiracion?:string,TotalFila?:number,Mensaje?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Orden;
/** @type {?string} */
IdObligacion;
/** @type {?string} */
NombreObligacion;
/** @type {?string} */
TipoImpuesto;
/** @type {number} */
Impuesto;
/** @type {number} */
TrenAseo;
/** @type {number} */
Bomberos;
/** @type {number} */
Otros;
/** @type {number} */
Intereses;
/** @type {number} */
Descuento;
/** @type {?string} */
FechaExpiracion;
/** @type {number} */
TotalFila;
/** @type {?string} */
Mensaje;
}
export class Deuda_Obligacion {
/** @param {{NombreContribuyente?:string,TotalDeuda?:number,Anio?:number,DetalleObligacion?:Detalle_Obligacion[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
NombreContribuyente;
/** @type {number} */
TotalDeuda;
/** @type {number} */
Anio;
/** @type {?Detalle_Obligacion[]} */
DetalleObligacion;
}
export class AMDCGetObligacionesXArticuloRS extends CoreRes {
/** @param {{DeudaObligacion?:Deuda_Obligacion,TranId?:string,Code?:string,InfoMsg?:string,TranId?:string,Code?:string,InfoMsg?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {?Deuda_Obligacion} */
DeudaObligacion;
/** @type {?string} */
TranId;
/** @type {?string} */
Code;
/** @type {?string} */
InfoMsg;
}
export class AMDCGetObligacionesXArticuloRQ extends DatosBanco {
/** @param {{IdDocumento?:string,Anio?:number,IdTipoImpuesto?:number,PagoParcial?:number,Banco?:string,Sucursal?:string,Usuario?:string,Terminal?:string,Banco?:string,Sucursal?:string,Usuario?:string,Terminal?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {?string} */
IdDocumento;
/** @type {number} */
Anio;
/** @type {number} */
IdTipoImpuesto;
/** @type {number} */
PagoParcial;
/** @type {?string} */
Banco;
/** @type {?string} */
Sucursal;
/** @type {?string} */
Usuario;
/** @type {?string} */
Terminal;
}
JavaScript AMDCGetObligacionesXArticuloRQ DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /consulta/ConsultaDeudaXArticulo HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"IdDocumento":"String","Anio":0,"IdTipoImpuesto":0,"PagoParcial":0,"Banco":"String","Sucursal":"String","Usuario":"String","Terminal":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"DeudaObligacion":{"NombreContribuyente":"String","TotalDeuda":0,"Anio":0,"DetalleObligacion":null},"TranId":"String","Code":"String","InfoMsg":"String"}