<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "Betreff: API usage questions" in Getting started programming with the Viessmann API</title>
    <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178726#M27</link>
    <description>&lt;P&gt;Thanks for the answer, I have to admit to been fooled by the Chrome browser. Chrome gave me a response by pasting the string like "&lt;A href="https://api.viessmann.com/service-documents/v3/&amp;quot;" target="_blank"&gt;https://api.viessmann.com/service-documents/v3/"&lt;/A&gt;&amp;nbsp;into the address line. It WAS my understanding that doing it that way no Authentification would have been used. This is not case, although I have no idea (stupid .me) how my token could have been used by the browser. I did use the token on a POSTMAN tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 13:55:26 GMT</pubDate>
    <dc:creator>JueBag</dc:creator>
    <dc:date>2021-06-21T13:55:26Z</dc:date>
    <item>
      <title>API usage questions</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178693#M25</link>
      <description>&lt;P&gt;With the help of&amp;nbsp;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/29136"&gt;@CustomerCareMichael&lt;/a&gt;&amp;nbsp;I was able to get my first API token. Thanks for that!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I do have some follow up questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refresh Token:&lt;/P&gt;&lt;P&gt;I noticed that the Refresh Token stays the same. Is that true for all the time?&lt;/P&gt;&lt;P&gt;Regarding the documentation for refreshing a token I do suggest to use the scope&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-string"&gt;IoT%20User%20&lt;SPAN class="highlight"&gt;offline_access&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;in Step 1 as well, that way the step of refreshing the API Token is done more easily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usage of API calls:&lt;/P&gt;&lt;P&gt;In the Section IOT you show examples on how to get InstallationID etc.&lt;/P&gt;&lt;P&gt;Those examples are using&amp;nbsp;&lt;A href="https://api.viessmann.com/iot/v1" target="_self"&gt;https://api.viessmann.com/iot/v&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;will that remain possible after July 15th? I guess not, otherwise, we would not need an AccessToken.&lt;/P&gt;&lt;P&gt;Only in the section Service documents a Version 3 is stated. Doing a request on those just returns.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"startedAt"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"2021-06-18T12:24:21.567Z"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"version"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"3.4.0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How should one get a document with that?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 11:10:25 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178693#M25</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-21T11:10:25Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178698#M26</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/23149"&gt;@JueBag&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your suggestion concerning the documentation. We will check how we can have clearer overview for the user, which scopes are available beforehand.&lt;/P&gt;
&lt;P&gt;Once you requested a refresh token, it will stay the same so that you can use it to obtain an access token. However, when requesting another refresh token, it will be new one that you will get. My suggestion is creating a refresh token once and then only performing step 2 in the authorization flow:&amp;nbsp;&lt;A href="https://developer.viessmann.com/en/doc/authentication" target="_blank" rel="noopener"&gt;https://developer.viessmann.com/en/doc/authentication&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please do not get confused with the versioning within the API calls (URLs). There is no new API that is released after July 15th. What we are doing is that we are disabling an API key that is currently being by a lot of users. Instead, our intention is that everyone is obtaining their own personal API key through the Developer Portal.&lt;/P&gt;
&lt;P&gt;The versioning you are seeing is related to the services behind the API call and can be different for each service. You find the version of a service at the top of each page in the documentation, see the attachment image for installation features.&lt;/P&gt;
&lt;P&gt;I hope this answers your questions.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 13:51:16 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178698#M26</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2021-06-21T13:51:16Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178726#M27</link>
      <description>&lt;P&gt;Thanks for the answer, I have to admit to been fooled by the Chrome browser. Chrome gave me a response by pasting the string like "&lt;A href="https://api.viessmann.com/service-documents/v3/&amp;quot;" target="_blank"&gt;https://api.viessmann.com/service-documents/v3/"&lt;/A&gt;&amp;nbsp;into the address line. It WAS my understanding that doing it that way no Authentification would have been used. This is not case, although I have no idea (stupid .me) how my token could have been used by the browser. I did use the token on a POSTMAN tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 13:55:26 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178726#M27</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-21T13:55:26Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178771#M28</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/23149"&gt;@JueBag&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;your token has not been used by the browser I assume. Calling&amp;nbsp;&lt;A href="https://api.viessmann.com/service-documents/v3/" target="_blank"&gt;https://api.viessmann.com/service-documents/v3/&lt;/A&gt;&amp;nbsp;does not need any token in order to&amp;nbsp;call the service. This is why your browser received the correct response.&lt;/P&gt;
&lt;P&gt;If you for example call&amp;nbsp;&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/&lt;/A&gt;&amp;nbsp;within your browser, you will get an error 401 "UNAUTHORIZED"; "NO TOKEN AVAILABLE", because you need an access token to call this service.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 06:09:04 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions/m-p/178771#M28</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2021-06-22T06:09:04Z</dc:date>
    </item>
  </channel>
</rss>

