NSX-T Data Center REST API

Read NSService (Deprecated)

Returns information about the specified NSService
Deprecated: This API is deprecated. Please use policy API /infra/services/ to read service.

Request:

Method:
GET
URI Path(s):
/api/v1/ns-services/{ns-service-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Successful Response:

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

Example Response:

{ "id": "8c669da6-47a4-4508-9077-6a48d26c5a4b", "display_name": "testNSService", "resource_type": "NSService", "nsservice_element": { "resource_type": "EtherTypeNSService", "ether_type": 5463 }, "_last_modified_user": "a;a", "_last_modified_time": 1439882177929, "_create_time": 1439882177929, "_system_owned": false, "_create_user": "a;a", "_revision": 0 }

Required Permissions:

read

Feature:

services_services

Additional Errors: