In the QuickBooks Online API, what is the maximum length of IdType? - quickbooks-online

In developing an application to sync with QuickBooks Online, we need to store the Id of some objects -- Customers, Employees, and so forth. The Id is of the type IdType, defined in the documentation: https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/020_key_concepts/0700_other_topics#/IdType
The Id appears to be a simple integer (as a string in XML). However, the documentation does not state this explicitly, nor the maximum possible length of IdType. To store the Id in a database, we need to know the maximum possible length. Does anyone know?

I just received a response from Intuit:
In practice it is an integer. Some products use up to 36 chars. So If
you go 50 chars you will be all set.
Hope this info helps others!

Related

I'm using the Bitrix24 api generator to export my data but can't seem to filter the response by the array position[]

Bitrix only brings up to 50 positions in the array list of all my data, this happens because of a security matter and, for what I've seen, can't be changed. So, to export the data from Bitrix to my dataware house (currently going through tranformation inside Pentaho) i need to get something near 50.000 arrays (keep in mind I can only get 50 at a time!!!! + they come at a non-organized id order) I need help to filter the ids in a order so my requests become easier. These are my parameters:
Print
If anyone know what kind of selection or filter I could use I'd really appreciate it!

Blockfrost.io get transaction data with addresses (from/to)

I am looking at using Blockfrost.io API in order to read cardano transactions, I am looking to get the bare minimum which is:
Address from
Address to
Assets transfered (type + amount)
Fees
So far I can not find how to retrieve a transaction addresses from and to while using:
https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/~1txs~1%7Bhash%7D/get
Am I missing something?
So to answer my question:
Cardano does use something called "utxos" for the way it handles transactions and I would invite everyone to read about these.
Regarding Blockfrost.io, this means you need to have a look at the transactions api:
https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/%7E1txs%7E1%7Bhash%7D/get
and also combine it with the utxos api:
https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/~1txs~1{hash}~1utxos/get

unique x500 object id creation

I am trying to create a unique x500 object id for active directory to extend the schema.
I have been allocated a PEN as per here.
This number is only 5 digits longs. All the examples I have seen the OID is a lot longer. IE 1.2.840.113556.1.8000.999999
Any links or directions on this would be great.
For anyone else that was slightly lost with this, this is what I have found out.
I was missing the 1.3.6.1.4.1 at the beginning which is global as per the original link in the question.
My OID ended up being 1.3.6.1.4.1.52051.10000.1.1.1

Google app engine: Retrieve values from datastore after a particular key value?

I'm newbie to GAP (Python). I'm using NDB to retrieve all the values from datastore which comes after a particular key value.
Thanks in advance if anybody can help me out with this one?
I assume you are setting the key or are using allocate id's otherwise such a requirement would not have a lot of meaning.
You can use the key as an order argument.
e.g. I have a Product model
x = models.Product.query().order(models.Product.key)
Given this I can then get all keys greater than a specific key with
x = models.Product.query(models.Product.key > ndb.Key('Product','001132')).order(models.Product.key)
The order is a bit irrelevent but heh ;-)

User ID encoding on the URL?

I would like to get some information from the user profiles of a certain domain.
www.domain.com/profiles/[userID]
The main problem is that the user ID is like:
4fc34f1ad3d85a000300b5a4
4fc34f1ad3d85a000300b5a4
4f4bdd96848740000300026a
4f09884f9cc1590001019c98
4f1bcd5f33aa850001011811
4faa2801c619ad0003011c7e
4e4f506ac9d69600010010ca
so if I wnat the user profile of a certain user I have to put
www.domain.com/profiles/4fc34f1ad3d85a000300b5a4
www.domain.com/profiles/4f4bdd96848740000300026a
www.domain.com/profiles/4f09884f9cc1590001019c98
www.domain.com/profiles/4f1bcd5f33aa850001011811
www.domain.com/profiles/4faa2801c619ad0003011c7e
www.domain.com/profiles/4e4f506ac9d69600010010ca
What kind of ID is that? How I know the subjacent canonical order?
Other times was a lot easier because the user ID only was integers.
www.domain.com/profiles/1
www.domain.com/profiles/2
www.domain.com/profiles/3
www.domain.com/profiles/4
www.domain.com/profiles/5
I would like to know if this is some kind of encoding or what.
What kind of ID on the URL is that?
Thank you in advance.
Looks like an MD5 hash. So either it's a random hash, or it might a hash of the previously used ID, or something completely different. Either way apart from brute force guessing, there's no simple way to decode them.
http://en.wikipedia.org/wiki/MD5
These ID's use hexadecimal - notice there are no letters above 'f'.
The similarities between ID's are interesting - could you provide the ID's of some consecutively created pages, to check if there is a pattern to how the ID changes.
Or the website may just generate a random number between certain limits and convert to hex.

Resources