schedules endpoint returning empty array for all channels

schedules endpoint returning empty array for all channels

Postby hanboning » Tue Sep 13, 2016 1:32 pm

Hi,

I recently activated my account with a 2-month subscription. All the endpoints except for "schedules" return data correctly. However, when I POST to "https://json.schedulesdirect.org/20141201/schedules", I always get back an empty array.

Some stationIDs I've tried include "10760,10600,10672,10641,10507,10479,10736,10653,10717,10269,10345,10619,10418,12500,10562,35545,10703,10457,14752,10381,10657,11069,10161,18982,94960,94931,15223,23504,43377,10467,10582,97525,33648,34240,14753,18510,10179,12444,11109,65945,11208,10987,16376,19002,10919,21760,31555,31556,19543,50001,12499,11007,18151,12510,10142,10145,10139,16374,16300,11187,21762,10150,17561,24569,19933,34215,24483,24533,50000,18350,26046,94941,93926,56032,94960,94032,14899,15952,10270,35371,16604,67676" from the "USA-CA04487-DEFAULT" lineup I've already added to my account. I've tried various dates as well.

I've also tried the example from the documentation (https://github.com/SchedulesDirect/JSON ... stationids) in Postman, and I've attached a screenshot (token omitted) of the request/response.

Any help is greatly appreciated, thanks!
Attachments
Screen Shot 2016-09-13 at 13.31.31.png
Screenshot from Postman doing the example request
Screen Shot 2016-09-13 at 13.31.31.png (225.76 KiB) Viewed 579 times
hanboning
 
Posts: 3
Joined: Tue Sep 13, 2016 12:30 pm

Re: schedules endpoint returning empty array for all channel

Postby rkulagow » Thu Sep 22, 2016 9:17 am

The dates that you requested are from 2015. What happens when you put in today's date?
rkulagow
SD Staff
 
Posts: 834
Joined: Tue Aug 14, 2007 3:15 pm

Re: schedules endpoint returning empty array for all channel

Postby hanboning » Thu Sep 22, 2016 11:19 am

Got it thanks! It works with today's date. I thought we could get historical data as well.
hanboning
 
Posts: 3
Joined: Tue Sep 13, 2016 12:30 pm


Return to Developer

Who is online

Users browsing this forum: No registered users and 1 guest