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/2ac538c5-e9b5-4fc8-a08a-5ccdd163fe32

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NCIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzR9.qAxgWKFmKdDrMQsfEyut74DLJyCAm8d0saYuHpqejvY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/2ac538c5-e9b5-4fc8-a08a-5ccdd163fe32" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NCIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzR9.qAxgWKFmKdDrMQsfEyut74DLJyCAm8d0saYuHpqejvY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2ac538c5-e9b5-4fc8-a08a-5ccdd163fe32",
    "url": "/v2/service_plan_visibilities/2ac538c5-e9b5-4fc8-a08a-5ccdd163fe32",
    "created_at": "2015-05-07T23:37:14Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "4fabe9bb-3776-4e83-bdc6-5f2e28db63df",
    "organization_guid": "6ae9bd60-f489-47b8-b644-7fb48a1f48a0",
    "service_plan_url": "/v2/service_plans/4fabe9bb-3776-4e83-bdc6-5f2e28db63df",
    "organization_url": "/v2/organizations/6ae9bd60-f489-47b8-b644-7fb48a1f48a0"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1ddeb485-7d9a-4788-9e30-5fef44098261
Content-Length: 533
X-Content-Type-Options: nosniff