Files
api/documentation/_site_rebuild_20260317/setselfservelaneallowedservices.html
T

50 lines
8.1 KiB
HTML

<!DOCTYPE html SYSTEM "about:legacy-compat">
<html lang="en-US" data-preset="contrast" data-primary-color="#307FFF"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="robots" content="noindex"><meta name="built-on" content="2026-03-17T15:46:12.520487389"><title>Set allowed services for a lane based on shown tasks | Copenhagen Truck Wash API</title><script type="application/json" id="virtual-toc-data">[{"id":"endpoint","level":0,"title":"Endpoint","anchor":"#endpoint"},{"id":"operation","level":0,"title":"Operation","anchor":"#operation"},{"id":"authentication","level":0,"title":"Authentication","anchor":"#authentication"},{"id":"request-body","level":0,"title":"Request Body","anchor":"#request-body"},{"id":"responses","level":0,"title":"Responses","anchor":"#responses"}]</script><script type="application/json" id="topic-shortcuts"></script><link href="https://resources.jetbrains.com/writerside/apidoc/6.26.0-b913/app.css" rel="stylesheet"><meta name="msapplication-TileColor" content="#000000"><link rel="apple-touch-icon" sizes="180x180" href="https://jetbrains.com/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://jetbrains.com/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="https://jetbrains.com/favicon-16x16.png"><meta name="msapplication-TileImage" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-144x144.png"><meta name="msapplication-square70x70logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-70x70.png"><meta name="msapplication-square150x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-150x150.png"><meta name="msapplication-wide310x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x150.png"><meta name="msapplication-square310x310logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x310.png"><meta name="image" content=""><!-- Open Graph --><meta property="og:title" content="Set allowed services for a lane based on shown tasks | Copenhagen Truck Wash API"><meta property="og:description" content=""><meta property="og:image" content=""><meta property="og:site_name" content="Copenhagen Truck Wash API Help"><meta property="og:type" content="website"><meta property="og:locale" content="en_US"><meta property="og:url" content="writerside-documentation/setselfservelaneallowedservices.html"><!-- End Open Graph --><!-- Twitter Card --><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content=""><meta name="twitter:title" content="Set allowed services for a lane based on shown tasks | Copenhagen Truck Wash API"><meta name="twitter:description" content=""><meta name="twitter:creator" content=""><meta name="twitter:image:src" content=""><!-- End Twitter Card --><!-- Schema.org WebPage --><script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "WebPage",
"@id": "writerside-documentation/setselfservelaneallowedservices.html#webpage",
"url": "writerside-documentation/setselfservelaneallowedservices.html",
"name": "Set allowed services for a lane based on shown tasks | Copenhagen Truck Wash API",
"description": "",
"image": "",
"inLanguage":"en-US"
}</script><!-- End Schema.org --><!-- Schema.org WebSite --><script type="application/ld+json">{
"@type": "WebSite",
"@id": "writerside-documentation/#website",
"url": "writerside-documentation/",
"name": "Copenhagen Truck Wash API Help"
}</script><!-- End Schema.org --></head><body data-id="setSelfServeLaneAllowedServices" data-main-title="Set allowed services for a lane based on shown tasks" data-article-props="{&quot;seeAlsoStyle&quot;:&quot;links&quot;}" data-template="article" data-breadcrumbs="API-Reference.topic|API Reference///Tag_Modules.topic|Modules///modules_module_self_serve.topic///modules_module_self_serve_page_1.topic"><div class="wrapper"><main class="panel _main"><header class="panel__header"><div class="container"><h3>Copenhagen Truck Wash API Help</h3><div class="panel-trigger"></div></div></header><section class="panel__content"><div class="container"><article class="article" data-shortcut-switcher="inactive"><h1 data-toc="setSelfServeLaneAllowedServices" id="setSelfServeLaneAllowedServices.topic">Set allowed services for a lane based on shown tasks</h1><p id="-zaqlet_2">This endpoint documentation is generated directly from <code class="code" id="-zaqlet_8">openapi.yaml</code>.</p><section class="chapter"><h2 id="endpoint" data-toc="endpoint">Endpoint</h2><div class="code-block" data-lang="http">POST /modules/self-serve/lane/services/allowed</div></section><section class="chapter"><h2 id="operation" data-toc="operation">Operation</h2><p id="-zaqlet_10">Operation ID: <code class="code" id="-zaqlet_12">setSelfServeLaneAllowedServices</code></p><p id="-zaqlet_11">Updates the set of services that are allowed to be manually activated for a given self-serve lane, derived from the tasks currently shown to the user after answering the self-serve questions. This endpoint does not activate anything by itself; it only sets what is allowed to be activated.</p></section><section class="chapter"><h2 id="authentication" data-toc="authentication">Authentication</h2><p id="-zaqlet_13">Security requirements:</p><div class="table-wrapper"><table class="wide" id="-zaqlet_14"><thead><tr class="ijRowHead" id="-zaqlet_15"><th id="-zaqlet_17"><p>Scheme</p></th><th id="-zaqlet_18"><p>Scopes</p></th></tr></thead><tbody><tr id="-zaqlet_16"><td id="-zaqlet_19"><p>BearerAuth</p></td><td id="-zaqlet_20"><p>-</p></td></tr></tbody></table></div></section><section class="chapter"><h2 id="request-body" data-toc="request-body">Request Body</h2><p id="-zaqlet_21">Required: yes.</p><p id="-zaqlet_22">Content type: <code class="code" id="-zaqlet_24">application/json</code></p><div class="code-block" data-lang="json">
{
&quot;properties&quot;: {
&quot;lane_id&quot;: {
&quot;type&quot;: &quot;integer&quot;
},
&quot;task_ids&quot;: {
&quot;description&quot;: &quot;List of task IDs that are currently shown to the user&quot;,
&quot;items&quot;: {
&quot;type&quot;: &quot;integer&quot;
},
&quot;type&quot;: &quot;array&quot;
}
},
&quot;required&quot;: [
&quot;lane_id&quot;
],
&quot;type&quot;: &quot;object&quot;
}
</div></section><section class="chapter"><h2 id="responses" data-toc="responses">Responses</h2><div class="table-wrapper"><table class="wide" id="-zaqlet_25"><thead><tr class="ijRowHead" id="-zaqlet_28"><th id="-zaqlet_32"><p>Status</p></th><th id="-zaqlet_33"><p>Description</p></th><th id="-zaqlet_34"><p>Content Types</p></th></tr></thead><tbody><tr id="-zaqlet_29"><td id="-zaqlet_35"><p>200</p></td><td id="-zaqlet_36"><p>Allowed services updated</p></td><td id="-zaqlet_37"><p>application/json</p></td></tr><tr id="-zaqlet_30"><td id="-zaqlet_38"><p>401</p></td><td id="-zaqlet_39"></td><td id="-zaqlet_40"></td></tr><tr id="-zaqlet_31"><td id="-zaqlet_41"><p>403</p></td><td id="-zaqlet_42"></td><td id="-zaqlet_43"></td></tr></tbody></table></div><p id="-zaqlet_26">Schema for response <code class="code" id="-zaqlet_44">200</code> (<code class="code" id="-zaqlet_45">application/json</code>):</p><div class="code-block" data-lang="json">
{
&quot;properties&quot;: {
&quot;allowed_services&quot;: {
&quot;items&quot;: {
&quot;type&quot;: &quot;string&quot;
},
&quot;type&quot;: &quot;array&quot;
},
&quot;lane_id&quot;: {
&quot;type&quot;: &quot;integer&quot;
}
},
&quot;type&quot;: &quot;object&quot;
}
</div></section><div class="last-modified">17 March 2026</div><div data-feedback-placeholder="true"></div><div class="navigation-links _bottom"><a href="sendselfservelanecommand.html" class="navigation-links__prev">Send self-serve lane command</a><a href="createstripeinvoice.html" class="navigation-links__next">Create Stripe invoice</a></div></article><div id="disqus_thread"></div></div></section></main></div><script src="https://resources.jetbrains.com/writerside/apidoc/6.26.0-b913/app.js"></script></body></html>