Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 26.532  Word version:  18.5.0

Top   Top   Up   Prev   Next
1…   4…   5…   6…   7…   8…   9…   A…   B…

 

7  Ndcaf_DataReporting servicep. 49

7.1  Generalp. 49

This clause specifies the APIs used by clients of the Data Collection AF to obtain a data collection and reporting configuration from, and then report data to, the Data Collection AF.

7.2  Resourcesp. 49

7.2.1  Resource structurep. 49

Figure 7.2.1-1 depicts the URL path model for the Ndcaf_DataReporting service.
Copy of original 3GPP image for 3GPP TS 26.532, Fig. 7.2.1-1: URL path model of Ndcaf_DataReporting service API
Up
Table 7.2.1-1 provides an overview of the resources and applicable HTTP methods.
Service name Operation name Resource name Resource path suffix HTTP method or custom operation path suffix Description
Ndcaf_DataReportingCreateSessionData Reporting Sessions/sessionsPOSTData collection client establishes a UE data reporting session with the Data Collection AF, providing information about what UE data it can report, and is provided with a configuration in response.
RetrieveSessionData Reporting Session/sessions/{sessionId}GETRetrieves a Data Reporting Session resource from the Data Collection AF.
DestroySessionDELETEDestroys a Data Reporting Session resource.
Report/report (POST)Data collection client reports data to the Data Collection AF via the established Data Reporting Session.
Up

7.2.2  Data Reporting Sessions resource collectionp. 50

7.2.2.1  Descriptionp. 50

The Data Reporting Sessions resource collection represents the set of all Data Collection Sessions at a given Data Collection AF (service) instance. The resource collection allows a data collection client to create a new Data Reporting Session resource at, and to receive configuration details for that session from, the Data Collection AF.

7.2.2.2  Resource definitionp. 50

Resource URL:
{apiRoot}/3gpp-ndcaf_data-reporting/{apiVersion}/sessions
This resource shall support the resource URL variables defined in Table 7.2.2.2-1.
Name Data type Definition
apiRootstringSee clause 5.2
apiVersionstringSee clause 5.2.
Up

7.2.2.3  Resource standard methodsp. 50

7.2.2.3.1  Ndcaf_DataReporting_CreateSession operation using POST methodp. 50
This service operation shall support the URL query parameters specified in Table 7.2.2.3.1-1.
Parameter Data type P Cardi­nality Description
This service operation shall support the request data structures specified in Table 7.2.2.3.1-2 and the response data structures and response codes specified in Table 7.2.2.3.1-4.
Data type P Cardi­nality Description
DataReportingSessionM1Data supplied by the data collection client to enable creation of a new Data Reporting Session at the Data Collection AF.
HTTP request header Data type P Cardi­nality Description
AuthorizationstringM1For authentication of the data collection client. (NOTE 1)
OriginstringO0..1Indicates the origin of the requester. (NOTE 2)
NOTE 1:
If OAuth 2.0 authorization is used the value is Bearer followed by a string representing the access token, see Section 2.1 of RFC 6750.
NOTE 2:
The Origin header is always supplied if the data collection client is deployed in a web browser.
Data type P Cardi­nality Response codes Description
DataReportingSessionM1201 CreatedThe creation of a Data Reporting Session is confirmed and configuration data for the data collection client for the session is provided by the Data Collection AF.
NOTE:
The mandatory HTTP error status codes for the POST method listed in Table 5.2.7.1-1 of TS 29.500 also apply.
HTTP response header Data type P Cardi­nality Description
LocationstringM1The URL of the newly created resource at the Data Collection AF.
Access-Control-Allow-OriginstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Access-Control-Allow-MethodsstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: POST, PUT, DELETE
Access-Control-Expose-HeadersstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: Location
Up

7.2.3  Data Reporting Session resourcep. 52

7.2.3.1  Descriptionp. 52

The Data Reporting Session resource represents a single session within the collection of Data Reporting Sessions at a given Data Collection AF.

7.2.3.2  Resource definitionp. 52

Resource URL:
{apiRoot}/3gpp-ndcaf_data-reporting/{apiVersion}/sessions/{sessionId}
This resource shall support the resource URI variables defined in Table 7.2.3.2-1.
Name Data type Definition
apiRootstringSee clause 5.2
apiVersionstringSee clause 5.2.
sessionIdstringIdentifies a Data Reporting Session at the Data Collection AF.
Up

