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/9e63dc3c-a4cb-41e9-9923-8b859a5acb7b

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Plan Visibility

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTUxIiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjU5fQ.pywqWFwuXASeo6mAhOeFRBUnFxyh6428vpgMYg9QH9k
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/9e63dc3c-a4cb-41e9-9923-8b859a5acb7b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTUxIiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjU5fQ.pywqWFwuXASeo6mAhOeFRBUnFxyh6428vpgMYg9QH9k" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "9e63dc3c-a4cb-41e9-9923-8b859a5acb7b",
    "url": "/v2/service_plan_visibilities/9e63dc3c-a4cb-41e9-9923-8b859a5acb7b",
    "created_at": "2015-03-03T00:50:59Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "8354becc-d45d-4188-b4f8-961309790e15",
    "organization_guid": "d51a103f-7ce2-45be-a67d-9be543cb8318",
    "service_plan_url": "/v2/service_plans/8354becc-d45d-4188-b4f8-961309790e15",
    "organization_url": "/v2/organizations/d51a103f-7ce2-45be-a67d-9be543cb8318"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0ff04025-7c91-4d73-b4b7-fe58706f1cd6
Content-Length: 533
X-Content-Type-Options: nosniff