[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance

Get Map Types

Description

Get all supported map types for the given className and instance.

Request

Request

URL

URL


post
https://{api_host}tcsa.host.com/tcsa/api/topology/v1/map-types
Copy

Request Body

Request Body

MapTypeRequest of mimetype application/json Required

Request object to get the map types.

{
    "className": "NetworkFunction",
    "instanceName": "NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES"
}
string
className Required

The class type of resource.


string
instanceName Required

Uniquely identifiable instance id.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns MaptypeResponse of type application/json
{
	"default": {
		"displayName": "VRAN Connectivity",
		"name": "MAP-VRAN"
	},
	"mapTypes": [
		{
			"displayName": "VRAN Connectivity",
			"name": "MAP-VRAN"
		},
		{
			"displayName": "5G Core",
			"name": "MAP-5G-CNF"
		}
	]
}
default Optional

Supported map type for the device type


array of MapType
mapTypes Optional

All supporting map types for the device type

Errors

Errors

400

Invalid Request sent by the user


401

User authentication failed


403

Access to the requested resource/operation is forbidden


404

Cannot find requested resource


500

Internal server error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"className":"NetworkFunction","instanceName":"NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES"}' https://{api_host}tcsa.host.com/tcsa/api/topology/v1/map-types


[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Feedback

Was this page helpful?