- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Need help with adding a custom field to API call
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 12:56 PM - edited 10-07-2023 08:41 AM
Hello,
I am new to the community. I work on ServiceNow and trying to build integration between Infoblox and ServiceNow. My goal is to pull DHCP subnet data and document it in ServiceNow. Part of the process I am using the following API call where I am pulling Network, Comment columns and also a custom column that was added by our Infoblox team. Below is my sample call where I am trying to add a custom field(my_custom_field) but running into issues because API doesn't recognize the custom columns. Not sure what I am missing, appreciate any insight into adding the custom field to the '_return_fields'.
-->https://mycompanyurl/wapi/v2.3./network?_return_fields=network,comment,my_custom_field
Solved! Go to Solution.
Re: Need help with adding a custom field to API call
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 09:37 AM
Custom fields are always Extensible Attributes (EAs). Ask for the "extattrs" field to be returned, and then all EA attribute/value pairs will also be returned.