All Verbs | /Utilidades/Formas/GuardarDatos |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IDForma | query | int | No | |
Operacion | query | OperacionDatos | No | |
DatosMaestro | query | Dictionary<string, Object> | No | |
DatosDetalle | query | List<GuardarDatosDetalle> | No | |
FormasDep | query | List<GuardarDatosFormaRQ> | No | |
TokenCargaArchivos | query | string | No |
INSERT | |
UPDATE | |
DELETE |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IDDetalle | form | int | No | |
DatosInsert | form | List<Dictionary<String,Object>> | No | |
DatosUpdate | form | List<Dictionary<String,Object>> | No | |
DatosDelete | form | List<Dictionary<String,Object>> | No | |
NombreArchivo | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Success | form | bool | No | |
Error | form | string | No | |
DatosLlaveMaestro | form | Dictionary<string, Object> | No | |
NovedadesDetalles | form | List<GuardarDatosFormaDetalleRS> | No | |
RespuestaProcAlmacenado | form | ExecuteDBFunctionRS | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IDDetalle | form | decimal | No | |
Novedades | form | List<NovedadesCarga> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Fila | form | int | No | |
Columna | form | int | No | |
TipoError | form | string | No | |
Novedad | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Respuesta | form | Object | No | |
IDEjecucion | form | decimal | No | |
URLArchivo | form | string | No | |
TipoRespuesta | form | string | No | |
Background | form | bool | No | |
TiempoRespuestaBD | form | long | No | |
TiempoRespuestaTotal | form | long | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Codigo | body | int | Yes | Id del código de respuesta 1: Correcto, -1: Error |
Mensaje | body | string | Yes | Mensaje que se envía al ejecutar el servicio |
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/Formas/GuardarDatos HTTP/1.1
Host: ws.jimsnwa.com
Accept: text/jsv
Content-Type: text/jsv
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
}
],
TokenCargaArchivos: String
}
],
TokenCargaArchivos: String
}
],
TokenCargaArchivos: String
}
],
TokenCargaArchivos: String
}
HTTP/1.1 200 OK Content-Type: text/jsv 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 } }