Interfaces
Interfaces define the structure of a type, and include a set of fields that are required for a type to implement the interface.
Account
A Worksome account.
An account represents an entity that can interact with the platform. Account types include Company (the hiring entity), Organisation (a parent grouping of companies), Partner (an employment or compliance partner), Worker (a freelancer or contractor), and Staffing Agency (recruiter).
| Fields |
|---|
idID! |
nameString! |
avatarURL |
HasCompanyInformation
An interface requiring company-specific fields.
| Fields |
|---|
nameString! |
marketMarketCode! |
HasCustomFields
An interface requiring custom fields specific data.
| Fields |
|---|
customFieldsCustomFieldPaginator! |
HasMultiFactorMetadata
The consistent data for a multi factor implementation.
| Fields |
|---|
idID! |
nameString! |
statusMultiFactorStatus! |
ownerUser! |
verifiedAtDateTime |
createdAtDateTime! |
updatedAtDateTime! |
HasURL
An interface requiring a URL field.
| Fields |
|---|
urlURL! |
WorkflowVariable
A variable that can be used in approval rule conditions.
Workflow variables represent the data points available for building conditions in approval rules. They include system variables (e.g. hourly rate, daily rate, budget) and company-configured custom fields. Each variable defines which comparison operators it supports.
| Fields |
|---|
idID! |
titleString! |
descriptionString |
operators[WorkflowVariableOperator!]! |