getServiceRequest(serviceRequestId)

Retrieve a persisted service request aggregate, including the anchor, custom attributes, and product attributes, by its catalog request ID or anchor record ID. Map values are returned as raw collections.

63.0

No

public static ConnectApi.ServiceRequestGetOutput getServiceRequest(String serviceRequestId)

serviceRequestId

Type: String

ID of the service request to fetch.

Type: ConnectApi.ServiceRequestGetOutputRepresentation

Returns the current details of the specified service request.

To use the ServiceAutomationFamily methods, enable Unified Catalog in your org.

Here’s an example that demonstrates how to retrieve a service catalog request using Apex.