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/12bdd47e-9132-4e4a-b2dd-4b29127256a1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDJ9.qhNUVYBzfaEgpWsb4sahkYYWJycmXVNY1J6WI1IKQVU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/12bdd47e-9132-4e4a-b2dd-4b29127256a1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDJ9.qhNUVYBzfaEgpWsb4sahkYYWJycmXVNY1J6WI1IKQVU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "12bdd47e-9132-4e4a-b2dd-4b29127256a1",
    "url": "/v2/service_plan_visibilities/12bdd47e-9132-4e4a-b2dd-4b29127256a1",
    "created_at": "2015-08-31T21:50:02Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "d84f57ac-55f4-49cd-a672-2c16f725cf50",
    "organization_guid": "e9af15f5-18bb-4eb9-892e-3551b5835a33",
    "service_plan_url": "/v2/service_plans/d84f57ac-55f4-49cd-a672-2c16f725cf50",
    "organization_url": "/v2/organizations/e9af15f5-18bb-4eb9-892e-3551b5835a33"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 85d0a9ff-93c4-4678-a132-6584a6c310b5
Content-Length: 533
X-Content-Type-Options: nosniff