
<!-- Endpoints para Postman: -->

<!-- GET /motivoexpediente: Obtiene todos los Motivo Expediente. -->
<!-- GET /motivoexpediente?id={id}: Obtiene un Motivo Expediente. -->
<!-- GET /motivoexpediente?idconceto={id}: Obtiene un Motivo Expediente con el ID Del Concepto -->
<!-- POST /motivoexpediente: Crea un nuevo Motivo Expediente. -->
<!-- PUT /motivoexpediente: Actualiza un Motivo Expediente existente. -->
<!-- DELETE /motivoexpediente?id={id}: Elimina un Motivo Expediente existente. -->
 

//////////////////////////////////////////////////
//// TABLA Motivo Expediente
//////////////////////////////////////////////////

/// GET Listar Todo
$result = Consumir_APIDROPOS_GET("http://192.168.14.244:9999/dropos/api20/nomina/motivoexpediente/index.php");

/// GET Listar un Registro por ID
$result = Consumir_APIDROPOS_GET("http://192.168.14.244:9999/dropos/api20/nomina/motivoexpediente/index.php?id=1");

/// GET Listar un Registro por ID Concepto
$result = Consumir_APIDROPOS_GET("http://192.168.14.244:9999/dropos/api20/nomina/motivoexpediente/index.php?idconceto=1");

/// POST Agregar un Registro
$json = '[{"nombrecargo":"SISTEMAS"},{"nombrecargo":"SISTEMAS3"}]';
//$result = Consumir_APIDROPOS_POST("http://192.168.14.244:9999/dropos/api20/nomina/motivoexpediente/index.php",$json);

/// PUT Editar un Registro
$json = '{"idexpediente" : "1" , "archivo" : ""}';
//$result = Consumir_APIDROPOS_PUT("http://192.168.14.244:9999/dropos/api20/nomina/motivoexpediente/index.php?id=10",$json);

/// DELETE Eliminar un Registro
//$result = Consumir_APIDROPOS_DELETE("http://192.168.14.244:9999/dropos/api20/nomina/motivoexpediente/index.php?id=7");

  