Skip to content

You have requested a schedule which is not in any of your configured lineups. #65

@bbigras

Description

@bbigras

#1: get status

curl --header "token: <mytoken>" https://json.schedulesdirect.org/20141201/status

{
  "account": {
    "expires": "2016-01-27T18:09:30Z",
    "messages": [],
    "maxLineups": 4
  },
  "lineups": [
    {
      "lineup": "CAN-0004268-DEFAULT",
      "modified": "2015-07-11T18:49:20Z",
      "uri": "/20141201/lineups/CAN-0004268-DEFAULT"
    },
    {
      "lineup": "CAN-0005993-X",
      "modified": "2015-07-18T04:43:47Z",
      "uri": "/20141201/lineups/CAN-0005993-X"
    }
  ],
  "lastDataUpdate": "2015-07-27T17:19:14Z",
  "notifications": [],
  "systemStatus": [
    {
      "date": "2015-03-23T18:47:00Z",
      "status": "Online",
      "message": "Lineup responses updated. See http://forums.schedulesdirect.org/viewtopic.php?f=17&t=2645&p=8379 for details."
    }
  ],
  "serverID": "20141201.web.1",
  "code": 0
}

#2: get lineup

curl --header "token: <mytoken>" https://json.schedulesdirect.org/20141201/lineups/CAN-0005993-X

{"map":[{"stationID":"14786","channel":"010"}...

#3 : get md5

curl --header "token: <mytoken>" -X POST -d '[{"stationID": "14786", "date": ["2015-07-27"]}]' https://json.schedulesdirect.org/20141201/schedules/md5

{
  "14786": {
    "2015-07-27": {
      "code": 7030,
      "message": "You have requested a schedule which is not in any of your configured lineups.",
      "lastModified": "1970-01-01",
      "md5": "CAFEDEADBEEFCAFEDEADBE"
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions