<turbo-stream action="update" target="wiki_3611_3715_subpage_3724_info"><template>
<p>Below you see an example on how to start the Read Design process on a specific connection. Examples both in JSON and JSONAPI are provided.</p>

<p>NOTE: Remember to substitute the token (after Bearer) and the service id (the "[SERVICE ID]" below) to your own token and service id.</p>
<p></p><h2>JSON:</h2><p></p>
<pre class="card">curl 
  -H "Authorization: Bearer [API SECURITY TOKEN]"
  -H "Content-Type: application/json" 
  -H "Accept: application/json"
  -X POST
  https://api.myrapidi.com/api/v2/service/[SERVICE ID]/connections/2/readdesign
</pre>
<p>The out-put for this example would be:</p>
<pre class="card">{
  "threadid":"20180926090450Thread",
  "message":"Read Design Started.\u003cbr/\u003e"
}
</pre>
<p></p><h2>JSONAPI:</h2><p></p>
<pre class="card">curl 
  -H "Authorization: Bearer [API SECURITY TOKEN]"
  -H "Content-Type: application/vnd.api+json" 
  -H "Accept: application/vnd.api+json"
  -X POST
  https://api.myrapidi.com/api/v2/service/[SERVICE ID]/connections/2/readdesign
</pre>
<p>The out-put for this example would be:</p>
<pre class="card">{
  "data":{
    "type":"messages",
    "attributes":{
      "threadid":"20180926090450Thread",
      "message":"Read Design Started.\u003cbr/\u003e"
    }
  }
}
</pre>
<p>
In order for you to view the following messages run the 'get message' command - please find the description under <a href="/wiki/REST_API_Messages" title="Rest API Messages">Messages.</a></p>
</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
