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/96e27161-a59f-4ad3-a2af-5b4ba85de1f8

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MyIsImVtYWlsIjoiZW1haWwtMjk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5Nzh9.U_2uH_9wh_WP5E9DF7gekKrymZC1hBet7zfLAOX5CHY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/96e27161-a59f-4ad3-a2af-5b4ba85de1f8" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MyIsImVtYWlsIjoiZW1haWwtMjk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5Nzh9.U_2uH_9wh_WP5E9DF7gekKrymZC1hBet7zfLAOX5CHY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "96e27161-a59f-4ad3-a2af-5b4ba85de1f8",
    "url": "/v2/service_plan_visibilities/96e27161-a59f-4ad3-a2af-5b4ba85de1f8",
    "created_at": "2015-03-18T22:52:58Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "4f2edcda-d4c9-4b70-961d-fc23b2b93cb2",
    "organization_guid": "1d2751c0-b87e-4647-af8b-fdd06c3d39d4",
    "service_plan_url": "/v2/service_plans/4f2edcda-d4c9-4b70-961d-fc23b2b93cb2",
    "organization_url": "/v2/organizations/1d2751c0-b87e-4647-af8b-fdd06c3d39d4"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4592460b-a002-4a2f-b563-d6d1a9e2caaf
Content-Length: 533
X-Content-Type-Options: nosniff