FrameAppWS

<back to all web services

GuardarDatosFormaRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Formas/GuardarDatos
GuardarDatosFormaRQ Parameters:
NameParameterData TypeRequiredDescription
IDFormaqueryintNo
OperacionqueryOperacionDatosNo
DatosMaestroqueryDictionary<string, Object>No
DatosDetallequeryList<GuardarDatosDetalle>No
FormasDepqueryList<GuardarDatosFormaRQ>No
TokenCargaArchivosquerystringNo
OperacionDatos Enum:
INSERT
UPDATE
DELETE
GuardarDatosDetalle Parameters:
NameParameterData TypeRequiredDescription
IDDetalleformintNo
DatosInsertformList<Dictionary<String,Object>>No
DatosUpdateformList<Dictionary<String,Object>>No
DatosDeleteformList<Dictionary<String,Object>>No
NombreArchivoformstringNo
GuardarDatosFormaRS Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
ErrorformstringNo
DatosLlaveMaestroformDictionary<string, Object>No
NovedadesDetallesformList<GuardarDatosFormaDetalleRS>No
RespuestaProcAlmacenadoformExecuteDBFunctionRSNo
GuardarDatosFormaDetalleRS Parameters:
NameParameterData TypeRequiredDescription
IDDetalleformdecimalNo
NovedadesformList<NovedadesCarga>No
NovedadesCarga Parameters:
NameParameterData TypeRequiredDescription
FilaformintNo
ColumnaformintNo
TipoErrorformstringNo
NovedadformstringNo
ExecuteDBFunctionRS Parameters:
NameParameterData TypeRequiredDescription
RespuestaformObjectNo
IDEjecucionformdecimalNo
URLArchivoformstringNo
TipoRespuestaformstringNo
BackgroundformboolNo
TiempoRespuestaBDformlongNo
TiempoRespuestaTotalformlongNo
CodigobodyintYesId del código de respuesta 1: Correcto, -1: Error
MensajebodystringYesMensaje que se envía al ejecutar el servicio
GeneralRS Parameters:
NameParameterData TypeRequiredDescription
CodigobodyintYesId del código de respuesta 1: Correcto, -1: Error
MensajebodystringYesMensaje que se envía al ejecutar el servicio

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Utilidades/Formas/GuardarDatos HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"IDForma":0,"Operacion":"INSERT","DatosMaestro":{"String":{}},"DatosDetalle":[{"IDDetalle":0,"DatosInsert":[{"String":{}}],"DatosUpdate":[{"String":{}}],"DatosDelete":[{"String":{}}],"NombreArchivo":"String"}],"FormasDep":[{"IDForma":0,"Operacion":"INSERT","DatosMaestro":{"String":{}},"DatosDetalle":[{"IDDetalle":0,"DatosInsert":[{"String":{}}],"DatosUpdate":[{"String":{}}],"DatosDelete":[{"String":{}}],"NombreArchivo":"String"}],"FormasDep":[{"IDForma":0,"Operacion":"INSERT","DatosMaestro":{"String":{}},"DatosDetalle":[{"IDDetalle":0,"DatosInsert":[{"String":{}}],"DatosUpdate":[{"String":{}}],"DatosDelete":[{"String":{}}],"NombreArchivo":"String"}],"FormasDep":[{"IDForma":0,"Operacion":"INSERT","DatosMaestro":{"String":{}},"DatosDetalle":[{"IDDetalle":0,"DatosInsert":[{"String":{}}],"DatosUpdate":[{"String":{}}],"DatosDelete":[{"String":{}}],"NombreArchivo":"String"}],"FormasDep":null,"TokenCargaArchivos":"String"}],"TokenCargaArchivos":"String"}],"TokenCargaArchivos":"String"}],"TokenCargaArchivos":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Success":false,"Error":"String","DatosLlaveMaestro":{"String":{}},"NovedadesDetalles":[{"IDDetalle":0,"Novedades":[{"Fila":0,"Columna":0,"TipoError":"String","Novedad":"String"}]}],"RespuestaProcAlmacenado":{"Respuesta":{},"IDEjecucion":0,"URLArchivo":"String","TipoRespuesta":"String","Background":false,"TiempoRespuestaBD":0,"TiempoRespuestaTotal":0,"Codigo":0,"Mensaje":"String"}}