FlowmageDocs

List offices

BetaReads data

Lists the Twinfield companies this login can act in.

Settings

SettingWhat it is
ConnectionRequiredThe company codes this node answers are what every other Twinfield node needs.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `twinfield`)

Output

FieldType
officesCompaniesarray
officeCountCompanies in this answernumber
Sample output, and the expression for each field
  • officeCount1
  • offices
    • [0]
      • code"001"
      • name"Acme Holding"
      • shortName"ACME"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>"
  },
  "label": "List offices",
  "type": "twinfield.listOffices",
  "version": 1
}