Un-complete a data set by Web API

Hi All,

I need to un-complete a dataset registration by Web API in our instance.

Who did it before and can help me?

Regards

···

Carlos Nyembwe

I’m just a Computer Scientist

Skype*: carloscnk1***

Cell*: (+243)813166381***

**Find me in: | Google Plus | **Linkedin | Facebook | Twitter |

Dear Carlos,

All you have to do is send a delete request where endpoint will be completeDataSetRegistrations.


As I am using DHIS2 version 2.29, my endpoint is “/dhis/api/29/completeDataSetRegistrations?ds=datasetid&pe=201801&ou=orgunitid”.

Here is the documentation - https://docs.dhis2.org/master/en/developer/html/webapi_complete_data_set_registrations.html.

Hope this will help.

Thanks & Regards,
Nibras Ar Rakib,
Programmer, MCHD, icddrb
email: nibrasarrakib@gmail.com | nibras.rakib@icddrb.org

···

On Tue, Oct 9, 2018 at 8:51 PM Carlos Nyembwe nyembwe@gmail.com wrote:

Hi All,

I need to un-complete a dataset registration by Web API in our instance.

Who did it before and can help me?

Regards


Carlos Nyembwe

I’m just a Computer Scientist

Skype*: carloscnk1***

Cell*: (+243)813166381***

**Find me in: | Google Plus | **Linkedin | Facebook | Twitter |


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

1 Like

Hi Nibras,
I’m sorry, I tried but I got the 403 error
means : Access to the specified resource has been forbidden.

Regards

1 Like

If you are under superuser role, then it should be work. Can your check your user role?

1 Like