Getting Your Company ID
The company ID is part of the primary key for every object.
To get your company ID, run the API CDR_PUB_DEF_FACTORY_UTILS.GETCOMPANYID.
Save the value for repeated use or create a local variable for it.
Parent topic: Retrieving IDs