ADO.NET Provider for Basecamp

Build 23.0.8839

Documents

Retrieve, create, update, and delete Documents on Basecamp.

テーブル固有の情報

Select

すべてのDocuments(すべてのProjects の)を取得し、特定のProject に属するDocuments を選択し、もしくは特定のProject と特定のDocument を同時に指定することが可能です(ProjectId およびId は、Basecamp によって検索条件としてサポートされているカラムです)。

Documents をUpdatedAt、CreatedAt、もしくはTitle でソートすることができます。

SELECT * FROM Documents WHERE ProjectId = '11111111' AND Id = '1234567689'

SELECT * FROM Documents ORDER BY UpdatedAt

SELECT * FROM Documents ORDER BY Title DESC

Insert

主要なProject に新しいDocument を追加するには、ProjectId を指定し、Document のタイトルもしくは何らかのContent を入力します。

INSERT INTO Documents (ProjectId, Title, Content) VALUES ('11111111', 'Memo', 'This is our document content')

Update およびDelete

Document の更新および削除には、ProjectId およびDocument Id を指定します。

UPDATE Documents SET Title = 'Updated Memo3', Content = 'Updated Content of Memo.' WHERE ProjectId = '11111111' AND Id = '1234567689'

DELETE FROM Documents WHERE ProjectId = '11111111' AND Id = '12345678'

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The unique identifier for the document.

AppUrl String True

The app URL.

BucketAppUrl String True

The topic bucket app url.

BucketColor String True

The to-do bucket color.

BucketId String True

The to-do bucket Id.

BucketName String True

The to-do bucket name.

BucketType String True

The to-do bucket type.

BucketUrl String True

The to-do bucket URL.

Content String False

The content of the document.

CreatedAt Datetime True

The date and time when the document was created.

CreatorAvatarUrl String False

Creator Avatar URL.

CreatorFullsizeAvatarUrl String False

Creator full-size avatar URL.

CreatorId String False

The Id of the creator of the document.

CreatorName String False

The name of the creator of the document.

LastUpdaterId String False

The Id of the person who last updated the document.

LastUpdaterName String False

The name of the person who last updated the document.

Private Boolean False

Whether this to-do is private.

SubscribersId String False

The Id of the subscriber to the document.

SubscribersName String False

The name of the subscriber to the document.

Title String False

The title of the document.

Trashed Boolean False

Boolean value for deleted to-dos.

UpdatedAt Datetime True

The date and time when the document was last updated.

URL String True

The URL of the document.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
ProjectId String

The Id of the Project associated with the document.

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