src/Picturepark.SDK.V1/Partial/TransferClient.cs
/// <summary>Searches files of a given transfer ID.</summary>
/// <param name="transferId">The transfer ID.</param>
/// <param name="limit">The maximum number of search results.</param>
/// <returns>The result.</returns>
Searches files of a given transfer ID.
Searches files of a given transfer ID .
public async Task<FileTransferSearchResult> SearchFilesByTransferIdAsync(string transferId, int limit = 20)
        {
            var request = new FileTransferSearchRequest()
            {
                Limit = limit,
                SearchString = "*",
                Filter = new TermFilter
                {
                    Field = "transferId",
                    Term = transferId
                }
            };
            return await SearchFilesAsync(request).ConfigureAwait(false);
        }
public async Task < FileTransferSearchResult > SearchFilesByTransferIdAsync ( string transferId , int limit = 20 ) { var request = new FileTransferSearchRequest ( ) { Limit = limit , SearchString = " " , Filter = new TermFilter { Field = " " , Term = transferId } } ; return await SearchFilesAsync ( request ) . ConfigureAwait ( false ) ; }
Searches files of a given transfer ID.
Searches files of a given transfer ID .
None
transferId
string
The transfer ID.
The transfer ID .
limit
int
The maximum number of search results.
The maximum number of search results .