Create Subscription

Create Subscription

Creates a new subscription.

Request
URI
POST
https://{api_host}/tca/etsi/orgs/{vnffmOrgId}/direct/internal/vnffm/v1/subscriptions
COPY
Path Parameters
string
vnffmOrgId
Required

The tenant identifier


Request Body
FmSubscriptionRequest of type(s) application/json
Required
{
    "filter": {
        "vnfInstanceSubscriptionFilter": {
            "vnfdIds": [
                "string"
            ],
            "vnfProductsFromProviders": [
                {
                    "vnfProvider": "string",
                    "vnfProducts": [
                        {
                            "vnfProductName": "string",
                            "versions": [
                                {
                                    "vnfSoftwareVersion": "string",
                                    "vnfdVersions": [
                                        "string"
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ],
            "vnfInstanceIds": [
                "string"
            ],
            "vnfInstanceNames": [
                "string"
            ]
        },
        "notificationTypes": [
            "string"
        ],
        "faultyResourceTypes": [
            "string"
        ],
        "perceivedSeverities": [
            "string"
        ],
        "eventTypes": [
            "string"
        ],
        "probableCauses": [
            "string"
        ]
    },
    "callbackUri": "string",
    "authentication": {
        "authType": "string",
        "paramsBasic": {
            "userName": "string",
            "password": "string"
        },
        "paramsOauth2ClientCredentials": {
            "clientId": "string",
            "clientPassword": "string",
            "tokenEndpoint": "string"
        }
    },
    "warnings": [
        {
            "message": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
filter
Optional

filter

string
callbackUri
Optional

callbackUri

authentication
Optional

authentication

array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors

Authentication
This operation uses the following authentication methods.
Responses
201
Returns FmSubscription of type(s) application/json
{
    "id": "string",
    "filter": {
        "vnfInstanceSubscriptionFilter": {
            "vnfdIds": [
                "string"
            ],
            "vnfProductsFromProviders": [
                {
                    "vnfProvider": "string",
                    "vnfProducts": [
                        {
                            "vnfProductName": "string",
                            "versions": [
                                {
                                    "vnfSoftwareVersion": "string",
                                    "vnfdVersions": [
                                        "string"
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ],
            "vnfInstanceIds": [
                "string"
            ],
            "vnfInstanceNames": [
                "string"
            ]
        },
        "notificationTypes": [
            "string"
        ],
        "faultyResourceTypes": [
            "string"
        ],
        "perceivedSeverities": [
            "string"
        ],
        "eventTypes": [
            "string"
        ],
        "probableCauses": [
            "string"
        ]
    },
    "callbackUri": "string",
    "_links": {
        "self": "string"
    },
    "warnings": [
        {
            "message": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
string
id
Optional

id

filter
Optional

filter

string
callbackUri
Optional

callbackUri

object
_links
Optional

_links

array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

500
Returns InternalServerError of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors