SDWAN API - Sync devices from Smart-Account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 06:58 PM
Device Inventory
Sync devices from Smart-Account
POST:
dataservice/system/device/smartaccount/sync
This API has the schema:
{
"username": "",
"password": "",
"env": "",
"organization_name": "",
"validity_string": ""
}
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:
{
"error": {
"message": "Invalid JSON input.",
"details": "Validity not provided",
"code": "SAIST0001"
}
}
Even thought the documentation says this is optional.
Thanks
Leigh.
- Labels:
-
Cisco DNA
-
Network Plug-and-Play
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2020 08:12 AM
I ran into this too. You do have to include validity_string and it needs to be set to either "valid" or "invalid".
