GraphRequest Class

Contains constructors and properties to set the graph ID and a list of records to be ingested. The list of records is specified in a key-value map format that contains the field values of an order.

PlaceQuote

Invoke the Place Quote Apex API by using these steps.

  • Set up a quote and quote line item. To associate the Record object with a reference identifier, create an instance of the RecordWithReferenceRequest class.

  • To create a quote line relationship, create an instance of the RecordResource class.

  • Create the list of records to be ingested.

  • To contain all record objects, create an instance of the GraphRequest class.

    The CatalogRatesPreferenceEnum enum is available when the Usage-Based Selling feature is enabled.

  • GraphRequest Constructors

    Learn more about the available constructors with the GraphRequest class.

  • GraphRequest Properties

Learn more about the available constructors with the GraphRequest class.

The GraphRequest class includes these constructors.

Creates an instance of the GraphRequest class to assign the graph ID and a list of records to be ingested.

public GraphRequest(String graphId, List<placequote.RecordWithReferenceRequest> records)

graphId

Type: String

ID of the graph.

records

Type: List<placequote.RecordWithReferenceRequest>

List of records to be ingested.

The following are properties for GraphRequest.

  • graphId

    Set the graphId property to assign the ID value of the graph.

Set the graphId property to assign the ID value of the graph.

public String graphId {get; set;}

Type: String