0

the operation GetClassSchedulesRequest , returns a list of schedules , but it does not return class status (isCancelled,isAvaialble,Substitute).

if i add "ClassSchedules.Classes" to the Fields Paramater , it returns all the classes inside that response along with schedule data .

1 Answers1

0

I'm not sure exactly what your question is, but if you're looking for class statuses, then you need to use the GetClasses API call in the ClassService in order to get them.

Paul Fioravanti
  • 16,423
  • 7
  • 71
  • 122
  • Hello there , unfortunately no . i wanted to check availability , substitute class teacher of particular class in GetClassSchedules() api response – coolfuturefbiagent May 12 '16 at 10:41
  • @coolfuturefbiagent I know that you can determine availability of the class via the `GetClasses` API (you'll be able to call methods like `isAvailable`, `isCanceled` on the class), and I believe you also have a `substitute` method that can tell you if a substitute teacher has been assigned for a class (returns a boolean). – Paul Fioravanti May 13 '16 at 12:25
  • is i can get that Details with GetClasses() , but the thing is , it will be too slow if i wanted to check status,substitute teacher on every class id returned by GetClassSchedules() – coolfuturefbiagent May 13 '16 at 14:51
  • @coolfuturefbiagent I'm not sure you'll be able to get the kind of efficiency you want out of the API (I've found it difficult to extract information efficiently in the past), but if you do end up solving your problem, please add an answer. – Paul Fioravanti May 22 '16 at 10:06
  • yes , is there anyway to find substitute class teacher name ? – coolfuturefbiagent Jun 01 '16 at 15:38