Skip to main content

business_services_impacts

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

Overview

Namebusiness_services_impacts
TypeResource
Idpagerduty.incidents.business_services_impacts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
namestring
additional_fieldsobject
statusstringThe current impact status of the object
typestringThe kind of object that has been impacted

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_incident_impacted_business_servicesselectid, X-EARLY-ACCESSAcceptRetrieve a list of Business Services that are being impacted by the given Incident.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.
put_incident_manual_business_service_associationexecid, business_service_id, X-EARLY-ACCESS, relationAcceptChange Impact of an Incident on a Business Service.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.
_get_incident_impacted_business_servicesexecid, X-EARLY-ACCESSAcceptRetrieve a list of Business Services that are being impacted by the given Incident.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

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
X-EARLY-ACCESSstringThis header indicates that this API endpoint is UNDER CONSTRUCTION and may change at any time. You MUST pass in this header with the value business-impact-early-access. Do not use this endpoint in production, as it may change!
business_service_idstringThe business service ID.
idstringThe ID of the resource.
AcceptstringThe Accept header is used as a versioning header.

SELECT examples

Retrieve a list of Business Services that are being impacted by the given Incident.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

SELECT
id,
name,
additional_fields,
status,
type
FROM pagerduty.incidents.business_services_impacts
WHERE id = '{{ id }}' -- required
AND X-EARLY-ACCESS = '{{ X-EARLY-ACCESS }}' -- required
AND Accept = '{{ Accept }}'
;

Lifecycle Methods

Change Impact of an Incident on a Business Service.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

EXEC pagerduty.incidents.business_services_impacts.put_incident_manual_business_service_association 
@id='{{ id }}' --required,
@business_service_id='{{ business_service_id }}' --required,
@X-EARLY-ACCESS='{{ X-EARLY-ACCESS }}' --required,
@Accept='{{ Accept }}'
@@json=
'{
"relation": "{{ relation }}"
}'
;