Using -1 As A Parameter Value ?

Hello everyone, I'm hoping to ask for your help using the Academics Assignments by Section endpoint. How can we input a status of -1 as a parameter ?

A status value of 0 or above works for me, as do lists like status=1,2. But -1 nothing has worked so far. I've tried the following:

  • status=-1
  • status="-1"
  • status=%2D1
  • status="%2D1"

If you have the time, is there anything I can do ? I would so appreciate your insight. Thank you so much !

Comments

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Champion AI
    Looks like it's a bug when parsing that parameter. I've added it to the backlog for the team, but you are welcome to contact Support to create a case. That will ensure you get notified when it is addressed.

  • Hi @Stephen Boyle, understood ! Thank you so much, I so appreciate it.

  • @Champion AI
    until it is fixed, if there aren't too many records, you can just pull all the records and filter in your programming

  • Hi @Alex Wong, understood. A quick question for you if you have the time, is there a maximum number of assignments that can be pulled from this endpoint on one call, or will everything just come ? Please kindly just let me know if you can, thank you.

  • @Champion AI
    limit is not documented. I wouldn't know. (I also do not use Education Management), RE limit is 5K for most and 10K for some, but it is well documented.

    regardless of that, you just need to use the next_link to get until you finish getting all.

  • Hi @Alex Wong, understood ! Thank you very much, I really appreciate it.

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Alex Wong
    @Champion AI

    There is no limit or pagination imposed on that endpoint. Because the response is limited by section ID already, the results will bring back all assignments for that section without pagination.

  • Understood and thank you so much @Stephen Boyle !

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Champion AI
    The parsing error with ‘-1’ has been corrected.

Categories