---
title: "POST /ver2/DataService.svc/numericdata/deletedatacommands"
method: POST
path: "/ver2/DataService.svc/numericdata/deletedatacommands"
tags: ["Data"]
---

# POST /ver2/DataService.svc/numericdata/deletedatacommands

`POST /ver2/DataService.svc/numericdata/deletedatacommands`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/DataService.svc/numericdata/deletedatacommands`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/DataService.svc/numericdata/deletedatacommands/post.ts> (a function with typed inputs; its response is checked against the schema)

Deletes all Data Points for a set of one or more Parameters, within a specified date range. Deleting Data Points is an asynchronous process. Upon successfully receiving and queueing the data, a command id is returned. With this command id, the Get Command API can be used to track completion or failure of the data entry command. *Deletions are permanent*.

**SDK API:**  `envianceSdk.data.deleteNumericData(numericDataRanges, onsuccess, onerror)`
null


envianceSdk.data.deleteNumericData
```
[
    [
        {
            "beginDate": "2012-12-01T23:00:00",
            "endDate": "2012-12-02T23:00:00",
            "parameterIdOrTag": "Pay F0415 Fee"
        },
        {
            "beginDate": "2012-12-01T23:00:00",
            "endDate": "2012-12-02T23:00:00",
            "parameterIdOrTag": "FEEP Submittal"
        }
    ],
    "onsuccess",
    "onerror"
]
```

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Request body

- DeleteNumericData
  - `numericDataRanges` EnvianceRestServicesVer2DataNumericDataRangeInfo[]
    - `parameterIdOrTag` string, required
    - `beginDate` string, date-time, required
    - `endDate` string, date-time, required
    - `qualityData` EnvianceRestServicesUdfsProperty[]
      - `name` string
      - `urlItems` EnvianceBusinessUdfRestUrlItem[]
        - `label` string
        - `url` string
      - `values` string[]
      - `beginDate` string, date-time
      - `endDate` string, date-time
      - `caption` string
      - `captionLocalized` string

## Response `default`

not available

- string, guid

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
