Search code examples
c#podio

Podio API - C# - Get all Items data for an App or space


We have an app called "Deliverables" in each of the workspaces (there are about 20+ workspaces). Each of these Deliverables have a number of Items under them. What is the best API to use to retrieve,

  1. All the deliverables from all the workspaces
  2. All the items under all deliverables, from all the workspaces

Thanks


Solution

    1. Get all organisations
      https://developers.podio.com/doc/organizations/get-organizations-22344 This will give you all ORG_IDs, associated to the user. Select the ORG_IDs for which ORGs you want to deal with, or use all of them in loop.

    2. Get all workspaces
      https://developers.podio.com/doc/spaces/get-list-of-organization-workspaces-238875316 will return the list of workspaces for particular ORG_ID

    3. Loop through workspaces to get apps
      https://developers.podio.com/doc/applications/get-app-by-org-label-space-label-and-app-label-91708386

    4. Get items from apps
      https://developers.podio.com/doc/items/filter-items-4496747 will finally give you items in apps (again needs to be in the loop)

    There is also alternative way you may try:
    * Get all apps user has access to
    https://developers.podio.com/doc/applications/get-all-apps-5902728
    * Loop over apps and get items
    https://developers.podio.com/doc/items/filter-items-4496747