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"
}
]
}
string
callbackUri
Optional
callbackUri
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
string
callbackUri
Optional
callbackUri
object
_links
Optional
_links
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"
}
]
}