This service operation is provided by the NEF for NF service consumers to explicitly subscribe the notification of Traffic Influence Data.
Figure 4.4.2.2.2-1 illustrates the creation of a Individual Traffic Influence Data Subscription.
In order to subscribe to Traffic Influence Data, the NF service consumer (e.g., SMF) shall send a
Nnef_TrafficInfluenceData_Subscribe request using the HTTP POST method to the NEF with
"{apiRoot}/nnef-traffic-influence-data/<apiVersion>/subscriptions" as request URI as shown in step 1 of
Figure 4.4.2.2.2-1. The HTTP POST message shall include TrafficInfluDataSub data structure as request body. The TrafficInfluDataSub data structure shall include:
-
the notification URI in the "notifUri" attribute;
-
the notification correlation identifier in the "notifCorrId" attribute;
-
the identifications of DNN in the "dnns" attribute and/or the identifications of network slice in the "snssais" attribute;
and may include:
-
the identification(s) of target UE(s) in the "supis" attribute;
-
the any UE indication in the "anyUe" attribute;
-
the identification(s) of the HPLMN in the "hplmnId" attribute;
-
the UE address(es) either in the "ipv4Addrs" attribute or in the "ipv6Addrs" attribute;
-
the reporting requirements of the subscription in "rptInfo" attribute.
Upon receipt of the HTTP request from the NF service consumers (e.g., SMF), the NEF shall interact with the UDR by invoking the
Nudr_DataRepository service as described in
TS 29.504 to retrieve and subscribe to the Traffic Influence Data in the application data in the UDR.
After receiving a successful response from the UDR, the NEF shall create a new subscription and assign a subscription identifier for the
"Individual Traffic Influence Data Subscription" resource. Then the NEF shall send an HTTP
"201 Created" response with TrafficInfluDataSub data structure as response body and a Location header field containing the URI of the created individual subscription resource to the NF service consumer.
If the immediate report indication is included in the subscription request, the NEF shall include the currently available Traffic Influence Data in the response body.
If errors occur when processing the HTTP POST request or receiving an error code from the UDR, the NEF shall send an HTTP error response as specified in
clause 5.3.7.
Figure 4.4.2.2.3-1 illustrates the modification of an existing subscription.
To modify an existing subscription to event notifications, the NF service consumer shall send an HTTP PUT request with:
"{apiRoot}/nnef-traffic-influence-data/<apiVersion>/subscriptions/{subscriptionId}" as request URI, as shown in step 1 of
Figure 4.4.2.2.3-1, where
"{subscriptionId}" is the subscription ID of the existing subscription. The TrafficInfluDataSub data structure is included as request body as described in
clause 4.4.2.2.2.
Upon successful reception of an HTTP PUT request with:
"{apiRoot}/nnef-traffic-influence-data/<apiVersion>/subscriptions/{subscriptionId}" as request URI and TrafficInfluDataSub data structure as request body, the NEF shall interact with the UDR by invoking the
Nudr_DataRepository service as described in
TS 29.504 to retrieve and subscribe to the Traffic Influence Data in the application data in the UDR.
After receiving a successful response from the UDR, the NEF shall:
-
send HTTP "200 OK" response (as shown in Figure 4.4.2.2.3-1, step 2a) with a response body containing a representation of the updated subscription in the TrafficInfluDataSub data type; or
-
send HTTP "204 No Content" response (as shown in Figure 4.4.2.2.3-1, step 2b).
If the immediate report indication is included in the subscription request, the NEF shall include the currently available Traffic Influence Data in the response body.
If the received HTTP PUT request needs to be redirected, the NEF shall send an HTTP redirect response as specified in
clause 6.10.9 of TS 29.500.
If errors occur when processing the HTTP PUT request or receiving an error code from the UDR, the NEF shall send an HTTP error response as specified in
clause 5.3.7.