Read all ObjectGroupCollections

Retrieves a list of ObjectGroupCollection header objects from the database

With this method, you send a request to the server to retrieve a subset of all ObjectGroupCollection header objects, according to the filter criteria provided. For a collective request for a set of ObjectGroupCollection header objects, you have these options:

  • You can sort and restrict the set of ObjectGroupCollection headers to be retrieved based on the following fields:
    • tenant
    • objectGroupCollectionID
    • objectGroupCollectionName
  • You can define that the set of matching ObjectGroupCollection headers shall not be transmitted all at once, but in a paged manner so that only a small number of results is transmitted, thereby reducing the server load.

If the list of ObjectGroupCollection headers is successfully retrieved, the server sends HTTP response code 200. Any other code indicates an error.

Request

URI: /ObjectGroupCollections

HTTP Method: GET

Permissions: <auth>.r

Query String Parameters

Name Required Type Description
$skip No integer Number of the first n records to be excluded from the result set
$top No integer Number of records to include in the result set
$orderby No string Field name to be used for sorting the result set in ascending or descending order
$filter No string Filter condition to be applied; valid fields are tenant, objectGroupCollectionID, and objectGroupCollectionName

Request Example

/ObjectGroupCollections

Retrieves all ObjectGroupCollection headers that are available for the currently logged on user.

/ObjectGroupCollections?$top=25

Retrieves the first 25 ObjectGroupCollection headers. Data is retrieved in page mode to reduce network load and response times.

/ObjectGroupCollections?$skip=10&$top=20

Retrieves 20 ObjectGroupCollection header objects from the database where the first 10 ObjectGroupCollection header objects are omitted. That is, the retrieved headers are those with sequence numbers 11 through 30.

/ObjectGroupCollections?$filter=tenant eq 'Customer-test001'&$orderby=objectGroupCollectionName

Retrieves all ObjectGroupCollection headers from the database that belong to the specified tenant. The list of headers is alphabetically sorted based on their names.

Response

Format: JSON

Payload

{ 
    "objectGroupCollectionID"   : { "type": "string", "maxLength": 32},
    "objectGroupCollectionName" : { "type": "string", "maxLength": 255, "required": "true" },
    "tenant"                    : { "type": "string", "maxLength": 36 },
    "etag"                      : { "type": "string" }
}

Response Status and Error Codes

Code Reason
200 ObjectGroupCollection headers retrieved successfully