createServiceRequest(ServiceRequestInput)
Create a service catalog request for a Unified Catalog product.
63.0
No
public static ConnectApi.ServiceRequestOutput createServiceRequest(ConnectApi.ServiceRequestInput ServiceRequestInput)
- ServiceRequestInput
Type:
ConnectApi.ServiceRequestInputRepresentationInput details for the service catalog request, including product, attributes, and optional context.
Type: ConnectApi.ServiceRequestOutputRepresentation
Output containing details of the created service catalog request and anchor record information.
This method persists the submitted attributes, executes the product’s configured intake and preprocessor logic, starts the associated fulfillment flow, creates the service catalog request, and returns the created request with its anchor record details.
Here’s an example of how to create the service catalog request from Apex code.