Management Plane API > Security > Services > Service Insertion

List all ServiceChainMappings.

List all service chain mappings in the system for the given service profile.

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

Additional Errors: