Gets the details of a Resource Group.
Authentication
Requires Authorization
header with valid Bearer token for scope itwin-platform
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Rate limits
All iTwin Platform API operations have a rate limit. For more documentation on that visit Rate limits and quotas page.
Request parameters
Unique resource group Id.
The unique identifier of the Schedule.
Request headers
OAuth access token with itwin-platform
scope
Setting to application/vnd.bentley.itwin-platform.v1+json
is recommended.
Response 200 OK
Success
{ "resourceGroup": { "description": "Test resource group", "foremanResourceId": "479410c4-e9eb-4429-8638-814dc86a7287", "generalForemanResourceId": "22a7eae3-cd00-4bf6-b562-561cad2a6f68", "id": "49aa4a19-e1ff-4a03-a97c-dff77b746761", "name": "Resource Group 1", "plannerResourceId": "a1f4d12e-940a-4755-94ca-f633c6fa035d", "superintendentResourceId": "247fae89-6ee0-4dbe-bbc7-dd9cdb7a6f4c", "url": "https://example.com", "userDefinedId": "Custom Id 001" } }
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 404 Not Found
This response indicates that the provided Resource Group or Schedule is not available.
{ "error": { "code": "ResourceGroupNotFound", "message": "Requested Resource Group is not available." } }
Response 429 Too many requests
This response indicates that the client sent more requests than allowed by this API for the current tier of the client.
{ "error": { "code": "RateLimitExceeded", "message": "The client sent more requests than allowed by this API for the current tier of the client." } }
Response headers
Number of seconds to wait until client is allowed to make more requests.
Resource Group
Representation of a Resource Group.
The description of the Resource Group.
The unique identifier of the Human Resource that is the Foreman of the Resource Group.
The unique identifier of the Human Resource that is the General Foreman of the Resource Group.
The unique identifier of the Resource Group.
The name of the Resource Group.
The unique identifier of the Human Resource that is the Planner of the Resource Group.
The unique identifier of the Human Resource that is the Superintendant of the Resource Group.
A URL associated with the Resource Group.
A unique Resource Group Id defined by the user.
{ "title": "Resource Group", "type": "object", "properties": { "description": { "type": "string", "description": "The description of the Resource Group.", "nullable": true }, "foremanResourceId": { "type": "string", "description": "The unique identifier of the Human Resource that is the Foreman of the Resource Group.", "nullable": true }, "generalForemanResourceId": { "type": "string", "description": "The unique identifier of the Human Resource that is the General Foreman of the Resource Group.", "nullable": true }, "id": { "type": "string", "description": "The unique identifier of the Resource Group." }, "name": { "type": "string", "description": "The name of the Resource Group." }, "plannerResourceId": { "type": "string", "description": "The unique identifier of the Human Resource that is the Planner of the Resource Group.", "nullable": true }, "superintendentResourceId": { "type": "string", "description": "The unique identifier of the Human Resource that is the Superintendant of the Resource Group.", "nullable": true }, "url": { "type": "string", "description": "A URL associated with the Resource Group.", "nullable": true }, "userDefinedId": { "type": "string", "description": "A unique Resource Group Id defined by the user.", "nullable": true } }, "additionalProperties": false, "description": "Representation of a Resource Group." }
Resource Group Response
Container for Resource Group object.
{ "title": "Resource Group Response", "type": "object", "properties": { "resourceGroup": { "$ref": "#/components/schemas/ResourceGroup", "description": "Resource Group properties." } }, "additionalProperties": false, "description": "Container for Resource Group object." }
Error
Contains error information.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
{ "type": "object", "description": "Contains error information.", "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "target": { "type": "string", "description": "The target of the error.", "nullable": true } }, "required": [ "code", "message" ], "additionalProperties": true }
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "type": "object", "title": "Error Response", "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.", "properties": { "error": { "description": "Error information.", "$ref": "#/components/schemas/Error" } }, "required": [ "error" ], "additionalProperties": false }
Was this page helpful?