Subscription(PATCH) Call Flow
The NRF updates the subscription to notifications on NF Instances to refresh the validity time, when the specified time is due to expire. The SMF can request a new validity time to the NRF. The NRF can assign and provide a new validity time to the NF, if the operation is successful.
Updating the "subscriptionID" resource, initiates the Subscription(PATCH) operation. Issuing an HTTP PATCH request on the URI representing the individual resource, starts the operation.

Step | Description |
---|---|
1 |
The SMF sends a PATCH request to the resource URI identifying the individual subscription resource. The payload body of the PATCH request contains a "replace" operation on the "validityTime" attribute of the SubscriptionData structure. The request also contains a new suggested value for the "validityTime" attribute. This replace operation does not replace any other attribute of the resource. |
2a |
When a subscription is successful, the NRF sends a "204 No Content" response. This indicates that the NRF accepts:
|
2b |
The NRF returns a "400 Bad Request" status code with the problem details if the subscription fails due to errors in the JSON Patch object in the request body. |
2c |
The NRF returns a "500 Internal Server Error" with the problem details if the subscription fails due to internal errors in the NRF. Example:
|