5.2.49 Resource: SpecificServiceAuthorizations

29.5053GPP5G SystemRelease 18Stage 3TSUsage of the Unified Data Repository services for Subscription Data

5.2.49.1 Description

This resource represents information relevant to authorizations for specific services. After successful authorization, the UDM needs to store within the UDR related information (e.g. authUpdateCallbackUri), so that it is possible to notify the UDM consumer later on if something has changed affecting these authorizations.

This resource is modelled with the Document resource archetype (see clause C.1 of 3GPP TS 29.501 [7]).

5.2.49.2 Resource Definition

Resource URI: {apiRoot}/nudr-dr/<apiVersion>/subscription-data/{ueId}/context-data/service-specific-authorizations/{serviceType}

This resource shall support the resource URI variables defined in table 5.2.49.2-1.

Table 5.2.49.2-1: Resource URI variables for this resource

Name

Definition

apiRoot

See 3GPP TS 29.504 [2] clause 6.1.1

ueId

Represents the Subscription Identifier SUPI or GPSI (see 3GPP TS 23.501 [4] clause 5.9.2)
pattern: See pattern of type VarUeId in 3GPP TS 29.571 [3]

serviceType

In this release the only defined Service Type is "AF_GUIDANCE_FOR_URSP"

5.2.49.3 Resource Standard Methods

5.2.49.3.1 PUT

This method shall support the URI query parameters specified in table 5.2.49.3.1-1.

Table 5.2.49.3.1-1: URI query parameters supported by the PUT method on this resource

Name

Data type

P

Cardinality

Description

n/a

This method shall support the request data structures specified in table 5.2.49.3.1-2 and the response data structure, and response codes specified in table 5.2.49.3.1-3.

Table 5.2.49.3.1-2: Data structures supported by the PUT Request Body on this resource

Data type

P

Cardinality

Description

ServiceSpecificAuthorizationInfo

M

1

Specific Service Authorization Data

Table 5.2.49.3.1-3: Data structures supported by the PUT Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

n/a

204 No Content

Upon successful update of this resource, an empty response body shall be returned.

ServiceSpecificAuthorizationInfo

M

1

201 Created

Upon successful creation of this resource, a representation of the created resource containing an array of the AuthorizationData for the specific service as allocated by the UDR shall be returned.

NOTE: In addition, common data structures as listed in table 5.5-1 are supported.

5.2.49.3.2 DELETE

This method shall support the URI query parameters specified in table 5.2.49.3.2-1.

Table 5.2.49.3.2-1: URI query parameters supported by the DELETE method on this resource

Name

Data type

P

Cardinality

Description

n/a

This method shall support the request data structures specified in table 5.2.49.3.2-2 and the response data structure, and response codes specified in table 5.2.49.3.2-3.

Table 5.2.49.3.2-2: Data structures supported by the DELETE Request Body on this resource

Data type

P

Cardinality

Description

n/a

Table 5.2.49.3.2-3: Data structures supported by the DELETE Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

n/a

204 No Content

Upon success, an empty response body shall be returned.

NOTE: In addition, common data structures as listed in table 5.5-1 are supported.

5.2.49.3.3 GET

This method shall support the URI query parameters specified in table 5.2.49.3.3-1.

Table 5.2.49.3.3-1: URI query parameters supported by the GET method on this resource

Name

Data type

P

Cardinality

Description

n/a

This method shall support the request data structures specified in table 5.2.49.3.3-2 and the response data structure and response codes specified in table 5.2.49.3.3-3.

Table 5.2.49.3.3-2: Data structures supported by the GET Request Body on this resource

Data type

P

Cardinality

Description

n/a

Table 5.2.49.3.3-3: Data structures supported by the GET Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

ServiceSpecificAuthorizationInfo

M

1

200 OK

Upon success, a response body containing the authorization info for the specific service shall be returned.

NOTE: In addition, common data structures as listed in table 5.2.7.1-1 of 3GPP TS 29.500 [8] are supported.

5.2.49.3.4 PATCH

This method is used to modify the Service Specific active authorizations in the UDR.

This method shall support the URI query parameters specified in table 5.2.49.3.4-1.

Table 5.2.49.3.4-1: URI query parameters supported by the PATCH method on this resource

Name

Data type

P

Cardinality

Description

supported-features

SupportedFeatures

O

0..1

see 3GPP TS 29.500 [8] clause 6.6

This method shall support the request data structures specified in table 5.2.49.3.2-2 and the response data structures, and response codes specified in table 5.2.49.3.4-3.

Table 5.2.49.3.4-2: Data structures supported by the PATCH Request Body on this resource

Data type

P

Cardinality

Description

array(PatchItem)

M

1..N

Contains the delta data to the provisioned parameter data

Table 5.2.49.3.4-3: Data structures supported by the PATCH Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

n/a

204 No Content

Upon successful modification there is no body in the response message. (NOTE 2)

PatchResult

M

1

200 OK

Upon success, the execution report is returned. (NOTE 2)

ProblemDetails

O

0..1

403 Forbidden

If one or more attributes are not allowed to be modified according to e.g. policy or local configuration, then the invalidParams attribute shall contain the JSON pointers of attributes which are not allowed to be modified, and the cause attribute shall be set to "MODIFICATION_NOT_ALLOWED", see 3GPP TS 29.500 [8] table 5.2.7.2-1.

NOTE 1: In addition common data structures as listed in table 5.2.7.1-1 of 3GPP TS 29.500 [8] are supported.

NOTE 2: If all the modification instructions in the PATCH request have been implemented, the UDR shall respond with 204 No Content response; if some of the modification instructions in the PATCH request have been discarded, and the NF service consumer has included in the supported-feature query parameter the "PatchReport" feature number, the UDR shall respond with PatchResult.