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/05332527-241c-4bd5-ae12-250163b1bb7d

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NiIsImVtYWlsIjoiZW1haWwtMTc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDl9.jWHSl9HtOj89p2JC98jhDJ2ze-3qhUPSHaM6L0QgB9U
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/05332527-241c-4bd5-ae12-250163b1bb7d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NiIsImVtYWlsIjoiZW1haWwtMTc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDl9.jWHSl9HtOj89p2JC98jhDJ2ze-3qhUPSHaM6L0QgB9U" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "05332527-241c-4bd5-ae12-250163b1bb7d",
    "url": "/v2/service_plan_visibilities/05332527-241c-4bd5-ae12-250163b1bb7d",
    "created_at": "2015-03-10T23:11:49Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "1b669a92-49ac-47b5-9f1f-9effc691cadc",
    "organization_guid": "8322af72-0028-42c5-97be-624dea9fd8ef",
    "service_plan_url": "/v2/service_plans/1b669a92-49ac-47b5-9f1f-9effc691cadc",
    "organization_url": "/v2/organizations/8322af72-0028-42c5-97be-624dea9fd8ef"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 43c2a6be-6d6d-416d-ba13-e468d0bfbb5a
Content-Length: 533
X-Content-Type-Options: nosniff