Create an ObjectGroupCollection
With this method, you create a new ObjectGroupCollection header object
The most convenient way of creating an ObjectGroupCollection header object is to create an ObjectGroupCollectionItem object with a reference to a header object that does not yet exist. However, for certain use cases, this implicit object creation may not be the preferred approach. Therefore, a dedicated Create method is also available although a single header object (i.e., without assigned items) cannot carry any business logic or semantics.
Request
URI: /ObjectGroupCollections
HTTP Method: POST
Permissions: <auth>.r
Request Parameters
None.
Request Example
/ObjectGroupCollections
Payload
{
"objectGroupCollectionID" : { "type": "string", "maxLength": 32},
"objectGroupCollectionName" : { "type": "string", "maxLength": 255, "required": "true" },
"tenant" : { "type": "string", "maxLength": 36 },
"etag" : { "type": "string" }
}
Response
Response Headers
| Header | Description |
|---|---|
| Location | Path to the newly created ObjectGroupCollection header object |
Response Status and Error Codes
| Code | Description |
|---|---|
| 201 | ObjectGroupCollection created successfully |
| 403 | Forbidden (user is not authorized to create an ObjectGroupCollection) |