webCOMAND

repo

Use the repo class to simplify access to the Web Services from JavaScript code, including the ability to query and update content in COMAND repositories.

Example

<script src="https://<account>.webcomand.com/ws/js/comand.js"></script>
<!-- include your script(s) that use the API here, or... -->
<script>
    // write your inline code here, like:
    var repo = comand.repo({token: '<publicAuthToken>'});
    var contacts = repo.get('SELECT FullName FROM Contact');
    contacts.forEach(function(contact) {
        console(contact.FullName);
    });
</script>
</body>
</html>