Reading Objects
Fetch any CTERA Portal API object or attribute.
API
admin/api/object/member
URI
{BASE_URL}/object/member
For example:
To retrieve details of all users: {BASE_URL}/users
To retrieve details of one user: {BASE_URL}/users/user_ID
HTTP Method
GET
Request Body
empty
Response Body
The current portal object details in XML format.
Expected Response status
200 OK
Java Example
private static String getObject(HttpClient client, String fullURL) throws Exception {
  GetMethod method = new GetMethod(fullURL);
  int statusCode = client.executeMethod(method);
  String result = new String(method.getResponseBody());
  if (statusCode != HttpServletResponse.SC_OK)
    throw new Exception(result);
  return result;
}