Skip to main content

Get one product tour.

GET/api/v1/tours/{tour_id}settings:read

The tour with its steps, audience (null without View Tour Audience) and progress summary (null without View Other Users Tour Progress). Needs View Tours and View All Tours; a person plays their own tours through get_my_tour.

Scopesettings:read
AsynchronousNo
MCP toolget_tour
Portal permissionsview_tours, view_all_tours

Parameters​

NameInTypeRequiredDescription
tour_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json Tour
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Tour​

FieldTypeRequiredDescription
audienceTourAudience or nullRequiredWho sees the tour; null without View Tour Audience.
created_atstring (date-time) or nullRequired
created_byUserRef or nullRequired
descriptionstring or nullRequired
frequencystring or nullRequiredWhen 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) or nullRequired
modified_byUserRef or nullRequired
namestringRequired
progress_summaryTourProgressSummary or nullRequiredHow far the audience has got; null without View Other Users Tour Progress.
start_urlstring or nullRequiredThe shell-relative address the tour starts on, such as /?app=search.
stepsobject or nullRequiredThe 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_idstringRequired
tour_typeinteger or nullRequiredThe Tour Builder's type code (0 for a guided tour); null when none was set.
trigger_rulesstring or nullRequiredThe text of the tour's trigger rules; null when none.

TourAudience​

FieldTypeRequiredDescription
group_idsarray of stringRequiredThe groups the tour is shown to (everyone in them).
user_idsarray of stringRequiredThe people the tour is shown to.

TourProgressSummary​

FieldTypeRequiredDescription
completed_countintegerRequired≥ -2147483648; ≤ 2147483647
dismissed_countintegerRequiredStopped without finishing. ≥ -2147483648; ≤ 2147483647
in_progress_countintegerRequiredStarted, but neither completed nor dismissed. ≥ -2147483648; ≤ 2147483647

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired