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/0ddbcc0a-e473-4f2e-b616-58fcb04f3f88

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OSIsImVtYWlsIjoiZW1haWwtMjEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDV9.gbMKTBnB7PCYw0UEkK-615OyBHKI4Cfsn4AZPpoGY7U
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/0ddbcc0a-e473-4f2e-b616-58fcb04f3f88" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OSIsImVtYWlsIjoiZW1haWwtMjEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDV9.gbMKTBnB7PCYw0UEkK-615OyBHKI4Cfsn4AZPpoGY7U" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0ddbcc0a-e473-4f2e-b616-58fcb04f3f88",
    "url": "/v2/service_plan_visibilities/0ddbcc0a-e473-4f2e-b616-58fcb04f3f88",
    "created_at": "2015-11-03T00:54:05Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "dbb7aab7-1dec-458e-86b6-debc4a0f426a",
    "organization_guid": "175c060a-c7c2-46ea-9950-a8095d0251ae",
    "service_plan_url": "/v2/service_plans/dbb7aab7-1dec-458e-86b6-debc4a0f426a",
    "organization_url": "/v2/organizations/175c060a-c7c2-46ea-9950-a8095d0251ae"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f9c68fd0-0670-4b64-bf04-0a0537b9b7cd
Content-Length: 533
X-Content-Type-Options: nosniff