orgId type

PhilipDAth
Kind of a big deal

orgId type

I'm stuffing a lot of data into a database.

 

Is the orgId (such as returned by /organizations) type guaranteed to be a 64 bit integer?

4 REPLIES 4
BrechtSchamp
Kind of a big deal

Re: orgId type

CptnCrnch
Kind of a big deal

Re: orgId type

Looking at the API itself, it has to be a string:

 

 def getOrganization(self, organizationId: str):
        """
        **Return an organization**
        https://api.meraki.com/api_docs#return-an-organization
        
        - organizationId (string)
DexterLaBora
Meraki Employee

Re: orgId type

Treat all Meraki IDs as strings, even if not stated. Treating them as anything else, i.e. number/int/float, etc is prone to corrupting the value. If the OAS spec or docs are incorrect or ambiguous, let us know. The next version, v1, is paying special attention to accurately defining these.

PhilipDAth
Kind of a big deal

Re: orgId type

What is the maximum length of an orgId?  I'm currently allowing for 16 characters.

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.