How to get the attributeOptionCombo value?

Hallo everyone,

We are working on migrating data from one instance to another, where the instances have different configurations for the data elements. In the data extracted from one instance, we have to change the following element values to correspond to those of the instance to which we are importing data:- dataElement, categoryOptionCombo and attributeOptionCombo. The first two i.e. dataElement and categoryOptionCombo we can get through the API, but the attributeOptionCombo value can’t be got through the API. We have two questions.

  1.   Where in a DHIS2 instance can we get the attributeOptionCombo value for a given dataset?
    
  2.   If we migrate data using this method, does this affect the Reporting Rate for that particular DataSet? If it does, how can we overcome this?
    

Kind Regards,

Harold