how can i configure dynamic dates in rest api get method

samadam
Kilo Sage

I am trying to configure a daily delta pull from an end point using get method. Is there a way to specify dates dynamically? I need to dynamically populate fromDate & toDate. 

 

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@samad You can use GlideDateTime API to add time/days/months to your date and use it inside your API call for more information please refer to. https://developer.servicenow.com/dev.do#!/reference/api/washingtondc/server_legacy/c_GlideDateTimeAP...