Policy > Security > Service Insertion > Service References

List service references

List all the partner service references available for service insertion
This API is only available when using VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/service-references
Request Headers:
n/a
Query Parameters:
ServiceReferenceListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/service-references

Successful Response:

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

Example Response:

{ "sort_ascending" : true, "sort_by" : "display_name", "result_count" : 1, "results" : [ { "resource_type" : "ServiceReference", "id" : "SR_1", "display_name" : "SR 1", "path" : "/infra/service-references/SR_1", "parent_path" : "/infra/service-references/SR_1", "relative_path" : "SR_1", "marked_for_delete" : false, "partner_service_name" : "dummy service", "enabled" : true, "_create_user" : "admin", "_create_time" : 1535549055517, "_last_modified_user" : "admin", "_last_modified_time" : 1535549055517, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 0 } ] }

Required Permissions:

read

Feature:

policy_si

Additional Errors: