cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15
Views
1
Helpful
1
Replies
Highlighted
Cisco Employee

NorthBound Restful call with attribute throws error

 

Hi Team,

 

Looks like REST based  input doesn't accept XML tag attribute, is that usual behavior and we use tags instead of attributes or I am doing something wrong. Any help is appreciated.

 

 

I am using  “tailf:action”.

 


One with issue
<device_instance dev_name=“device_name" vlan=“100">
Other tags
</device_instance>


One working fine
<device_instance>
<dev_name>device_name</dev_name>
<pvlan>100</pvlan>
</device_instance>

Everyone's tags (3)
1 REPLY 1
Cisco Employee

Re: NorthBound Restful call with attribute throws error

 

Imran,

 

That’s right, the REST interface is based on YANG and the corresponding element-based mapping.

 

Content for Community-Ad
August's Community Spotlight Awards