Click here to Skip to main content
15,918,049 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Translated:
Quote:
How can I add a filter to my rest api that filters me by a range of dates, that is, that brings records from February 24 to March 25?


var urlDatos = "/_api/Web/Lists/GetByTitle('captura_novedades')/Items?$select=ID,cedula/Title,cedula/ID,cedula/Cedula,Fecha_hora_inicio,Fecha_hora_fin,tipo_novedad,tipo_hora,Cant_num_horas, justificacion, estado,cedulaId&$expand=cedula&$top=9999&$filter=estado eq 'Pendiente' and cod_aprobador/Correo_Apr eq '" + _spPageContextInfo.userEmail + "'";

What I have tried:

filtro en datatable
pero no logro realizar el filtro

Translated:
Quote:
filter in datatable
but I can't perform the filter
Posted
Updated 18-Mar-22 19:03pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900