---
title: "GET /ver2/PackageService.svc/packages/{packageIdOrName}/data/{key}"
method: GET
path: "/ver2/PackageService.svc/packages/{packageIdOrName}/data/{key}"
tags: ["Package"]
---

# GET /ver2/PackageService.svc/packages/{packageIdOrName}/data/{key}

`GET /ver2/PackageService.svc/packages/{packageIdOrName}/data/{key}`

## 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/PackageService.svc/packages/{packageIdOrName}/data/{key}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/PackageService.svc/packages/:packageIdOrName/data/:key/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves an existing Enviance App (Package) data key-value pair, using the specified unique key. If user does not have permissions to retrieve data it returns empty string. No Errors thrown.

**Security:** Requires Manage Enviance Apps system right.

**SDK API:**  `envianceSdk.packages.getPackageAppData(packageIdOrName, key, onsuccess, onerror)`

```
GET /ver2/PackageService.svc/packages/Incident%20Tracker HTTP/1.1

//RESPONSE
{
  "id": "4657bd77-fced-42be-a491-d63a59c42a4c",
  "name": "Incident Tracker",
  "description": "Incident tracking and management.",
  "displayPage": "/index.html",
  "iconSrc": "/imgs/icon.png",
  "isLocked": "false",
  "created": "2011-02-02T08:44",
  "createdBy": "JSmith",
  "lastModified": "2012-12-03T21:35"
}

```



envianceSdk.packages.getPackageAppData
```
[
  "Tracker 001",
  "key1",
  "onsuccess",
  "onerror"
]
```
["ApplicationID", "someKey", "onsuccess", "onerror"] // Expected value should be valid JSON, not scalar value or string

## Path parameters

- `packageIdOrName` string, required
- `key` string, required

## Query parameters

- `dtype` string, required

## 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

## Response `default`

not available

- object

---

[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)
