GetOrdersServiceRequest Constructor (RequestContext, QueryResultSettings, String, String, String, String)

Initializes a new instance of the GetOrdersServiceRequest class.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Services.Messages
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Services.Messages (in Microsoft.Dynamics.Commerce.Runtime.Services.Messages.dll)

public GetOrdersServiceRequest(
	RequestContext context,
	QueryResultSettings settings,
	string accountNumber,
	string salesId,
	string transactionId,
	string channelReferenceId
)

Parameters

context
Type: Microsoft.Dynamics.Commerce.Runtime.RequestContext
settings
Type: Microsoft.Dynamics.Commerce.Runtime.QueryResultSettings
accountNumber
Type: System.String
salesId
Type: System.String
transactionId
Type: System.String
channelReferenceId
Type: System.String

Only one of SalesId or TransactionId is required to look up a specific order.

Use TransactionId for pending orders, and SalesId for orders that have been fully created in headquarters.

Community Additions

Show: