I'm running into two problems:
Code: Select all
get https://json.schedulesdirect.org/20141201/lineups/ZZZ-28.2E-DEFAULT
The more serious problem is that I get an error 7030 SCHEDULE_NOT_IN_LINEUP, even though the schedule should be in the lineup... I think
1) Get user lineups
Code: Select all
https://json.schedulesdirect.org/20141201/lineups
2) Get stations for lineup
Code: Select all
get https://json.schedulesdirect.org/20141201/lineups/ZZZ-28.2E-DEFAULT
Code: Select all
{
"stationID": "30644",
"name": "BBC One (London)",
"callsign": "BBC1LDN",
...
}
Code: Select all
post https://json.schedulesdirect.org/20141201/schedules
data: [{'stationID': '30644'}]
in line #8499
Code: Select all
[
{
"stationID": "30644",
"serverID": "20141201.web.X",
"code": 7030,
"response": "SCHEDULE_NOT_IN_LINEUP",
"programs": [],
"metadata": {
"code": 7030,
"message": "You have requested a schedule which is not in any of your configured lineups.",
"modified": "1970-01-01T00:00:00Z",
"md5": "CAFEDEADBEEFCAFEDEADBE",
"startDate": "2019-01-02"
}
},
What am I doing wrong?