| Service name | Operation name | Resource name | Resource path suffix | HTTP method or custom operation path suffix | Description |
|---|---|---|---|---|---|
| Ndcaf_ | CreateSession | Data Reporting Sessions | /sessions | POST | Data 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. |
| RetrieveSession | Data Reporting Session | /sessions/ | GET | Retrieves a Data Reporting Session resource from the Data Collection AF. | |
| DestroySession | DELETE | Destroys a Data Reporting Session resource. | |||
| Report | /report (POST) | Data collection client reports data to the Data Collection AF via the established Data Reporting Session. |
| Name | Data type | Definition |
|---|---|---|
| apiRoot | string | See clause 5.2 |
| apiVersion | string | See clause 5.2. |
| Parameter | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Data type | P | Cardinality | Description |
|---|---|---|---|
| DataReportingSession | M | 1 | Data 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 | Cardinality | Description |
|---|---|---|---|---|
| Authorization | string | M | 1 | For authentication of the data collection client. (NOTE 1) |
| Origin | string | O | 0..1 | Indicates 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 | Cardinality | Response codes | Description |
|---|---|---|---|---|
| DataReportingSession | M | 1 | 201 Created | The 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 | Cardinality | Description |
|---|---|---|---|---|
| Location | string | M | 1 | The URL of the newly created resource at the Data Collection AF. |
| Access-Control-Allow-Origin | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. |
| Access-Control-Allow-Methods | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: POST, PUT, DELETE |
| Access-Control-Expose-Headers | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: Location |
| Name | Data type | Definition |
|---|---|---|
| apiRoot | string | See clause 5.2 |
| apiVersion | string | See clause 5.2. |
| sessionId | string | Identifies a Data Reporting Session at the Data Collection AF. |
| Name | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| HTTP request header | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Authorization | string | M | 1 | For authentication of the data collection client. NOTE 1 |
| Origin | string | O | 0..1 | Indicates 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 | Cardinality | Response codes | Description |
|---|---|---|---|---|
| DataReportingSession | M | 1 | 200 OK | The requested Data Reporting Session resource is returned to the Provisioning AF by the Data Collection AF. |
| ProblemDetails | O | 0..1 | 307 Temporary Redirect | Temporary 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. |
| ProblemDetails | O | 0..1 | 308 Permanent Redirect | Permanent 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. |
| ProblemDetails | O | 0..1 | 404 Not Found | This 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 | Cardinality | Description |
|---|---|---|---|---|
| Access-Control-Allow-Origin | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. |
| Access-Control-Allow-Methods | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: POST, PUT, DELETE. |
| Access-Control-Expose-Headers | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: Location. |
| HTTP response header | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Location | string | M | 1 | An alternative URL of the resource located in another Data Collection AF (service) instance. |
| 3gpp-Sbi-Target-Nf-Id | string | O | 0..1 | Identifier of the target NF (service) instance towards which the request is redirected |
| Access-Control-Allow-Origin | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. |
| Access-Control-Allow-Methods | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: POST, PUT, DELETE |
| Access-Control-Expose-Headers | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: Location |
| Name | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Data type | P | Cardinality | Description |
|---|---|---|---|
| HTTP request header | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Authorization | string | M | 1 | For authentication of the data collection client. (NOTE 1) |
| Origin | string | O | 0..1 | Indicates 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 | Cardinality | Response codes | Description |
|---|---|---|---|---|
| n/a | 204 No Content | Successful case: The Data Reporting Session resource matching the sessionId was destroyed at the Data Collection AF. | ||
| ProblemDetails | O | 0..1 | 307 Temporary Redirect | Temporary 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. |
| ProblemDetails | O | 0..1 | 308 Permanent Redirect | Permanent 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. |
| ProblemDetails | O | 0..1 | 404 Not Found | The 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 | Cardinality | Description |
|---|---|---|---|---|
| Access-Control-Allow-Origin | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. |
| Access-Control-Allow-Methods | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: POST, PUT, DELETE. |
| Access-Control-Expose-Headers | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: Location. |
| HTTP response header | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Location | string | M | 1 | An alternative URL of the resource located in another Data Collection AF (service) instance. |
| 3gpp-Sbi-Target-Nf-Id | string | O | 0..1 | Identifier of the target NF (service) instance towards which the request is redirected |
| Access-Control-Allow-Origin | string | O | 0..1 | Part of CORS [10].Supplied if the request included the Origin header. |
| Access-Control-Allow-Methods | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: POST, PUT, DELETE. |
| Access-Control-Expose-Headers | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Valid values: Location. |
| Parameter | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Data type | P | Cardinality | Description |
|---|---|---|---|
| DataReport | M | 1 | UE data reported by the data collection client. |
| HTTP request header | Data type | P | Cardinality | Description |
|---|---|---|---|---|
| Authorization | string | M | 1 | For authentication of the data collection client. (NOTE 1) |
| Origin | string | O | 0..1 | Indicates 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 | Cardinality | Response codes | Description |
|---|---|---|---|---|
| DataReportingSession | O | 0..1 | 200 OK | The report was accepted by the Data Collection AF. A data collection client configuration (updated or unchanged) is provided in the response. |
| n/a | 204 No Content | The 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 | Cardinality | Description |
|---|---|---|---|---|
| Access-Control-Allow-Origin | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. |
| Access-Control-Allow-Methods | string | O | 0..1 | Part of CORS [10]. Supplied if the request included the Origin header. Value: POST |
| Data type | Clause defined | Description |
|---|---|---|
| DataReportingSession | 7.3.2.1 | Configuration exposed by the Data Collection AF to a data collection client, specifying the UE data to be reported. |
| DataReport | 7.3.2.3 | A set of UE data reported by the data collection client to the Data Collection AF. |
| Data type | Comments | Reference |
|---|---|---|
| ApplicationId | Identifies the reporting application. | TS 29.571 |
| DateTime | A point in time, expressed as an ISO 8601 [25] date and time. | |
| DurationSec | A period of time, expressed in seconds. | |
| Double | ||
| Float | ||
| Int32 | ||
| Int64 | ||
| Uint16 | ||
| Uint32 | ||
| Uint64 | ||
| Uinteger |
| Property name | Data type | Cardinality | Usage | Description |
|---|---|---|---|---|
| sessionId | string | 1..1 | C: RO R: RO | Unique identifier for this Data Reporting Session assigned by the Data Collection AF. |
| validUntil | DateTime | 1..1 | C: 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. |
| externalApplicationId | ApplicationID | 1..1 | C: RW R: RO | The external application identifier, nominated by the data collection client, to which this Data Reporting Session pertains. |
| supportedDomains | array(DataDomain) | 1..1 | C: 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. |
| samplingRules | map(DataDomain → array(DataSamplingRule)) | 1..1 | C: 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. |
| reportingConditions | map(DataDomain → array(DataReportingCondition)) | 1..1 | C: 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. |
| reportingRules | map(DataDomain → array(DataReportingRule) | 1..1 | C: 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. |
| Property name | Data type | Cardinality | Description |
|---|---|---|---|
| externalApplicationId | ApplicationID | 1 | External application identifier. |
| expedite | boolean | 0..1 | If present and true, this data report contains UE data requiring expedited processing by the recipient. |
| serviceExperienceRecords | array(ServiceExperienceRecord) | 0..1 (see NOTE) | See clause A.2. |
| locationRecords | array(LocationRecord) | See clause A.3. | |
| communicationRecords | array(CommunicationRecord) | See clause A.4. | |
| performanceDataRecords | array(PerformanceDataRecord) | See clause A.5. | |
| applicationSpecificRecords | array(ApplicationSpecificRecord) | See clause A.6. | |
| tripPlanRecords | array(TripPlanRecord) | See clause A.7. | |
| mediaStreamingAccessRecords | array(MediaStreamingAccessRecord) | See clause 17.2 of TS 26.512. | |
| aNBRNetworkAssistanceInvocationRecords | array(NetworkAssistanceInvocationRecord) | See clause 17A.2 of TS 26.512. | |
|
NOTE:
Exactly one of these properties must be present in a DataReport.
|
|||
| Enumeration value | Description | Applicability
(refer to Table 7.3.2.3-1) |
|---|---|---|
| SERVICE_EXPERIENCE | Service Experience data. | serviceExperienceRecords |
| LOCATION | Location data. | locationRecords |
| COMMUNICATION | Communication data. | communicationRecords |
| PERFORMANCE | Performance data. | performanceDataRecords |
| APPLICATION_SPECIFIC | Combination of QoE metrics and application service-specific data. | applicationSpecificRecords |
| MS_ANBR_NETWORK_ASSISTANCE | ANBR-based Network Assistance invocation data. | aNBRNetworkAssistanceInvocationRecords |
| MS_ACCESS_ | 5GMS access activity data. | mediaStreamingAccessRecords |
| PLANNED_TRIPS | Data related to planned trips. | tripPlanRecords |