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/7ade89ca-c6c7-4819-b952-3a7010c46e58

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwIiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIyfQ.An_wJDfYv-nLZE0MfvMwDIlvYIJvbVUEypaYNC-4NzY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/7ade89ca-c6c7-4819-b952-3a7010c46e58" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwIiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIyfQ.An_wJDfYv-nLZE0MfvMwDIlvYIJvbVUEypaYNC-4NzY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "7ade89ca-c6c7-4819-b952-3a7010c46e58",
    "url": "/v2/service_plan_visibilities/7ade89ca-c6c7-4819-b952-3a7010c46e58",
    "created_at": "2016-04-16T01:23:42Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "5dbf9450-0a8c-4f92-b456-5920c5382649",
    "organization_guid": "44e2e2d4-46b5-44ae-bfec-88a10a79eae6",
    "service_plan_url": "/v2/service_plans/5dbf9450-0a8c-4f92-b456-5920c5382649",
    "organization_url": "/v2/organizations/44e2e2d4-46b5-44ae-bfec-88a10a79eae6"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 905b50bb-d1d0-4a92-9d34-db8b3dfd97a7
Content-Length: 533
X-Content-Type-Options: nosniff