← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1361982] Re: The items listed in a categorycombo api call are less than those listed on the corresponding dimension (using the API)

 

Thanks for the feedback.

Unfortunately it does not help  :)

For my case (i have a private instance), if I go to /api/categories/XXXX
and if i go to /api/dimensions/YYYY for the same category, i get
different outputs. Those listed under /api/categories are more than
those listed under /api/dimensions.

I am surprised since I’ve explicitly    set that the category be used as
a dimension.


On Aug 27, 2014, at 8:23 PM, Jim Grace <1361982@xxxxxxxxxxxxxxxxxx> wrote:

> To see a category's options through the api, try api/categories/xxxx.
> For example in the demo system at https://apps.dhis2.org/demo/ the first
> category, has 6 options as shown through the GUI. If you go to
> 
> https://apps.dhis2.org/demo/api/categories/KfdsGBcoiCa
> 
> and look under <categoryOptions>, you should see the same 6 options.
> Note that category options and category combos are different things.
> Does this help?
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1361982
> 
> Title:
>  The items listed in a categorycombo api call are less than those
>  listed on the corresponding dimension (using the API)
> 
> Status in DHIS 2:
>  New
> 
> Bug description:
>  Hi All,
> 
>  When I view the category options assigned to a category via
>  Maintenance-> Data Elements & Indicators -> Category, the items listed
>  are fewer than those I get form the api/categoryCombos/xxxx API call.
> 
>  How can I resolve this?
> 
>  DHIS v2.14 Build 13868
>  OSX 10.9.4
>  Chrome  36.0.1985.143
> 
>  Kind regards,
> 
>  Derick
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1361982/+subscriptions

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1361982

Title:
  The items listed in a categorycombo api call are less than those
  listed on the corresponding dimension (using the API)

Status in DHIS 2:
  New

Bug description:
  Hi All,

  When I view the category options assigned to a category via
  Maintenance-> Data Elements & Indicators -> Category, the items listed
  are fewer than those I get form the api/categoryCombos/xxxx API call.

  How can I resolve this?

  DHIS v2.14 Build 13868
  OSX 10.9.4
  Chrome  36.0.1985.143

  Kind regards,

  Derick

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1361982/+subscriptions


References