cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
612
Views
5
Helpful
2
Replies

Using XMLAPI against an MX using CE9.3 - receive 400

John F
Level 1
Level 1

I am having no problem updating things like community name using

http://endpointip/putxml

and this in the body

<Configuration><NetworkServices><SNMP><CommunityName>ABCD</CommunityName></SNMP></NetworkServices></Configuration>

 

However this is not working. I am receiving a 400.  So I am guessing I have the format incorrect.

 

<Configuration><NetworkServices><SNMP><Host[@item='1']><Address>10.6.15.100</Address></Host[@item='1']></SNMP></NetworkServices></Configuration>

 

Thanks

1 Accepted Solution

Accepted Solutions

Wayne DeNardi
VIP Alumni
VIP Alumni

At a quick glance, your "host" section is incorrectly formatted.

Try:

<Configuration><NetworkServices><SNMP><Host item="1"><Address>10.6.15.100</Address></Host></SNMP></NetworkServices></Configuration>

 

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.

View solution in original post

2 Replies 2

Wayne DeNardi
VIP Alumni
VIP Alumni

At a quick glance, your "host" section is incorrectly formatted.

Try:

<Configuration><NetworkServices><SNMP><Host item="1"><Address>10.6.15.100</Address></Host></SNMP></NetworkServices></Configuration>

 

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.

Thank you. Very helpful. That works.