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
get_business_service_service_dependenciesselectidAccept, Content-TypeGet all immediate dependencies of any Business Service.

Business Services model capabilities that span multiple technical services and that may be owned by several different teams.

For more information see the API Concepts Document

Scoped OAuth requires: services.read
_get_business_service_service_dependenciesexecidAccept, Content-TypeGet all immediate dependencies of any Business Service.

Business Services model capabilities that span multiple technical services and that may be owned by several different teams.

For more information see the API Concepts Document

Scoped OAuth requires: services.read

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.
AcceptstringThe Accept header is used as a versioning header.
Content-Typestring

SELECT examples

Get all immediate dependencies of any Business Service.

Business Services model capabilities that span multiple technical services and that may be owned by several different teams.

For more information see the API Concepts Document

Scoped OAuth requires: services.read

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

Lifecycle Methods

Get all immediate dependencies of any Business Service.

Business Services model capabilities that span multiple technical services and that may be owned by several different teams.

For more information see the API Concepts Document

Scoped OAuth requires: services.read

EXEC pagerduty.service_dependencies.business_services._get_business_service_service_dependencies 
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
;