# Ninox

> Read and manage Ninox workspaces, modules, tables and records through the current Public API.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/ninox

## Actions

### Create module

Create module. Returns one response page; the connected account determines access.

**Inputs**

- AfterOpen (`afterOpen`, text): Script expression run in the browser each time the app is opened. Needs schema:write plus records:write
- Name (`name`, text, required): Module name
- HideNavigation (`hideNavigation`, true/false): Hide module from navigation
- Icon (`icon`, object): Module icon
- IsHidden (`isHidden`, true/false): Hide module
- Labels (`labels`, object): Module labels (localized)
- OpenRoles (`openRoles`, list): Module open roles. One or more of: `admin`, `editor`.

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "afterOpen": "example",
      "components": [],
      "hideNavigation": false,
      "icon": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "isHidden": false,
      "labels": {},
      "moduleId": "example",
      "name": "example",
      "openRoles": [],
      "tables": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Create records

Create records. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name
- Records (`records`, list, required): Array of records to add to the target table

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "ids": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Create table

Create table. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- Icon (`icon`, object): Table icon
- Labels (`labels`, object, required): Table labels (localized)
- Name (`name`, text, required): Table name
- CanCreate (`canCreate`, text): Script expression that must allow creating a record
- CanDelete (`canDelete`, text): Script expression that must allow deleting a record
- CanRead (`canRead`, text): Script expression that must allow reading a record
- CanWrite (`canWrite`, text): Script expression that must allow updating a record
- CreateRoles (`createRoles`, list): Roles allowed to create records. One or more of: `admin`, `editor`.
- DeleteRoles (`deleteRoles`, list): Roles allowed to delete records. One or more of: `admin`, `editor`.
- HasFiles (`hasFiles`, true/false): Enable files for the table
- HasGlobalSearch (`hasGlobalSearch`, true/false): Enable global search for the table
- HasHistory (`hasHistory`, true/false): Enable history for the table
- IsEmailLinkingEnabled (`isEmailLinkingEnabled`, true/false): Enable email linking for the table
- IsHidden (`isHidden`, true/false): Hide the table
- OnCreate (`onCreate`, text): Script expression run as a trigger after a record is created
- OnDelete (`onDelete`, text): Script expression run as a trigger when a record is deleted
- OnUpdate (`onUpdate`, text): Script expression run as a trigger after a record is updated
- ReadRoles (`readRoles`, list): Roles allowed to read records. One or more of: `admin`, `editor`.
- WriteRoles (`writeRoles`, list): Roles allowed to update records. One or more of: `admin`, `editor`.

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "canCreate": "example",
      "canDelete": "example",
      "canRead": "example",
      "canWrite": "example",
      "createRoles": [],
      "deleteRoles": [],
      "fields": [],
      "hasFiles": false,
      "hasGlobalSearch": false,
      "hasHistory": false,
      "icon": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "isEmailLinkingEnabled": false,
      "isHidden": false,
      "labels": {},
      "name": "example",
      "onCreate": "example",
      "onDelete": "example",
      "onUpdate": "example",
      "readRoles": [],
      "writeRoles": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Delete records

Delete records. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name
- Records (`records`, list, required): Array of record ids to delete

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "deletedIds": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get component

Get component. Returns one response page; the connected account determines access.

**Inputs**

