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/234cabf1-cc90-4446-9a87-0ff106f1deb8

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMDh9.TFbVBbOiLKVyxFuQBuA1D_xC2tEZVLblo6NLXNOraRA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/234cabf1-cc90-4446-9a87-0ff106f1deb8" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMDh9.TFbVBbOiLKVyxFuQBuA1D_xC2tEZVLblo6NLXNOraRA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "234cabf1-cc90-4446-9a87-0ff106f1deb8",
    "url": "/v2/service_plan_visibilities/234cabf1-cc90-4446-9a87-0ff106f1deb8",
    "created_at": "2015-08-06T00:36:48Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "c9471108-9c04-4455-80c4-4aabd1fe0830",
    "organization_guid": "f5e3b5b7-4d03-470f-bdfb-7ee5437f0f79",
    "service_plan_url": "/v2/service_plans/c9471108-9c04-4455-80c4-4aabd1fe0830",
    "organization_url": "/v2/organizations/f5e3b5b7-4d03-470f-bdfb-7ee5437f0f79"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0d9f9f7b-d4ba-4a0b-8c61-661f516b1ba5
Content-Length: 533
X-Content-Type-Options: nosniff