cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2183
Views
1
Helpful
1
Replies

SDWAN API - Sync devices from Smart-Account

ljewell
Cisco Employee
Cisco Employee

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.

 

 

 

1 Reply 1

DerinA-Ent
Level 1
Level 1

I ran into this too.  You do have to include validity_string and it needs to be set to either "valid" or "invalid".

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: