시트: Smartsheet Sheets
insert update delete REST
- 카탈로그:
Smartsheet - 스키마:
Sheets - 기본 키:
sheet_id - 레이블: 시트
insert, update, delete를 사용하여 데이터를 조회하거나 수정할 수 있습니다.
요약
사용자가 볼 수 있는 시트입니다. 스프레드시트처럼 행과 열로 이루어진 표입니다. 삽입하면 폴더 또는 워크스페이스에 기본 열 하나를 가진 시트가 생성되고, 업데이트하면 이름이 변경되며, 삭제하면 모든 행과 함께 시트가 제거됩니다.
API 소스
- 종점:
/sheets
성능 특성
| 특징 | 값 |
|---|---|
| 평균 액세스 지연 시간 (ms) | 350 |
| 분당 전체 스캔 행 수 | 17,100 |
| 분당 포인트 Query 행 수 | 171 |
| 분당 행 수 | 120 |
표의 열
표 Sheets의 열은 다음과 같습니다. 각 열에는 SQL 데이터 유형이 지정되어 있습니다. 삽입 및 업데이트 작업 중에는 항상 모든 필수 열에 대해 null이 아닌 새로운 값을 지정해야 합니다.
| 이름 | 데이터 유형 | 라벨 | 필요한 공간 | 점수 | 문서 |
|---|---|---|---|---|---|
access_ |
varchar2 |
itgen_smartsheet_access_level | 플랫폼의 필터, 쓰기 가능 | 사용자가 이 시트에 대해 할 수 있는 작업: VIEWER, COMMENTER, EDITOR, EDITOR_SHARE, ADMIN 또는 OWNER. | |
created_ |
datetime |
itgen_smartsheet_created_at | 플랫폼의 필터, 쓰기 가능 | 시트가 생성된 시각(UTC). | |
folder_ |
int64 |
itgen_smartsheet_folder_id | 플랫폼의 필터, 쓰기 가능 | 쓰기 전용, 삽입 시: 시트를 생성할 폴더.이 값 또는 workspace_id 중 하나를 지정하십시오. | |
modified_ |
datetime |
itgen_smartsheet_modified_at | 플랫폼의 필터, 쓰기 가능 | 시트가 마지막으로 변경된 시각(UTC). | |
name |
varchar2 |
itgen_smartsheet_name | 플랫폼의 필터, 쓰기 가능 | 시트의 이름. | |
permalink |
varchar2 |
itgen_smartsheet_permalink | 플랫폼의 필터, 쓰기 가능 | Smartsheet에서 시트를 여는 링크. | |
primary_ |
varchar2 |
itgen_smartsheet_primary_column_title | 플랫폼의 필터, 쓰기 가능 | 쓰기 전용, 삽입 시: 새 시트의 기본 열인 첫 번째 열의 제목.비워 두면 이름을 사용합니다. | |
sheet_ |
int64 |
itgen_smartsheet_sheet_id | 플랫폼의 필터, 쓰기 가능 | 시트의 ID. | |
workspace_ |
int64 |
itgen_smartsheet_workspace_id | 플랫폼의 필터, 쓰기 가능 | 쓰기 전용, 삽입 시: 시트를 생성할 워크스페이스(최상위).이 값 또는 folder_id 중 하나를 지정하십시오. |
레퍼런스됨
- 즐겨찾기
object_id(텍스트) - Webhooks
scope_object_id(텍스트) - SheetAttachments
sheet_id(Key) - SheetAutomationRules
sheet_id(Key) - SheetColumns
sheet_id(Key) - SheetCrossSheetReferences
sheet_id(Key) - SheetCrossSheetReferences
source_sheet_id(텍스트) - SheetDiscussions
sheet_id(Key) - SheetRows
sheet_id(Key) - SheetShares
sheet_id(Key) - SheetSummaryFields
sheet_id(Key) - FolderItems
id(텍스트)
Query 예시
select sht.name
, count(*) row_count
from Smartsheet.Sheets.Sheets sht
join Smartsheet.Sheets.SheetRows row
on row.sheet_id = sht.sheet_id
group
by sht.name
select sht.name
, sht.access_level
, sht.modified_at
from Smartsheet.Sheets.Sheets sht
order
by sht.modified_at desc
select sht.name sheet_name
, cel.row_id
, cel.column_title
, cel.display_value
from Smartsheet.Sheets.Sheets sht
join Smartsheet.Sheets.SheetCells cel
on cel.sheet_id = sht.sheet_id
order
by sht.name
, cel.row_id