ProjectCategory Object

Root Connection

All ProjectCategory objects of an account are accessible by a query on the root connection projectCategories. Such a query will return a ProjectCategoryConnection!, which contains the ProjectCategory objects in its nodes field.

projectCategories (ProjectCategoryConnection!)

Root connection for retrieving ProjectCategory records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter ProjectCategoryFilter

Filter to determine which ProjectCategory records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Fields

The fields in this section list which values can be retrieved when querying ProjectCategory records.

account (Account)

The account this record belongs to.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

description (String)

A very short description of the project category, for example "More than 200 workdays or $200K".

disabled (Boolean)

Whether the project category may not be related to any more projects.

id (ID!)

Unique identifier of the record.

information (String)

Any additional information about the project category that might prove useful, especially for project managers when they need to decide which project category to select for a project.

name (String)

The name of the project category. Ideally the name of a project category consists of a single word, such as "Large".

position (Int)

The position that the project category takes when it is displayed in a sorted list.

reference (String)

The Reference field is automatically set to the Name field value, written in lower case characters and with all spaces replaced by the underscore character. This reference can be used to link the project category to a project using the 4me REST API or the 4me Import functionality.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Connections

The connection fields in this section allow (paged) access to objects related to a specific ProjectCategory record. The actual objects will be in the nodes field of the connection.

informationAttachments (AttachmentConnection)

Files and inline images linked to the Information field.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

ProjectCategory implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a ProjectCategory.