- ComponentId (`componentId`, text, required): Component ID

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "afterHide": "example",
      "aggregation": "avg",
      "annualRecurring": false,
      "arrangement": "grid",
      "background": "example",
      "beforeShow": "example",
      "border": {
        "color": "example",
        "style": "dashed",
        "width": "example"
      },
      "calendarType": "example",
      "cardBorder": "example",
      "cardFont": "example",
      "cardPadding": 1.0,
      "cardRadius": 1.0,
      "chartConfig": {
        "chartType": "bar",
        "dataSets": [],
        "donut": false,
        "labelPosition": "bottom",
        "legend": {
          "show": false
        },
        "limit": 1,
        "orientation": "horizontal",
        "showDataTable": false,
        "showLabels": false,
        "showPoints": false,
        "showTitle": false,
        "smooth": false,
        "stacked": false,
        "style": "default",
        "tooltips": {
          "show": false
        },
        "xAxis": {
          "fieldName": "example",
          "groupBy": "daily",
          "show": false
        },
        "yAxis": {
          "show": false
        }
      },
      "color": "example",
      "colorFieldName": "example",
      "constraints": "example",
      "content": {},
      "customStyle": {},
      "dataPoint": "conditional",
      "defaultValue": false,
      "disabled": false,
      "display": {
        "color": "example",
        "format": "compact",
        "icon": "example",
        "trend": {
          "customPeriodEnd": "example",
          "customPeriodStart": "example",
          "format": "absolute",
          "isShown": false,
          "period": "custom",
          "positiveDirection": "down"
        }
      },
      "displayAs": "example",
      "expression": "example",
      "fieldIdDataPoint": "conditional",
      "fieldIdValue": "example",
      "fieldName": "example",
      "filter": [],
      "flex": "example",
      "ganttConfig": {
        "baselineEndFieldName": "example",
        "baselineStartFieldName": "example",
        "dependencyDirection": "predecessor",
        "dependencyFieldName": "example",
        "disableDragAndDrop": false,
        "endFieldName": "example",
        "hideTitleColumn": false,
        "hideWeekends": false,
        "milestoneFieldName": "example",
        "progressFieldName": "example",
        "showCriticalPath": false,
        "showWeekends": false,
        "startFieldName": "example",
        "timeScale": "day",
        "titleColumnFieldName": "example",
        "titleColumnWidth": 1.0
      },
      "gap": "example",
      "globalFilterBinding": [],
      "gridPreset": "example",
      "groupByFieldName": "example",
      "height": 1.0,
      "icon": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "iconLeft": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "iconRight": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "id": "example",
      "imagePosition": {
        "position": "example",
        "size": "example"
      },
      "isCompact": false,
      "isHidden": false,
      "isMarkdownEnabled": false,
      "isSpreadsheetMode": false,
      "kind": "example",
      "labelPosition": "example",
      "labels": {},
      "mapTypeId": "example",
      "margin": "example",
      "name": "example",
      "onChange": "example",
      "onClick": "example",
      "order": 1.0,
      "overflow": "example",
      "padding": "example",
      "parentId": "example",
      "placeholder": {},
      "quickStyle": "body-md",
      "radius": "example",
      "remember": "localStorage",
      "shadow": "example",
      "shadowDom": false,
      "showAs": "example",
      "showBulkActions": false,
      "showCalendarType": false,
      "showCreateButton": false,
      "showCreateRow": false,
      "showDataAs": "example",
      "showEmptyLane": false,
      "showLinkExistingRecord": false,
      "showMetadata": false,
      "showOutlines": false,
      "showSearchField": false,
      "showTimeScaleSelector": false,
      "showTitle": false,
      "size": "example",
      "tableName": "example",
      "textAlign": "text-center",
      "titleFieldName": "example",
      "tooltip": "example",
      "type": "example",
      "value": "example",
      "valueSpec": {
        "type": "example"
      },
      "valueType": "example",
      "variant": "example",
      "view": {
        "columns": [],
        "conditionalFormatting": [],
        "filter": [],
        "groupBy": [],
        "sort": {
          "direction": "asc",
          "fieldName": "example"
        }
      },
      "visible": false,
      "visibleRoles": [],
      "widgetName": "example",
      "widgetProps": {},
      "width": 1.0
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get field

Get field. Returns one response page; the connected account determines access.

**Inputs**

- FieldName (`fieldName`, text, required): Field name
- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "binding": "example",
      "canRead": "example",
      "canWrite": "example",
      "defaultValue": {
        "$nx": "example"
      },
      "expression": "example",
      "index": false,
      "isAnniversary": false,
      "labels": {},
      "name": "example",
      "onUpdate": "example",
      "optionColor": "example",
      "optionIcon": "example",
      "optionName": "example",
      "options": [],
      "readRoles": [],
      "refTableName": "example",
      "required": false,
      "search": false,
      "syncedFrom": "example",
      "type": "any",
      "unique": false,
      "variant": "example",
      "writeRoles": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get function

Get function. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- ScriptName (`scriptName`, text, required): Global function script name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "code": "example",
      "id": "example",
      "moduleName": "example",
      "name": "example"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get module

