RESTful Delete Legacy Labor Metrics

Dayforce RESTful Web Services Developer Guide

Version
R2025.2.1
RESTful Delete Legacy Labor Metrics

This DELETE operation deletes a specific legacy labor metric. The operation uses the following URL:

            https://www.dayforcehcm.com/api/CompanyName/V1/LegacyLaborMetric
        

Parameters

Consumers can delete the data associated with a legacy labor metric using the following parameters:

legacyLaborMetricType (string)

The type of legacy labor metric that will be deleted, such as project client, project type, project phase, product group, and product module. This setting is required.

legacyLaborMetricXRefCode (string)

The unique identifier (external reference code) of the legacy labor metric that will be deleted. The value provided must be an exact match, otherwise a bad request (400) error will be returned. This setting is required.

Security

Deleting an existing legacy labor metric requires role access to the following role features in the Features tab of System AdminRoles:

  • HCM Anywhere
    • Web Services
      • Patch/Post/Delete Legacy Labor Metric
  • Org Setup
    • Labor Metrics
      • Legacy Labor Metrics
        • HTML Product Group
        • HTML Product Module
        • HTML Project Client
        • HTML Project Phase
        • HTML Project Type