---
title: "Registers a notification endpoint to notify application package operations"
method: POST
path: "/user_defined_notification"
tags: ["app-pkgm-notifications"]
---

# Registers a notification endpoint to notify application package operations

`POST /user_defined_notification`

Registers a notification endpoint to notify application package operations

## Request body

- AppPkgNotification — 'This data type represents an application package management notification for informing the subscribers about onboarding application package resources. The notification is triggered when a new application package is onboarded'
  - `id` string, required — ''
  - `notificationType` 'AppPackageOnBoarded' | 'AppPacakgeEnabled' | 'AppPacakgeDisabled' | 'AppPackageDeleted', required — Discriminator for the different notification types
  - `subscriptionId` string, required — Identifier of the subscription related to this notification.
  - `timeStamp` TimeStamp, required
    - `nanoSeconds` integer, required — The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.
    - `seconds` integer, required — The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.
  - `appPkgId` string, required — Identifier of the onboarded application package.
  - `appDId` string, required — Identifier of this MEC application descriptor. This attribute shall be globally unique.
  - `operationalState` 'DISABLED' | 'ENABLED', required
  - `_links` AppPkgNotificationLinks, required — Links to resources related to this resource.
    - `subscription` LinkType, required
      - `href` string, uri, required — URI referring to a resource

## Response `204`

No Content

## Other responses

- `401` — Unauthorized : used when the client did not submit credentials.
- `403` — Forbidden : operation is not allowed given the current status of the resource.
- `404` — Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.
- `429` — Too Many Requests : used when a rate limiter has triggered.

---

[API](https://skmtc.net/etsi/apis/etsi-gs-mec-010-2-part-2-application-lifecycle-rules-and-req.md) · [All operations](https://skmtc.net/etsi/apis/etsi-gs-mec-010-2-part-2-application-lifecycle-rules-and-req/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/etsi/etsi-gs-mec-010-2-part-2-application-lifecycle-rules-and-req/revisions/5e79fac60c9d/schema)
