メインコンテンツまでスキップ

Create a product tour.

POST/api/v1/tourssettings:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Creates the tour and its audience together. The audience must name at least one person or group that exists: a tour with no audience would be hidden from everyone. Needs Create Tours and Manage Tour Audience.

スコープsettings:write (機密性の高いスコープ)
非同期いいえ
MCP ツールcreate_tour
Portal の権限create_tours, manage_tour_audience

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonTourCreateInput

応答​

ステータス説明本文
201Success.application/json Tour または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

Tour​

フィールド型必須説明
audienceTourAudience または null必須Who sees the tour; null without View Tour Audience.
created_atstring (date-time) または null必須
created_byUserRef または null必須
descriptionstring または null必須
frequencystring または null必須When the player offers the tour again: until_completed, once_per_session, first_login_only or always; null when none was set.
modified_atstring (date-time) または null必須
modified_byUserRef または null必須
namestring必須
progress_summaryTourProgressSummary または null必須How far the audience has got; null without View Other Users Tour Progress.
start_urlstring または null必須The shell-relative address the tour starts on, such as /?app=search.
stepsobject または null必須The step tree the Tour Builder saves, a tour_steps document (format_version 1) whose body is the list of steps with their sub-steps; null when the tour has none.
tour_idstring必須
tour_typeinteger または null必須The Tour Builder's type code (0 for a guided tour); null when none was set.
trigger_rulesstring または null必須The text of the tour's trigger rules; null when none.

TourAudience​

フィールド型必須説明
group_idsstring の配列必須The groups the tour is shown to (everyone in them).
user_idsstring の配列必須The people the tour is shown to.

TourAudienceInputInput​

フィールド型必須説明
group_idsstring の配列任意The groups the tour is shown to.
user_idsstring の配列任意The people the tour is shown to.

TourCreateInput​

フィールド型必須説明
audienceTourAudienceInputInput必須Who sees the tour: at least one person or group, which must exist. Needs Manage Tour Audience.
descriptionstring または null任意At most 500 characters.
frequencystring または null任意At most 100 characters; the Tour Builder offers until_completed, once_per_session, first_login_only and always.
namestring必須At most 100 characters.
start_urlstring または null任意The shell-relative address the tour starts on. At most 2000 characters.
stepsobject または null任意A tour_steps document (format_version 1); its body must be a list.
tour_typeinteger または null任意
trigger_rulesstring または null任意

TourProgressSummary​

フィールド型必須説明
completed_countinteger必須≥ -2147483648; ≤ 2147483647
dismissed_countinteger必須Stopped without finishing. ≥ -2147483648; ≤ 2147483647
in_progress_countinteger必須Started, but neither completed nor dismissed. ≥ -2147483648; ≤ 2147483647

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須