Поделиться через


Commerce Foundation VEClientToken CommerceQuery

This operation implements custom search criteria that provide an interface for configuring the web service call to the Virtual Earth Platform.

Syntax

        var queryVEClientToken = new CommerceQuery<CommerceEntity>("BEClientToken");
      

Operation Sequence Components

Operation Sequence Component

Description

VEClientTokenQueryProcessor

Responsible for query operations to Virtual Earth.

Valid Query Operations

The VEClientToken entity requires a custom CommerceVEClientTokenSearch search criteria which will supply the required parameters to process the call to the Virtual Earth Platform:

Property

Description

PlatformEnvironment

The Virtual Earth Platform environment to use for this search: Staging (default) or Production.

ClientIPAddress

The client IP address in IPv4 format.

TokenTimeout

The amount of minutes the token will be valid for. Must be between 15 and 480.

Exceptions

Microsoft Multi-Channel Commerce Foundation can throw FaultException<GeneralOperationFault> during this operation for the following reasons:

  • InvalidOperationRequestException (NoSearchCriteriaInOperation) – a VEClientTokenSearch was not provided

  • InvalidOperationException (VEConfigurationException) – Virtual Earth Platform configuration was invalid or incomplete

  • InvalidOperationException (VEWebServiceException) – web service call to the Virtual Earth Platform failed

See Also

Other Resources

Commerce Foundation VEClientToken

CommerceQuery