Home
Version 3
Service Plan Visibilities API

Service Plan Visibilities API

Retrieve a Particular Service Plan Visibility

GET /v2/service_plan_visibilities/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Plan Visibility

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NyIsImVtYWlsIjoiZW1haWwtMTk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzZ9.utolqayoUE06ZV0boz6WpZ4JbuiwrXYEC-H-RmmUZa8
Host: example.org
Cookie: 

Route

GET /v2/service_plan_visibilities/fe5a9b79-754b-4b90-bbf0-c8b1cf779648

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/fe5a9b79-754b-4b90-bbf0-c8b1cf779648" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NyIsImVtYWlsIjoiZW1haWwtMTk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzZ9.utolqayoUE06ZV0boz6WpZ4JbuiwrXYEC-H-RmmUZa8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 63eecc03-8dae-49de-89c0-e1c79ccbc690
Content-Length: 533
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "fe5a9b79-754b-4b90-bbf0-c8b1cf779648",
    "url": "/v2/service_plan_visibilities/fe5a9b79-754b-4b90-bbf0-c8b1cf779648",
    "created_at": "2015-02-12T01:42:16Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "fcb50aaf-f8a9-4d5b-a2a0-815255784561",
    "organization_guid": "af499efb-dbe3-4bb0-936e-fa1e976a5348",
    "service_plan_url": "/v2/service_plans/fcb50aaf-f8a9-4d5b-a2a0-815255784561",
    "organization_url": "/v2/organizations/af499efb-dbe3-4bb0-936e-fa1e976a5348"
  }
}