Onit Documentation

API Examples

Updated on

Retrieve and Update

The following code will retrieve ten Records from an App and update each Record with a new Field value.

Javascript

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=changeValue.js"></script>

Python

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=make_update.py"></script>

Create New Records and Set Values

The following code will create ten new Records in an App and set two values on each.

Javascript

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=createSetValue.js"></script>

Python

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=post_atom.py"></script>

Retrieve and Approve

The following code will retrieve ten Records from an App and approve each Record.

Javascript

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=retrieveApprove.js"></script>

Python

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=approve_atom.py"></script>

Retrieve Document IDs from DocumentFolder

The following code will retrieve ten Records from an App, then find the Document IDs from the DocumentFolders on each Record.

Javascript

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=retrieveDownload.js"></script>

Python

<script src="https://gist.github.com/christinamakes/b692f0395d738ad4e334ba5b9be7f5ee.js?file=retrieve_download.py"></script>

Previous Article API Reference

© 2025 Onit, Inc.

docs.onit.com contains proprietary and confidential information owned by Onit, Inc. that is subject to copyright. Onit presents it exclusively to you for your sole use in conjunction with using Onit products. No portion of the materials contained herein may be used for any other purpose. No portion of the materials contained herein may be shared with third parties or reproduced in any form.