TDV Adapter for Zendesk

Build 24.0.9060

OrganizationMemberships

Create, delete, and query Organization Memberships in Zendesk.

Table Specific Information

Select

The following queries are processed server side while other filters are processed client side within the adapter.
SELECT * FROM OrganizationMemberships WHERE Id = '123'

SELECT * FROM OrganizationMemberships WHERE UserId = '123'

SELECT * FROM OrganizationMemberships WHERE OrganizationId = '123'

You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any other search criteria will be ignored and an unfiltered response will be returned.

Insert

The The UserId and OrganizationId fields are required to insert (assigns a user to a given organization). Allowed for agents.

INSERT INTO OrganizationMemberships (UserId, OrganizationId) VALUES ('772', '881')

Delete

You must specify the Id of the membership to delete it. Allowed for admins.

DELETE FROM OrganizationMemberships WHERE Id = '123'

Columns

Name Type ReadOnly References Description
Id [KEY] Long True

Automatically assigned when the membership is created.

OrganizationId Long False

Organizations.Id

The ID of the organization associated with this user, in this membership.

UserId Long False

Users.Id

The ID of the user for whom this memberships belongs.

Default Boolean False

Denotes whether this is the default organization membership for the user. If false, returns null.

CreatedAt Datetime False

When this record was created.

UpdatedAt Datetime False

When this record last got updated.

Url String False

The url of this resource.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060