Skip to main content

business_service_impacts

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

Overview

Namebusiness_service_impacts
TypeResource
Idpagerduty.incidents.business_service_impacts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
namestring
additional_fieldsobject
statusstringThe current impact status of the object (impacted, not_impacted)
typestringThe kind of object that has been impacted (business_service)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectidRetrieve a list of Business Services that are being impacted by the given Incident.<br />Scoped OAuth requires: incidents.read<br />
updateupdateid, business_service_id, relationChange Impact of an Incident on a Business Service.<br />Scoped OAuth requires: incidents.write<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
business_service_idstringThe business service ID.
idstringThe ID of the resource.

SELECT examples

Retrieve a list of Business Services that are being impacted by the given Incident.<br />Scoped OAuth requires: incidents.read<br />

SELECT
id,
name,
additional_fields,
status,
type
FROM pagerduty.incidents.business_service_impacts
WHERE id = '{{ id }}' -- required
;

UPDATE examples

Change Impact of an Incident on a Business Service.<br />Scoped OAuth requires: incidents.write<br />

UPDATE pagerduty.incidents.business_service_impacts
SET
relation = '{{ relation }}'
WHERE
id = '{{ id }}' --required
AND business_service_id = '{{ business_service_id }}' --required
AND relation = '{{ relation }}' --required
RETURNING
relation;