<?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>topic Re: SDWAN API - Sync devices from Smart-Account in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/sdwan-api-sync-devices-from-smart-account/m-p/4033180#M9216</link>
    <description>&lt;P&gt;I ran into this too.&amp;nbsp; You do have to include validity_string and it needs to be set to either "valid" or "invalid".&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2020 16:12:32 GMT</pubDate>
    <dc:creator>DerinA-Ent</dc:creator>
    <dc:date>2020-02-20T16:12:32Z</dc:date>
    <item>
      <title>SDWAN API - Sync devices from Smart-Account</title>
      <link>https://community.cisco.com/t5/network-platform-api/sdwan-api-sync-devices-from-smart-account/m-p/3873428#M9215</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Device Inventory&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Sync devices from Smart-Account&lt;/P&gt;
&lt;P&gt;POST:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dataservice/system/device/smartaccount/sync&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;This API has the schema:&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"username": "",&lt;BR /&gt;"password": "",&lt;BR /&gt;"env": "",&lt;BR /&gt;"organization_name": "",&lt;BR /&gt;"validity_string": ""&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;I can't find any documentation on what 'env' or 'validity_string' is. If I don't provide the 'validity_string' I get an error from the API:&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"error": {&lt;BR /&gt;"message": "Invalid JSON input.",&lt;BR /&gt;"details": &lt;STRONG&gt;"Validity not provided",&lt;/STRONG&gt;&lt;BR /&gt;"code": "SAIST0001"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even thought the documentation says this is optional.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Leigh.&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>Sat, 15 Jun 2019 01:58:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sdwan-api-sync-devices-from-smart-account/m-p/3873428#M9215</guid>
      <dc:creator>ljewell</dc:creator>
      <dc:date>2019-06-15T01:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: SDWAN API - Sync devices from Smart-Account</title>
      <link>https://community.cisco.com/t5/network-platform-api/sdwan-api-sync-devices-from-smart-account/m-p/4033180#M9216</link>
      <description>&lt;P&gt;I ran into this too.&amp;nbsp; You do have to include validity_string and it needs to be set to either "valid" or "invalid".&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 16:12:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sdwan-api-sync-devices-from-smart-account/m-p/4033180#M9216</guid>
      <dc:creator>DerinA-Ent</dc:creator>
      <dc:date>2020-02-20T16:12:32Z</dc:date>
    </item>
  </channel>
</rss>

