- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
admingroup&_return_fields
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2021 09:00 AM
A call to get the fields for admingroup returns an error 400 "Bad Request" even though the documentation says it is supported on the WAPI Documentation. The call works without the &_return_fields but it only returns name
https://{{grid_master}}/wapi/v2.11.3/admingroup&_return_fields
WAPI DOC
https://{{grid_master}}/wapidoc/objects/admingroup.html?highlight=admingroup#fields
Is anybody else have the same issue?
Solved! Go to Solution.
Re: admingroup&_return_fields
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2021 12:24 PM
You will need to specify which fields you want to return. Like this;
https://192.168.1.2/wapi/v2.11.3/admingroup?_return_fields%2b=access_method,comment,email_addresses
If you need a list of available fields, you can request the schema for the admingroup object;
https://192.168.1.2/wapi/v2.11.3/admingroup?_schema