CData Python Connector for Zendesk

Build 23.0.8839

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 connector.
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 True

When this record was created.

UpdatedAt Datetime True

When this record last got updated.

Url String True

The url of this resource.

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