Get module. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "afterOpen": "example",
      "components": [],
      "hideNavigation": false,
      "icon": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "isHidden": false,
      "labels": {},
      "moduleId": "example",
      "name": "example",
      "openRoles": [],
      "tables": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get module definition

Get module definition. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "capabilities": [],
      "checksum": "example",
      "formatVersion": 1,
      "objects": [],
      "requiredConnections": [],
      "roles": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get record

Get record. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- RecordId (`recordId`, number, required): Record ID. From 0 to 9007199254740991.
- TableName (`tableName`, text, required): Table name
- Fields (`fields`, list): Choose fields to include, or enter their names.
- ChoiceStyle (`choiceStyle`, text): Choicestyle.
- DateStyle (`dateStyle`, text): Datestyle.
- Style (`style`, text): Style.

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "id": "example",
      "values": {}
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get report

Get report. Returns one response page; the connected account determines access.

**Inputs**

- ReportId (`reportId`, text, required): Report ID

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "fontFamily": "example",
      "fontSize": 1.0,
      "footHeight": 1.0,
      "headHeight": 1.0,
      "id": "example",
      "inlineStyle": "example",
      "labels": {},
      "marginB": 1.0,
      "marginL": 1.0,
      "marginR": 1.0,
      "marginT": 1.0,
      "moduleName": "example",
      "name": "example",
      "objects": [],
      "paperHeight": 1.0,
      "paperWidth": 1.0,
      "printAttachments": false,
      "tableName": "example"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get table

Get table. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "canCreate": "example",
      "canDelete": "example",
      "canRead": "example",
      "canWrite": "example",
      "createRoles": [],
      "deleteRoles": [],
      "fields": [],
      "hasFiles": false,
      "hasGlobalSearch": false,
      "hasHistory": false,
      "icon": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "isEmailLinkingEnabled": false,
      "isHidden": false,
      "labels": {},
      "name": "example",
      "onCreate": "example",
      "onDelete": "example",
      "onUpdate": "example",
      "readRoles": [],
      "writeRoles": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get view

Get view. Returns one response page; the connected account determines access.

**Inputs**

- ViewId (`viewId`, text, required): View ID

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "annualRecurring": false,
      "calendarType": "day",
      "chartConfig": {
        "chartType": "bar",
        "dataSets": [],
        "donut": false,
        "labelPosition": "bottom",
        "legend": {
          "show": false
        },
        "limit": 1,
        "orientation": "horizontal",
        "showDataTable": false,
        "showLabels": false,
        "showPoints": false,
        "showTitle": false,
        "smooth": false,
        "stacked": false,
        "style": "default",
        "tooltips": {
          "show": false
        },
        "xAxis": {
          "fieldName": "example",
          "groupBy": "daily",
          "show": false
        },
        "yAxis": {
          "show": false
        }
      },
      "columns": [],
      "conditionalFormatting": [],
      "filter": [],
      "ganttConfig": {
        "baselineEndFieldName": "example",
        "baselineStartFieldName": "example",
        "dependencyDirection": "predecessor",
        "dependencyFieldName": "example",
        "disableDragAndDrop": false,
        "endFieldName": "example",
        "hideTitleColumn": false,
        "hideWeekends": false,
        "milestoneFieldName": "example",
        "progressFieldName": "example",
        "showCriticalPath": false,
        "showWeekends": false,
        "startFieldName": "example",
        "timeScale": "day",
        "titleColumnFieldName": "example",
        "titleColumnWidth": 1.0
      },
      "groupBy": [],
      "icon": {
        "color": "example",
        "filling": 0,
        "icon": "example"
      },
      "id": "example",
      "labels": {},
      "moduleName": "example",
      "name": "example",
      "order": 1.0,
      "pivot": {
        "columnWidths": {
          "rowHeader": 1.0,
          "values": {}
        },
        "columns": [],
        "rows": [],
        "values": []
      },
      "search": "example",
      "showCalendarType": false,
      "showSearchField": false,
      "sort": {
        "direction": "asc",
        "fieldName": "example"
      },
      "tableName": "example",
      "type": "Calendar"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get workspace

Get workspace. Returns one response page; the connected account determines access.

**Inputs**: None.

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "modules": [],
      "name": "example"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List fields

