GraphQLRepositoriescloudObjectFolderAccessSalesUnitRelation
entities.cloudObjectFolderAccessSalesUnitRelation
Read cloud object folder access sales unit relation records with the cloudObjectFolderAccessSalesUnitRelation repository, and change them with the cloud object folder access sales unit relation mutations. Same records as the REST CloudObjectFolderAccessSalesUnitRelations entity.
Queries
Fields of entities { cloudObjectFolderAccessSalesUnitRelation { … } }.
| Kind | Field | Returns |
|---|---|---|
| QUERY | getById(entityId: ID!)Returns the record with the given id, or null when there is none. Deleted records are returned as well. | CloudObjectFolderAccessSalesUnitRelationEntity |
| QUERY | getByIds(entityIds: [ID!]!)Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well. | [CloudObjectFolderAccessSalesUnitRelationEntity!]! |
| QUERY | getAll(limit: Int, offset: Int, filter: CloudObjectFolderAccessSalesUnitRelationFilterInput, orderBy: [CloudObjectFolderAccessSalesUnitRelationOrderByInput!], includeDeleted: Boolean)Returns the records that match the filter, paged with limit and offset. | [CloudObjectFolderAccessSalesUnitRelationEntity!]! |
| QUERY | getByCriteria(filter: CloudObjectFolderAccessSalesUnitRelationFilterInput, orderBy: [CloudObjectFolderAccessSalesUnitRelationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)Returns the records that match the filter as a cursor-paginated connection. | CloudObjectFolderAccessSalesUnitRelationEntityConnection |
| QUERY | getChangedFieldsSinceRevision(id: UUID!, revision: Int!)Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking. | [UUID!]! |
Mutations
Types
The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.
CloudObjectFolderAccessSalesUnitRelationEntity object 11 fields: isDeleteProtected, id, isDeleted, …
A sales unit whose members are allowed to see a Record Documents folder whose access is Custom. Only the unit's own members count, not its managers or sub-units.
| Field | Type | Description |
|---|---|---|
isDeleteProtected | Boolean! | True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only. |
id | ID! | Unique identifier of entity. |
isDeleted | Boolean | Specifies if the entity is considered deleted. |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
cloudObjectFolder | CloudObjectFolderEntity | Folder the sales unit members are allowed to see. |
unit | SalesUnitEntity | Sales unit whose members are allowed to see the folder. |
cloudObjectFolderId | ID! | Id of the folder. |
unitId | ID! | Id of the sales unit. |
instancePermissions | [EntityPermsEnum!]! (1 args) | Permissions the current user has on this record, out of the requested ones. |
allowedByParents | Boolean! | False when a Custom folder above no longer lets this sales unit in; the entry is kept and shown greyed out, and applies again when the folder above lets it in. |
CloudObjectFolderAccessSalesUnitRelationEntityConnection object pageInfo: PageInfo!, edges: [CloudObjectFolderAccessSalesUnitRelationEntityEdge]!, totalCount: Int
Paginated list of CloudObjectFolderAccessSalesUnitRelation records.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [CloudObjectFolderAccessSalesUnitRelationEntityEdge]! | Contains the nodes in this connection. |
totalCount | Int | Total number of items in the connection. |
CloudObjectFolderAccessSalesUnitRelationEntityEdge object node: CloudObjectFolderAccessSalesUnitRelationEntity, cursor: String!
A Relay edge containing a CloudObjectFolderAccessSalesUnitRelationEntity and its cursor.
| Field | Type | Description |
|---|---|---|
node | CloudObjectFolderAccessSalesUnitRelationEntity | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
CloudObjectFolderAccessSalesUnitRelationFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field
Filter conditions for CloudObjectFolderAccessSalesUnitRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
| Input field | Type | Description |
|---|---|---|
OR | [CloudObjectFolderAccessSalesUnitRelationFilterInput!] | Matches records that meet at least one of the listed filters. |
AND | [CloudObjectFolderAccessSalesUnitRelationFilterInput!] | Matches records that meet all of the listed filters. |
NOT | CloudObjectFolderAccessSalesUnitRelationFilterInput | Matches records that do not meet this filter. |
globalSearchQuery | String | Search term matched against the fields that the global search covers for this entity. |
id | EntityFilterStringField | Unique identifier of entity. |
isDeleted | Boolean | Specifies if the entity is considered deleted. |
modified | EntityFilterDateTimeField | Last modification time. |
created | EntityFilterDateTimeField | Creation time. |
cloudObjectFolderId | EntityFilterStringField | Id of the folder. |
unitId | EntityFilterStringField | Id of the sales unit. |
cloudObjectFolder | CloudObjectFolderFilterInput | Folder the sales unit members are allowed to see. Matches records where a related record meets these conditions. |
unit | SalesUnitFilterInput | Sales unit whose members are allowed to see the folder. Matches records where a related record meets these conditions. |
CloudObjectFolderAccessSalesUnitRelationOrderByInput input Asc or Desc per field
Sorting of CloudObjectFolderAccessSalesUnitRelation records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.
| Input field | Type | Description |
|---|---|---|
id | OrderByEnum | Unique identifier of entity. |
isDeleted | OrderByEnum | Specifies if the entity is considered deleted. |
modified | OrderByEnum | Last modification time. |
created | OrderByEnum | Creation time. |
cloudObjectFolder | [CloudObjectFolderOrderByNestedInput!] | Folder the sales unit members are allowed to see. Sorts by fields of the related record, listed in order of priority. |
unit | [SalesUnitOrderByNestedInput!] | Sales unit whose members are allowed to see the folder. Sorts by fields of the related record, listed in order of priority. |
cloudObjectFolderId | OrderByEnum | Id of the folder. |
unitId | OrderByEnum | Id of the sales unit. |
CreateCloudObjectFolderAccessSalesUnitRelationInput input 5 fields: clientMutationId, modified, created, …
Field values of a new CloudObjectFolderAccessSalesUnitRelation record.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
cloudObjectFolderId | ID! | Id of the folder. |
unitId | ID! | Id of the sales unit. |
CreateOrUpdateCloudObjectFolderAccessSalesUnitRelationInput input 6 fields: clientMutationId, id, modified, …
Field values of a CloudObjectFolderAccessSalesUnitRelation record to create, or to update when its id is set.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
id | ID | Unique identifier of entity. |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
cloudObjectFolderId | ID | Id of the folder. |
unitId | ID | Id of the sales unit. |
DeleteCloudObjectFolderAccessSalesUnitRelationInput input clientMutationId: String, id: ID!
Id of the CloudObjectFolderAccessSalesUnitRelation record to delete.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
id | ID! | Unique identifier of entity. |
UpdateCloudObjectFolderAccessSalesUnitRelationInput input 6 fields: clientMutationId, id, modified, …
Id of a CloudObjectFolderAccessSalesUnitRelation record and the field values to change.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
id | ID! | Unique identifier of entity. |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
cloudObjectFolderId | ID | Id of the folder. |
unitId | ID | Id of the sales unit. |
BulkUpdateCloudObjectFolderAccessSalesUnitRelationPayload object result: BulkUpdateResults!
Result of the bulkUpdateCloudObjectFolderAccessSalesUnitRelation mutation.
| Field | Type | Description |
|---|---|---|
result | BulkUpdateResults! | Ids of the created, updated and deleted records, and the items that failed. |
CreateCloudObjectFolderAccessSalesUnitRelationPayload object cloudObjectFolderAccessSalesUnitRelation: CloudObjectFolderAccessSalesUnitRelationEntity, clientMutationId: String
Result of the createCloudObjectFolderAccessSalesUnitRelation mutation.
| Field | Type | Description |
|---|---|---|
cloudObjectFolderAccessSalesUnitRelation | CloudObjectFolderAccessSalesUnitRelationEntity | The created record. |
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
DeleteCloudObjectFolderAccessSalesUnitRelationPayload object cloudObjectFolderAccessSalesUnitRelation: CloudObjectFolderAccessSalesUnitRelationEntity, clientMutationId: String
Result of the deleteCloudObjectFolderAccessSalesUnitRelation mutation.
| Field | Type | Description |
|---|---|---|
cloudObjectFolderAccessSalesUnitRelation | CloudObjectFolderAccessSalesUnitRelationEntity | The deleted record. |
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
UpdateCloudObjectFolderAccessSalesUnitRelationPayload object cloudObjectFolderAccessSalesUnitRelation: CloudObjectFolderAccessSalesUnitRelationEntity, clientMutationId: String
Result of the updateCloudObjectFolderAccessSalesUnitRelation mutation.
| Field | Type | Description |
|---|---|---|
cloudObjectFolderAccessSalesUnitRelation | CloudObjectFolderAccessSalesUnitRelationEntity | The updated record. |
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |