Home
Version 3
Service Plan Visibilities API

Service Plan Visibilities API

Retrieve a Particular Service Plan Visibility

GET /v2/service_plan_visibilities/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc3IiwiZW1haWwiOiJlbWFpbC03MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk5fQ.zs0tVQPp9jJ6PQ8Jc0et9UnImLdmChOAvpE_StB8-_E
Host: example.org
Cookie: 

Route

GET /v2/service_plan_visibilities/8cec59d1-4e84-4232-8fe0-738b00fcd61f

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/8cec59d1-4e84-4232-8fe0-738b00fcd61f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc3IiwiZW1haWwiOiJlbWFpbC03MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk5fQ.zs0tVQPp9jJ6PQ8Jc0et9UnImLdmChOAvpE_StB8-_E" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ff410466-bdc9-488b-9192-3b9149333724
Content-Length: 538
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "8cec59d1-4e84-4232-8fe0-738b00fcd61f",
    "url": "/v2/service_plan_visibilities/8cec59d1-4e84-4232-8fe0-738b00fcd61f",
    "created_at": "2014-11-13T23:38:19+00:00",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "c6580838-62ac-4e6e-84fe-e3febae9a83e",
    "organization_guid": "a9f06628-94e6-4af5-b344-e9ff55a6379a",
    "service_plan_url": "/v2/service_plans/c6580838-62ac-4e6e-84fe-e3febae9a83e",
    "organization_url": "/v2/organizations/a9f06628-94e6-4af5-b344-e9ff55a6379a"
  }
}