/// <summary> /// Creates an export in the resource with URI /customObject/<see cref="customObjectId"/>/export. Please note /// that this has not been tested in the Bulk API version 2. /// </summary> /// <param name="export">The export object to be created</param> /// <param name="customObjectId">The unique identifier of the custom object</param> /// <returns>The newly created export object</returns> public async Task <Export> CreateExportAsync(Export export, int customObjectId) => await _exportClient.CreateExportAsync(export, $"/customObject/{customObjectId}/export");
/// <summary> /// Creates an export in the resource with URI /activities/exports. /// </summary> /// <param name="export">The export object to be created</param> /// <returns>The newly created export object</returns> public async Task <Export> CreateExportAsync(Export export) => await _exportClient.CreateExportAsync(export, BulkUrl.ActivityExports);
/// <summary> /// Creates an export in the resource with URI /contacts/exports. /// </summary> /// <param name="export">The export object to be created</param> /// <returns>The newly created export object</returns> public async Task <Export> CreateExportAsync(Export export) => await _exportClient.CreateExportAsync(export, BulkUrl.ContactExports);