In order to allow ActivityInfo clients to work while disconnected from the server, most identifiers are generated by the client using a combination of a timestamp, a local counter, and random numbers.
This means when submitting a request to add a new database, folder, form, etc, you will need to generate the id of the new resource.
The Collision-resistant ids (CUID2) project has libraries in a number of languages for generating IDs that will be accepted by ActivityInfo.