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/cd67f44d-fe1a-4e38-a78f-0975da0fa327

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc5IiwiZW1haWwiOiJlbWFpbC00NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ5NTMxNTA5fQ.meNahXEhdlKcuhB2TXl-YN9i87IEoNdKondV5pL-qjA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/cd67f44d-fe1a-4e38-a78f-0975da0fa327" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc5IiwiZW1haWwiOiJlbWFpbC00NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ5NTMxNTA5fQ.meNahXEhdlKcuhB2TXl-YN9i87IEoNdKondV5pL-qjA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "cd67f44d-fe1a-4e38-a78f-0975da0fa327",
    "url": "/v2/service_plan_visibilities/cd67f44d-fe1a-4e38-a78f-0975da0fa327",
    "created_at": "2015-11-30T23:38:29Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "c2b02871-b379-4041-a9af-80e195bb38ce",
    "organization_guid": "982356c2-d9dd-4e3c-9beb-c76a697abc41",
    "service_plan_url": "/v2/service_plans/c2b02871-b379-4041-a9af-80e195bb38ce",
    "organization_url": "/v2/organizations/982356c2-d9dd-4e3c-9beb-c76a697abc41"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 533
X-Content-Type-Options: nosniff