Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resources page #64

Open
vincens2005 opened this issue Apr 6, 2022 · 0 comments
Open

resources page #64

vincens2005 opened this issue Apr 6, 2022 · 0 comments

Comments

@vincens2005
Copy link
Owner

to get a list of resources, fetch this:
/api/datadirect/ResourceBoardUserLevelsGet/?personaId=2
it returns a value that looks something like this:

[
  {
    "DdId": 779,
    "DdDescription": "Upper School"
  }
]

/api/resourceboardcontainer/usercontainersget/?personaId=2&dateMask=0&levels= + DdId
This returns a list of the resources.
To get an individual resource, first fetch
/api/resourceboardcontainer/containerget/{{ResourceBoardContainerId}}?containerId={{ResourceBoardContainerId}} to get the taskId
then, fetch /app/page/pageget/0?format=json&menuId=undefined&menuItemId=0&pageTaskId={{taskId}}pendingInd=false
there you can find pageRegions, where there are multiple columns with Ids. Each of those can be used as a categoryId to fetch more data.

God, what a pain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant