/ue-contexts/{supi}


  put: 
    Summary: Activate SMS Service for a given UE 
    Operation ID: SMServiceActivation 
 
    Tags: 
      - UEContext (Document) 
 
    Parameters: 
      - Name: supi 
        In: path 
        Required/Optional: true 
        Description: Subscriber Permanent Identifier (SUPI) 
        Schema: 
          Type: string 
    Request Body: 
      Content: 
        Application/JSON: 
          Schema: 
            Reference: '#/components/schemas/UeSmsContextData' 
      Required/Optional: true 
 
    Responses: 
      '201': 
        Description: UE Context for SMS is created in SMSF 
        Content: 
          Application/JSON: 
            Schema: 
              Reference: '#/components/schemas/UeSmsContextData' 
        Headers: 
          Location: 
                description: 'Contains the URI of the newly created resource, according to the structure: {apiRoot}/nsmsf-sms/<apiVersion>/ue-contexts/{supi}' 
            Required/Optional: true 
            Schema: 
              Type: string 
      '204': 
        Description: UE Context for SMS is updated in SMSF 
      '400': 
        Description: Invalid Service Request 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails' 
      '403': 
        Description: Unable to create/update UE Context for SMS in SMSF 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails' 
      '404': 
        Description: Unable to found subscription for service user or UE Context for SMS in SMSF 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails' 
      '503': 
        Description: Service Unavailable 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails' 
      Default: 
        Description: Unexpected error 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails' 
  delete: 
    Summary: Deactivate SMS Service for a given UE 
    Operation ID: SMServiceDeactivation 
 
    Tags: 
      - UEContext (Document) 
 
    Parameters: 
      - Name: supi 
        In: path 
        Required/Optional: true 
        Description: Subscriber Permanent Identifier (SUPI) 
        Schema: 
          Type: string 
 
    Responses: 
      '204': 
        Description: UE Context for SMS is deleted from SMSF 
      '400': 
        Description: Invalid Service Request 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails' 
      '404': 
        Description: Unable to found UE Context for SMS in SMSF 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails' 
      '503': 
        Description: Service Unavailable 
        Content: 
          application/problem+json: 
            Schema: 
              Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'