Reply

admingroup&_return_fields

Member
Posts: 2
219     0

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?

Re: admingroup&_return_fields

Community Manager
Community Manager
Posts: 144
220     0

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

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You