This service operation is provided by the NEF for the NF service consumers to explicitly subscribe the notification of DNAI Mapping Information.
Figure 4.6.2.2.2-1 illustrates the creation of a Individual DNAI Mapping Information Subscription.
In order to subscribe to DNAI Mapping Information, the NF service consumer shall send an
Nnef_DNAIMapping_Subscribe request using the HTTP POST method to the NEF with
"{apiRoot}/nnef-dnai-mapping/<apiVersion>/subscriptions" as request URI as shown in step 1 of
Figure 4.6.2.2.2-1. The HTTP POST message shall include DnaiMapSub data structure as request body. The contents of the DnaiMapSub data structure are as described in
clause 4.4.34.2 of TS 29.522.
Upon receipt of the corresponding HTTP POST message, the NEF shall interact with the UDR by invoking the
Nudr_DataRepository service as described in
TS 29.504, if the NEF receives an error response from the UDR, the NEF shall not create the resource and shall respond to the NF service consumer with a proper error status code. If the NEF received within an error response a
"ProblemDetails" data structure with a
"cause" attribute indicating an application error, the NEF shall relay this error response to the NF service consumer with a corresponding application error, when applicable.
On successful DNAI Mapping subscription creation, the NEF shall return an HTTP POST response with an HTTP
"201 Created" status code to the NF service consumer, including a
"Location" header containing the URI of the created
"Individual DNAI Mapping Subscription" resource and the response body containing a representation of the created resource within the DnaiMapSub data structure. The contents of the DnaiMapSub data structure in the response are as described for the subscription response in
clause 4.4.34.2 of TS 29.522.
On failure, the NEF shall take proper error handling actions, as specified in
clause 5.5.7, and respond to the NF service consumer with an appropriate error status code.