Skip to content

apiModel

Overview

This object is used to read, create, update, and delete the contents of "records" in "Server Script".

Properties

For properties, refer to the properties of "model".

Methods

Method name Overview
Create Create a new record
Update Update a record
Delete Delete a record

Usage Examples

The following example gets the record information for record ID 123 and updates the "Status Column" to completed (900).

JavaScript
let records = items.Get(123);
if (records.Length === 1) {
    let record = records[0];
    record.Status = 900;
    record.Update();
}