Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
URGENT, PLEASE HELP : Name Parameter in API
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 07:54 AM
1751     0
Hi Team,
A very small question.
When I add a host using next available function by using API like below
curl -k -u admin:Infoblox -H 'content-type: application/json' -X POST
"https://127.0.0.1/wapi/v2.10/record:host?_return_fields%2B=name,ipv4addrs&_return_as_object=1 " -d '{"name":
"wapi.info.com","ipv4addrs":[{"ipv4addr":"func:nextavailableip:10.10.10.0/24"}]}'
Does the parameter name refers to the host name ??
If in future I want to assign a device with name xyz a IP from subnet in Infoblox using API, should I put "name":xyz in the above API request???