Checking Supply Part Limits & Usage

Modified on Thu, 14 Sep, 2023 at 3:18 PM

Portal Access


Part limits and usage can be checked online at https://portal.nexar.com/ in the Applications or Dashboard section.


API Access


Limits and usage can also be accessed through the API. The example query below will show the limits and usage for given apps in an organization.


Note: The application will need to have a Design scope to query this operation.


Query

query Partusageandlimit {
  admOrganizations {
    applications {
      name
      description
      id
      supplyCounts {
        partCounter
        partLimit
      }
    }
  }
}


{
  "data": {
    "admOrganizations": [
      {
        "applications": [
          {
            "name": "Hello world",
            "description": "Seeing the art of the possible",
            "id": "26689e6e-24da-4c6f-bc49-1234cf65273d",
            "supplyCounts": {
              "partCounter": 32,
              "partLimit": 1000
            }
          },
          {
            "name": "Design scope enabled",
            "description": "",
            "id": "45673cf1-c4b8-45ae-a75e-123c988c2ae1",
            "supplyCounts": {
              "partCounter": 0,
              "partLimit": 1000
            }
          },
          {
            "name": "Example App",
            "description": "Design only",
            "id": "90f9c123-9276-678e-b156-71485dtyuba3",
            "supplyCounts": null
          }
        ]
      }
    ]
  },
  "extensions": {
    "requestId": "29ad7253-1234-4921-b2fc-b1234d0a0a5a"
  }
}


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article