7.2.3.3  Resource standard methodsp. 52

7.2.3.3.1  Ndcaf_DataReporting_RetrieveSession operation using GET methodp. 52
This service operation shall support the URL query parameters specified in Table 7.2.3.3.1-1 and the request headers specified in Table 7.2.3.3.1-2.
Name Data type P Cardi­nality Description
HTTP request header Data type P Cardi­nality Description
AuthorizationstringM1For authentication of the data collection client. NOTE 1
OriginstringO0..1Indicates the origin of the requester. NOTE 2
NOTE 1:
If OAuth 2.0 authorization is used, the value is Bearer followed by a string representing the access token, see Section 2.1 of RFC 6750.
NOTE 2:
The Origin header is always supplied if the data collection client is deployed in a Web Browser.
This service operation shall support the response data structures and response codes specified in Table 7.2.3.3.1-3.
Data type P Cardi­nality Response codes Description
DataReportingSessionM1200 OKThe requested Data Reporting Session resource is returned to the Provisioning AF by the Data Collection AF.
ProblemDetailsO0..1307 Temporary RedirectTemporary redirection during a Data Reporting Session retrieval procedure. The response shall include a Location header field containing an alternative URL of the resource located in another Data Collection AF (service) instance.
Applicable if the feature "ES3XX" (Extended Support of HTTP 307/308 redirection as defined in TS 29.502) is supported.
ProblemDetailsO0..1308 Permanent RedirectPermanent redirection during a Data Reporting Session retrieval procedure. The response shall include a Location header field containing an alternative URL of the resource located in another Data Collection AF (service) instance.
Applicable if the feature "ES3XX" is supported.
ProblemDetailsO0..1404 Not FoundThis Data Reporting Session resource does not exist. (NOTE 2)
NOTE 1:
The mandatory HTTP error status codes for the GET method as listed in Table 5.2.7.1-1 of TS 29.500 also apply.
NOTE 2:
Failure cases are described in clause 7.4.
HTTP response header Data type P Cardi­nality Description
Access-Control-Allow-OriginstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Access-Control-Allow-MethodsstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: POST, PUT, DELETE.
Access-Control-Expose-HeadersstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: Location.
HTTP response header Data type P Cardi­nality Description
LocationstringM1An alternative URL of the resource located in another Data Collection AF (service) instance.
3gpp-Sbi-Target-Nf-IdstringO0..1Identifier of the target NF (service) instance towards which the request is redirected
Access-Control-Allow-OriginstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Access-Control-Allow-MethodsstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: POST, PUT, DELETE
Access-Control-Expose-HeadersstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: Location
Up
7.2.3.3.2  Ndcaf_DataReporting_UpdateSession operation using PUT methodp. 54
The update operation is not permitted on the Data Reporting Session resource.
7.2.3.3.3  Ndcaf_DataReporting_DestroySession operation using DELETE methodp. 54
This service operation shall support the URL query parameters specified in Table 7.2.3.3.3-1.
Name Data type P Cardi­nality Description
This service operation shall support the request data structures and headers as specified in Table 7.2.3.3.3-2 and Table 7.2.3.3.3-3, respectively. Furthermore, this service operation shall support the response data structures as specified in Table 7.2.3.3.3-4, and the different response codes as specified in Table 7.2.3.3.3-5 and Table 7.2.3.3.3-6, respectively.
Data type P Cardi­nality Description
HTTP request header Data type P Cardi­nality Description
AuthorizationstringM1For authentication of the data collection client. (NOTE 1)
OriginstringO0..1Indicates the origin of the requester. (NOTE 2)
NOTE 1:
If OAuth 2.0 authorization is used the value is Bearer followed by a string representing the access token, see Section 2.1 of RFC 6750.
NOTE 1:
The Origin header is always supplied if the data collection client is deployed in a web browser.
Data type P Cardi­nality Response codes Description
n/a204 No ContentSuccessful case: The Data Reporting Session resource matching the sessionId was destroyed at the Data Collection AF.
ProblemDetailsO0..1307 Temporary RedirectTemporary redirection during Data Reporting Session destruction. The response shall include a Location header field containing an alternative URL of the resource located in another Data Collection AF (service) instance.
Applicable if the feature "ES3XX" as defined in TS 29.502 is supported.
ProblemDetailsO0..1308 Permanent RedirectPermanent redirection during Data Reporting Session destruction. The response shall include a Location header field containing an alternative URL of the resource located in another Data Collection AF (service) instance.
Applicable if the feature "ES3XX" is supported.
ProblemDetailsO0..1404 Not FoundThe Data Reporting Session resource does not exist. (NOTE 2)
NOTE 1:
The mandatory HTTP error status codes for the DELETE method listed in Table 5.2.7.1-1 of TS 29.500 also apply.
NOTE 2:
Failure cases are described in clause 7.4.
HTTP response header Data type P Cardi­nality Description
Access-Control-Allow-OriginstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Access-Control-Allow-MethodsstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: POST, PUT, DELETE.
Access-Control-Expose-HeadersstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: Location.
HTTP response header Data type P Cardi­nality Description
LocationstringM1An alternative URL of the resource located in another Data Collection AF (service) instance.
3gpp-Sbi-Target-Nf-IdstringO0..1Identifier of the target NF (service) instance towards which the request is redirected
Access-Control-Allow-OriginstringO0..1 Part of CORS [10].Supplied if the request included the Origin header.
Access-Control-Allow-MethodsstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: POST, PUT, DELETE.
Access-Control-Expose-HeadersstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Valid values: Location.
Up

