NSX-T Data Center REST API

List all ServiceChainMappings. (Deprecated)

List all service chain mappings in the system for the given service profile.
Deprecated: This API has been deprecated, for East-West service insertion and service chaining at the edge, please use below Policy API
GET /policy/api/v1/infra/service-references/<service-reference-id>/service-profiles/<service-profile-id>/service-chain-mappings

Request:

Method:
GET
URI Path(s):
/api/v1/serviceinsertion/services/<service-id>/service-profiles/<service-profile-id>/service-chain-mappings
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/serviceinsertion/services/03a31751-beaa-4a75-a3c9-04043479f0ec/service-profiles/e766bc2c-87d0-4ba6-874d-30953bf40741/service-chain-mappings

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ServiceChainMappingListResult+

Example Response:

{ "result_count": 2, "results": [ { "service_chain_id": "1", "service_index": 3, "direction": "FORWARD" }, { "service_chain_id": "1", "service_index": 2, "direction": "REVERSE" } ] }

Required Permissions:

read

Feature:

service_insertion_config

Additional Errors: