The first attribute is the internal identifier of the object type. You can retrieve this through the definition tab of the object in the Designer module. Edit the Datastore for which you want to retrieve the flexfield value and go to the Version tab of this object. You can see the Internal ID (25 in the provided example for the Datastore AGG_SALES).