7.2.3.4  Resource custom operationsp. 55

7.2.3.4.1  Ndcaf_DataReporting_Report operation using POST methodp. 55
This operation shall support the URI query parameters specified in Table 7.2.3.4.1-1.
Parameter Data type P Cardi­nality Description
This operation shall support the request data structures specified in Table 7.2.3.4.1-2 and the request headers specified in Table 7.2.3.4.1-3.
Data type P Cardi­nality Description
DataReportM1UE data reported by the data collection client.
HTTP request header Data type P Cardi­nality Description
AuthorizationstringM1For authentication of the data collection client. (NOTE 1)
OriginstringO0..1Indicates the origin of the requester. (NOTE 2)
NOTE 1:
If OAuth 2.0 authorization is used the value is Bearer followed by a string representing the access token, see Section 2.1 of RFC 6750.
NOTE 2:
The Origin header is always supplied if the data collection client is deployed in a web browser.
This operation shall support the response data structures and response codes specified in Table 7.2.3.4.1-4 and the response headers specified in Table 7.2.3.4.1-5.
Data type P Cardi­nality Response codes Description
DataReportingSessionO0..1200 OKThe report was accepted by the Data Collection AF. A data collection client configuration (updated or unchanged) is provided in the response.
n/a204 No ContentThe report was accepted by the Data Collection AF and no content is returned in the response body.
NOTE:
The mandatory HTTP error status codes for the POST method listed in Table 5.2.7.1-1 of TS 29.500 also apply.
HTTP response header Data type P Cardi­nality Description
Access-Control-Allow-OriginstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Access-Control-Allow-MethodsstringO0..1 Part of CORS [10]. Supplied if the request included the Origin header.
Value: POST
Up

7.3  Data modelp. 56

7.3.1  Generalp. 56

Table 7.3.1-1 specifies the data types used by the Ndcaf_DataReporting service operations.
Data type Clause defined Description
DataReportingSession 7.3.2.1Configuration exposed by the Data Collection AF to a data collection client, specifying the UE data to be reported.
DataReport 7.3.2.3A set of UE data reported by the data collection client to the Data Collection AF.
Table 7.3.1-2 specifies data types re-used from other specifications by the Ndcaf_DataReporting service operations, including a reference to their respective specifications.
Data type Comments Reference
ApplicationIdIdentifies the reporting application.TS 29.571
DateTime A point in time, expressed as an ISO 8601 [25] date and time.
DurationSecA period of time, expressed in seconds.
Double
Float
Int32
Int64
Uint16
Uint32
Uint64
Uinteger
Up

7.3.2  Structured data typesp. 57

7.3.2.1  DataReportingSession resource typep. 57

