Skip to main content

business_services

Creates, updates, deletes, gets or lists a business_services resource.

Overview

Namebusiness_services
TypeResource
Idpagerduty.service_dependencies.business_services

Fields

The following fields are returned by SELECT queries:

An array of service relationships.

NameDatatypeDescription
idstring
dependent_serviceobjectThe reference to the service that is dependent on the Business Service.
supporting_serviceobjectThe reference to the service that supports the Business Service.
typestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectidGet all immediate dependencies of any Business Service.<br /><br />Business Services model capabilities that span multiple technical services and that may be owned by several different teams.<br /><br />For more information see the [API Concepts Document](https:​//developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#business-services)<br /><br />Scoped OAuth requires: services.read<br />

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe ID of the resource.

SELECT examples

Get all immediate dependencies of any Business Service.<br /><br />Business Services model capabilities that span multiple technical services and that may be owned by several different teams.<br /><br />For more information see the [API Concepts Document](https:​//developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#business-services)<br /><br />Scoped OAuth requires: services.read<br />

SELECT
id,
dependent_service,
supporting_service,
type
FROM pagerduty.service_dependencies.business_services
WHERE id = '{{ id }}' -- required
;