01-10-2017 11:45 PM - edited 03-01-2019 05:07 AM
Hi,
I would like to create a snapshot with Postman.
I have tried the following :
https://{{URL}}/api/node/mo/uni/fabric/configexp-defaultOneTime.json
Body :
"configExportP\":{\"attributes\":{\"dn\":\"uni/fabric/configexp-defaultOneTime\",\"name\":\"defaultOneTime\",\"snapshot\":\"true\",\"targetDn\":\"\",\"adminSt\":\"triggered\",\"rn\":\"configexp-defaultOneTime\",\"status\":\"created,modified\"}}"
Unfortunately, I have the error code :
"error": {
"attributes": {
"code": "400",
"text": "incomplete node at line '1'"
Any ideas ?
Thank you
Ju
Solved! Go to Solution.
01-11-2017 04:52 AM
Hi Ju
Just POST the following to https://<APIC>/api/mo.json
{
"configExportP": {
"attributes": {
"dn": "uni/fabric/configexp-defaultOneTime",
"adminSt": "triggered"
}
}
}
Marcel
01-11-2017 04:52 AM
Hi Ju
Just POST the following to https://<APIC>/api/mo.json
{
"configExportP": {
"attributes": {
"dn": "uni/fabric/configexp-defaultOneTime",
"adminSt": "triggered"
}
}
}
Marcel
01-11-2017 05:44 AM
Thank you Marcel !
It works :-)
Ju
11-07-2021 01:29 AM
Say i am running a yml script and i am triggering a snapshot at the very beginning of it. I want to wait for that snapshot to fully formed before i proceed to the next task..
The answer of this post is the same as i would see it if i will initiate a snapshot from the APIC GUI - that the snapshot was triggered, however it will take some time before it collect all the info and is available in the UI..
is there a way for making the reply come back only once the snapshot was completely formed ?
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: