# Export by observation ID number URL blank CSV

**URL:** <https://forum.inaturalist.org/t/export-by-observation-id-number-url-blank-csv/47256>\
**Category:** Bug Reports\
**Tags:** question\
**Created:** [December 3, 2023, 11:35pm UTC](https://forum.inaturalist.org/t/export-by-observation-id-number-url-blank-csv/47256 "2023-12-03T23:35:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [December 6, 2023, 7:16am UTC](https://forum.inaturalist.org/t/export-by-observation-id-number-url-blank-csv/47256/8 "2023-12-06T07:16:46Z")

</div>

> [@birkebak](#):
>
> We may be able to figure out something going forward but I have thousands already submitted to pull data from.

> [@Get location data for observations by observation number and/or API for dummies?](https://forum.inaturalist.org/t/get-location-data-for-observations-by-observation-number-and-or-api-for-dummies/47315/2):
>
> I could possibly get them all if I can search by a field using a wildcard but I don’t know if this is possible. Something akin to field:Voucher%20Number(s)=OMDL\* for OMDL00001, OMDL00002, OMDL00003, etc.

i think going forward, you would want to either use an observation field that is unique to your effort (ex. `OMDL_voucher=OMDL00001`) or use an additional observation field which you set to a particular value that is unique to your effort (ex. `voucher_set=OMDL`). alternatively, or in addition to that, it may be useful to include these in a specific traditional project, as thomaseverest suggested above.

once you have a unique observation field, field value, or project, then you will be able to use the unique field, field value, or project to filter for your entire set of records, rather than filtering for individual observation IDs.

so then what to do about all the observation records that have already been processed? you could use the API to update those records with a new field, field value, and/or project.

here’s quick description of generally how to execute multiple API POST requests via curl in Windows command line / batch: [https://forum.inaturalist.org/t/unsubscribe-from-multiple-items-at-one-time-on-subscriptions-page/33728/6](https://forum.inaturalist.org/t/unsubscribe-from-multiple-items-at-one-time-on-subscriptions-page/33728/6). you could follow this general process if you use Windows, too, or you adapt it for bash or R or whatever other scripting tool you want to use.

here and in subsequent posts in the same thread, i’ve described specifically how to add/remove observations from a project using Windows command / batch: [https://forum.inaturalist.org/t/bulk-selection-of-observations-to-add-to-a-project/1747/70](https://forum.inaturalist.org/t/bulk-selection-of-observations-to-add-to-a-project/1747/70).

i haven’t previously made an example for adding observation fields or field values, but the curl command for this sort of action should look something like this: `curl -X POST "https://api.inaturalist.org/v1/observation_field_values" -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: JWT" -d "{\"observation_field_value\": {\"observation_id\": 0, \"observation_field_id\": 0, \"value\": "\string\"}" `

---

_[View the full topic](https://forum.inaturalist.org/t/export-by-observation-id-number-url-blank-csv/47256)._