Property name Data type Cardi­nality Usage Description
sessionIdstring1..1C: RO
R: RO
Unique identifier for this Data Reporting Session assigned by the Data Collection AF.
validUntilDateTime1..1C: RO
R: RO
This property is deprecated and should be omitted. If present, it shall be ignored.
HTTP cache control headers should instead be used to indicate the validity of the Data Reporting Session resource.
externalApplicationIdApplicationID1..1C: RW
R: RO
The external application identifier, nominated by the data collection client, to which this Data Reporting Session pertains.
supportedDomainsarray(DataDomain)1..1C: RW
R: RO
Set of domains for which the data collection client declares that it is able to report UE data. (See clause 7.3.3.1).
An empty array indicates that no UE data can currently be reported.
samplingRulesmap(DataDomain → array(DataSamplingRule))1..1C: RO
R: RO
A map specifying for each reporting domain listed a set of rules for sampling UE data (see clause 5.4.2.1).
The indices of the map shall be a subset of the reporting domains declared by the data collection client in supportedDomains.
If the array for a particular index in the map is empty, UE data collection shall be disabled for the indicated domain.
reportingConditionsmap(DataDomain → array(DataReportingCondition))1..1C: RO
R: RO
A map specifying for each reporting domain listed the set of conditions (see clause 5.4.2.1A) under which the data collection client reports UE data.
The indices of the map shall be a subset of the reporting domains declared by the data collection client in supportedDomains.
If the array for a particular index in the map is empty, UE data reporting shall be disabled for the indicated domain.
reportingRulesmap(DataDomain → array(DataReportingRule)1..1C: RO
R: RO
A map specifying for each reporting domain listed a set of rules for reporting collected UE data (see clause 5.4.2.2).
The indices of the map shall be a subset of the reporting domains declared by the data collection client in supportedDomains.
If the array for a particular index in the map is empty, UE data reporting shall be disabled for the indicated domain.
Up

7.3.2.2Void

7.3.2.3  DataReport typep. 58

Property name Data type Cardi­nality Description
externalApplicationIdApplicationID1External application identifier.
expediteboolean0..1If present and true, this data report contains UE data requiring expedited processing by the recipient.
serviceExperienceRecordsarray(ServiceExperienceRecord)0..1 (see NOTE)See clause A.2.
locationRecordsarray(LocationRecord)See clause A.3.
communicationRecordsarray(CommunicationRecord)See clause A.4.
performanceDataRecordsarray(PerformanceDataRecord)See clause A.5.
applicationSpecificRecordsarray(ApplicationSpecificRecord)See clause A.6.
tripPlanRecordsarray(TripPlanRecord)See clause A.7.
mediaStreamingAccessRecordsarray(MediaStreamingAccessRecord)See clause 17.2 of TS 26.512.
aNBRNetworkAssistanceInvocationRecordsarray(NetworkAssistanceInvocationRecord)See clause 17A.2 of TS 26.512.
NOTE:
Exactly one of these properties must be present in a DataReport.
Up

7.3.3  Simple data types and enumerationsp. 59

7.3.3.1  DataDomain enumerationp. 59

Enumeration value Description Applicability
(refer to Table 7.3.2.3-1)
SERVICE_EXPERIENCEService Experience data.serviceExperienceRecords
LOCATIONLocation data.locationRecords
COMMUNICATIONCommunication data.communicationRecords
PERFORMANCEPerformance data.performanceDataRecords
APPLICATION_SPECIFICCombination of QoE metrics and application service-specific data.applicationSpecificRecords
MS_ANBR_NETWORK_ASSISTANCEANBR-based Network Assistance invocation data.aNBRNetworkAssistanceInvocationRecords
MS_ACCESS_ACTIVITY5GMS access activity data.mediaStreamingAccessRecords
PLANNED_TRIPSData related to planned trips.tripPlanRecords
Up

7.3.3.2Void

7.3.3.3Void

7.4  Error handlingp. 59

Guidelines regarding error handling of API invocation associated with the Ndcaf_DataReporting service are defined in clause 5.3.3.

7.5  Mediation by NEFp. 59

NEF mediation of data collection client access to the data collection and reporting configuration API exposed by the Data Collection AF is applicable strictly to the Indirect Data Collection Client and the AS.
  • In the event that the Indirect Data Collection Client and the Data Collection AF are located in different trust domains, e.g., the former entity resides within the trusted domain and the latter entity resides outside the trusted domain (as in clause A.3 or A.4 of TS 26.531), the NEF shall be employed to mediate the interactions between them, via the Nnef_DataReporting service API specified in TS 29.522.
  • In the event that the AS and the Data Collection AF are located in different trust domains, e.g., the former entity resides within the trusted domain and the latter entity resides outside the trusted domain (as in clause A.4 of TS 26.531), the NEF shall be employed to mediate the interactions between them, via the Nnef_DataReporting service API specified in TS 29.522.
Up

Up   Top   ToC