Adding device serial number to Panorama with API

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding device serial number to Panorama with API

L2 Linker

I am trying to add a PA-VM to the Panorama using the Panorama API.


I try:[@name='all']&element=<serial>12345678012345</serial>


and I get :


StatusCode : 200
StatusDescription : OK
Content : <response status="error" code="12"><msg><line>At most 1 occurrence is allowed for devices/entry</line></msg></response>



To show devices the the commad is:






What is the correct API call to add a serial number to the Panorama?








1 accepted solution

Accepted Solutions

L2 Linker

Getting closer, but not quite




<response status="error" code="12">
<line>Invalid target object in set handler</line>
any ideas? Thanks


Just FYI, and I forget to do it often as well, but when passing along API values you should put it in a Code box. This stops Live from auto-formating the API request as an actual hyperlink, which often breaks longer URLs and makes it difficult for people to see what they should actually be using. 


  • 1 accepted solution
  • 3 replies
  • 101 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!