/// <summary> /// Create New Business /// </summary> /// <remarks> /// Creates a new business. /// </remarks> public Task <AuBusinessExportModel> CreateNewBusinessAsync(AuBusinessExportModel model, CreateNewBusinessQueryModel request, CancellationToken cancellationToken = default) { return(ApiRequestAsync <AuBusinessExportModel, AuBusinessExportModel>($"/business?setupDefaultData={request.SetupDefaultData}", model, Method.POST, cancellationToken)); }
/// <summary> /// Create New Business /// </summary> /// <remarks> /// Creates a new business. /// </remarks> public Task <AuBusinessExportModel> CreateNewBusinessAsync(AuBusinessExportModel model, CancellationToken cancellationToken = default) { return(ApiRequestAsync <AuBusinessExportModel, AuBusinessExportModel>($"/business", model, Method.POST, cancellationToken)); }
/// <summary> /// Create New Business /// </summary> /// <remarks> /// Creates a new business. /// </remarks> public AuBusinessExportModel CreateNewBusiness(AuBusinessExportModel model, CreateNewBusinessQueryModel request) { return(ApiRequest <AuBusinessExportModel, AuBusinessExportModel>($"/business?setupDefaultData={request.SetupDefaultData}", model, Method.POST)); }
/// <summary> /// Create New Business /// </summary> /// <remarks> /// Creates a new business. /// </remarks> public AuBusinessExportModel CreateNewBusiness(AuBusinessExportModel model) { return(ApiRequest <AuBusinessExportModel, AuBusinessExportModel>($"/business", model, Method.POST)); }