Home
Version 3
Service Plan Visibilities API

Service Plan Visibilities API

Retrieve a Particular Service Plan Visibility

GET /v2/service_plan_visibilities/:guid

Request

Route

GET /v2/service_plan_visibilities/eec4367b-1944-47f0-83c5-510a311a992f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MCIsImVtYWlsIjoiZW1haWwtMTU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MjF9.Cy6aFB6Ln4NGDZlyR4fZjQNpVScv9hxTFKSgJHdrkIw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/eec4367b-1944-47f0-83c5-510a311a992f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MCIsImVtYWlsIjoiZW1haWwtMTU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MjF9.Cy6aFB6Ln4NGDZlyR4fZjQNpVScv9hxTFKSgJHdrkIw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "eec4367b-1944-47f0-83c5-510a311a992f",
    "url": "/v2/service_plan_visibilities/eec4367b-1944-47f0-83c5-510a311a992f",
    "created_at": "2016-01-26T22:20:21Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "a95659da-b1ed-4822-9981-3dfd6c4615dd",
    "organization_guid": "38375ac5-105d-453f-b8ea-020d4ed16a70",
    "service_plan_url": "/v2/service_plans/a95659da-b1ed-4822-9981-3dfd6c4615dd",
    "organization_url": "/v2/organizations/38375ac5-105d-453f-b8ea-020d4ed16a70"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 533
X-Content-Type-Options: nosniff