/// <summary> /// Create Pay Rate Template /// </summary> /// <remarks> /// Creates a new pay rate template for the business. /// </remarks> public Task <AuPayRateTemplateModel> CreatePayRateTemplateAsync(int businessId, AuPayRateTemplateModel payRateTemplate, CancellationToken cancellationToken = default) { return(ApiRequestAsync <AuPayRateTemplateModel, AuPayRateTemplateModel>($"/business/{businessId}/payratetemplate", payRateTemplate, Method.POST, cancellationToken)); }
/// <summary> /// Update Pay Rate Template /// </summary> /// <remarks> /// Updates the pay rate template with the specified ID. /// </remarks> public AuPayRateTemplateModel UpdatePayRateTemplate(int businessId, int id, AuPayRateTemplateModel payRateTemplate) { return(ApiRequest <AuPayRateTemplateModel, AuPayRateTemplateModel>($"/business/{businessId}/payratetemplate/{id}", payRateTemplate, Method.PUT)); }
/// <summary> /// Create Pay Rate Template /// </summary> /// <remarks> /// Creates a new pay rate template for the business. /// </remarks> public AuPayRateTemplateModel CreatePayRateTemplate(int businessId, AuPayRateTemplateModel payRateTemplate) { return(ApiRequest <AuPayRateTemplateModel, AuPayRateTemplateModel>($"/business/{businessId}/payratetemplate", payRateTemplate, Method.POST)); }