Bulk PATCH via API updates visible in platform but not in exported dataset (XLS/CSV)

Hello / Hola,

I am using the bulk PATCH endpoint to update submissions via API:
PATCH /api/v2/assets/{uid}/data/bulk/

The updates are visible in the platform (KoboToolbox web interface shows the correct values), but when I export the dataset (XLS/CSV), the updated fields do not appear — the export still shows the original values.

My payload format:
{
“payload”: {
“submission_ids”: [xxxxxxxx],
“data”: {
“A/Organizacion”: “xxxxxxxxxxx”
}
}
}

The API returns HTTP 200, so the update is accepted.

My questions:

  1. Does the bulk PATCH endpoint write to the underlying XML of the submission, or only to an override layer?
  2. If it only writes to the override layer, is there a way via API to update the underlying XML so that the changes appear in the exported file?
  3. Is there a specific export configuration (e.g. “include overrides”) that would show the patched values in the download?

Thank you in advance.

@Neider_serrano, could you kindly provide me with the following details through a private message? Maybe I could have a closer look at your case?

  • Username
  • Project name
  • Server

You should be able to send me a private message as outlined in the post discussed previously:

@Neider_serrano, when checking the API at my end, I had no issues updating my submissions (in my project/account under the Global Server). Your API endpoint and the method PATCH seems to be correct PATCH /api/v2/assets/{uid}/data/bulk/

Your payload also seems to be correct. I tried updating the following submissions in my account/project and could reflect the changes in my DATA>Table as well as XLS download. This is the payload that I used:

{
  "payload": {
    "submission_ids": [494551465, 511988264, 621814420],
    "data": {
      "Name": "Kalyan Lama"
    }
  }
}

However, one thing I have observed in your payload is A/Organizacion. Is Organization a question name under the group A? You might want to take a closer look at this specific section of your payload to ensure it aligns correctly with your form structure.