sdk/search/src/generated/SearchOperationsExtensions.cs
/// <summary>
/// Bing Commerce Custom Search Query.
/// </summary>
/// <remarks>
/// POST requests accept complex search request options.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='body'>
/// </param>
/// <param name='tenant'>
/// </param>
/// <param name='index'>
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Bing Commerce Custom Search Query.
Bing Commerce Custom Search Query .
public static async Task<CommerceSearchResponse> PostAsync(this ISearchOperations operations, CommerceSearchPostRequest body, string tenant, string index, CancellationToken cancellationToken = default(CancellationToken))
            {
                using (var _result = await operations.PostWithHttpMessagesAsync(body, tenant, index, null, cancellationToken).ConfigureAwait(false))
                {
                    return _result.Body;
                }
            }
public static async Task < CommerceSearchResponse > PostAsync ( this ISearchOperations operations , CommerceSearchPostRequest body , string tenant , string index , CancellationToken cancellationToken = default ( CancellationToken ) ) { using ( var _result = await operations . PostWithHttpMessagesAsync ( body , tenant , index , null , cancellationToken ) . ConfigureAwait ( false ) ) { return _result . Body ; } }
Bing Commerce Custom Search Query.
Bing Commerce Custom Search Query .
ISearchOperations
this
body
CommerceSearchPostRequest
None
tenant
string
None
index
string
None
cancellationToken
CancellationToken
The cancellation token.
The cancellation token .
operations
The operations group for this extension method.
The operations group for this extension method .
remarks
POST requests accept complex search request options.
POST requests accept complex search request options .