Error in /lineups response

Use this forum to discuss issues related to the SD-JSON service.

Error in /lineups response

Postby garyan2 » Tue Jun 13, 2017 7:33 am

I think I found an error in the API when responding to a /lineups request when there a multiple lineups in the clients account.

Adding lineup USA-DITV762-DEFAULT to my list, which is marked as deleted currently, causes the next lineup(s) to marked deleted as well. If I remove the USA-DITV762-DEFAULT lineup, then the remaining lineups are no longer marked.

{
"code": 0,
"serverID": "20141201.web.1",
"datetime": "2017-06-13T14:27:05Z",
"lineups": [{
"lineup": "USA-CA66511-X",
"name": "AT&T U-verse TV - Digital",
"transport": "Cable",
"location": "Los Angeles",
"uri": "\/20141201\/lineups\/USA-CA66511-X"
}, {
"lineup": "USA-DITV-DEFAULT",
"name": "DIRECTV - Satellite",
"transport": "Satellite",
"location": "USA",
"uri": "\/20141201\/lineups\/USA-DITV-DEFAULT"
}, {
"lineup": "USA-DITV762-DEFAULT",
"name": "DELETED LINEUP",
"transport": "Deleted",
"location": "USA",
"uri": "\/20141201\/lineups\/USA-DITV-DEFAULT",
"isDeleted": true
}, {
"lineup": "USA-OTA-85747",
"name": "Local Over the Air Broadcast",
"transport": "Antenna",
"location": "85747",
"uri": "\/20141201\/lineups\/USA-OTA-85747",
"isDeleted": true
}]
}

Versus when USA-DITV762-DEFAULT is removed :
{
"code": 0,
"serverID": "20141201.web.1",
"datetime": "2017-06-13T14:29:02Z",
"lineups": [{
"lineup": "USA-CA66511-X",
"name": "AT&T U-verse TV - Digital",
"transport": "Cable",
"location": "Los Angeles",
"uri": "\/20141201\/lineups\/USA-CA66511-X"
}, {
"lineup": "USA-DITV-DEFAULT",
"name": "DIRECTV - Satellite",
"transport": "Satellite",
"location": "USA",
"uri": "\/20141201\/lineups\/USA-DITV-DEFAULT"
}, {
"lineup": "USA-OTA-85747",
"name": "Local Over the Air Broadcast",
"transport": "Antenna",
"location": "85747",
"uri": "\/20141201\/lineups\/USA-OTA-85747"
}]
}
garyan2
 
Posts: 2
Joined: Sat Jan 28, 2017 10:54 pm

Return to SD-JSON service

Who is online

Users browsing this forum: No registered users and 3 guests

cron