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/8301667d-128f-4727-aba4-5e58f10f6d41

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwIiwiZW1haWwiOiJlbWFpbC0xMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTE5fQ.-vXTkMS4VOfOVFYAdrPWrgS7UFoDxUh8uAbl06fC38w
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/8301667d-128f-4727-aba4-5e58f10f6d41" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwIiwiZW1haWwiOiJlbWFpbC0xMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTE5fQ.-vXTkMS4VOfOVFYAdrPWrgS7UFoDxUh8uAbl06fC38w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "8301667d-128f-4727-aba4-5e58f10f6d41",
    "url": "/v2/service_plan_visibilities/8301667d-128f-4727-aba4-5e58f10f6d41",
    "created_at": "2015-10-07T00:35:19Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "af0e07a0-0963-4c05-8d6c-b5c3bf81c151",
    "organization_guid": "6976f2ec-5677-4609-b259-06d06749b1f1",
    "service_plan_url": "/v2/service_plans/af0e07a0-0963-4c05-8d6c-b5c3bf81c151",
    "organization_url": "/v2/organizations/6976f2ec-5677-4609-b259-06d06749b1f1"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: bbc20373-8b1f-414a-905b-1ffbb53ca8d0
Content-Length: 533
X-Content-Type-Options: nosniff