Is there an api I can post to mark a dataset complete in custom app?

In Data Entry App, we have the complete button to indicate that a dataset form has been completed. In my custom data capture app, is there an API I can post to if I want to achieve the same objective to mark the dataset form completed?

Hi @jetisco4u . You should be able to post to api/dataEntry/dataSetCompletion with a payload like:
{"dataSet":"lyLU2wR22tC","period":"202303","orgUnit":"DiszpKrYNg8","attribute":{"combo":"O4VaNks6tta","options":["C6nZpLKjEJr","i4Nbp8S2G6A"]},"completed":true}

If you do not have a category combo (attribute) on the data set, you can leave out the attribute property.

You may want to look at the network tab in Data Entry (Beta) app when completing/marking incomplete to see the request you need.

3 Likes