List fields. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name
- Limit (`limit`, number): Maximum number of fields to return. At least 1.
- Offset (`offset`, number): Number of fields to skip (starts with 0). At least 0.

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": [],
    "page_info": {
      "has_more": false,
      "limit": 1.0,
      "offset": 1.0
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List functions

List functions. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List modules

List modules. Returns one response page; the connected account determines access.

**Inputs**

- Limit (`limit`, number): Maximum number of modules to return. At least 1.
- Offset (`offset`, number): Number of modules to skip (starts with 0). At least 0.

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": [],
    "page_info": {
      "has_more": false,
      "limit": 1.0,
      "offset": 1.0
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List record changes

List record changes. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name
- AsOf (`asOf`, date and time): Pin the poll window to this timestamp (a prior response's `meta.asOf`) when fetching page 2+ of the same poll; omit on the first page
- Limit (`limit`, number): Maximum number of changes to return (1-100). From 1 to 100.
- Offset (`offset`, number): Number of changes to skip (starts with 0). At least 0.
- SinceSeq (`sinceSeq`, text): Sinceseq.
- SinceSq (`sinceSq`, text): Sincesq.
- Since (`since`, date and time, required): Return changes at or after this ISO 8601 timestamp

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "asOf": "example"
    },
    "page_info": {
      "has_more": false,
      "limit": 1.0,
      "offset": 1.0
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List records

List records. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name
- Fields (`fields`, list): Choose fields to include, or enter their names.
- Filter (`filter`, object): Field names and matching values. Converted to the JSON filter expected by Ninox.
- Limit (`limit`, number): Maximum number of rows to return (1-100). From 1 to 100.
- Offset (`offset`, number): Number of rows to skip (starts with 0). At least 0.
- ChoiceStyle (`choiceStyle`, text): Choicestyle.
- DateStyle (`dateStyle`, text): Datestyle.
- Style (`style`, text): Style.
- Sort (`sort`, text): Comma-separated field names to sort by; prefix a field with "-" for descending, e.g. sort=name,-_md

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "filter": {},
      "sort": "example"
    },
    "page_info": {
      "has_more": false,
      "limit": 1.0,
      "offset": 1.0
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List reports

List reports. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List schema changes

List schema changes. Returns one response page; the connected account determines access.

**Inputs**

- AsOf (`asOf`, date and time): Pin the poll window to this timestamp (a prior response's `meta.asOf`) when fetching page 2+ of the same poll; omit on the first page
- Limit (`limit`, number): Maximum number of changes to return (1-100). From 1 to 100.
- Offset (`offset`, number): Number of changes to skip (starts with 0). From 0 to 9007199254740991.
- SinceSeq (`sinceSeq`, text): Sinceseq.
- SinceSq (`sinceSq`, text): Sincesq.
- Since (`since`, date and time, required): Return changes at or after this ISO 8601 timestamp

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "asOf": "example",
      "retentionCutoff": "example"
    },
    "page_info": {
      "has_more": false,
      "limit": 1.0,
      "offset": 1.0
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List tables

List tables. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- Limit (`limit`, number): Maximum number of tables to return. At least 1.
- Offset (`offset`, number): Number of tables to skip (starts with 0). At least 0.

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": [],
    "page_info": {
      "has_more": false,
      "limit": 1.0,
      "offset": 1.0
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List views

List views. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### Update records

Update records. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name
- Records (`records`, list, required): Array of records to update (each must include an id field as a positive integer)

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "updatedIds": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Upsert records

Upsert records. Returns one response page; the connected account determines access.

**Inputs**

- ModuleName (`moduleName`, text, required): Module name
- TableName (`tableName`, text, required): Table name
- MatchField (`matchField`, text, required): Name of the unique field used to match existing records
- Records (`records`, list, required): Array of records to upsert : each must include a value for matchField

**Outputs**: API response.

- `data` (object): Data.
- `has_more` (true/false): Whether a continuation page is available.
- `next_cursor` (text): Continuation value, when supplied by the service.

**Example output**

```json
{
  "data": {
    "data": {
      "createdIds": [],
      "updatedIds": []
    }
  },
  "has_more": false,
  "next_cursor": null
}
```
