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/d4b08bcc-b14b-46e3-8d0c-27a045f3986a

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM5NH0.nJN2Kt1CQ6e-VeLcggz25pWrQODPMcN8O9A2ZvJXdY4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/d4b08bcc-b14b-46e3-8d0c-27a045f3986a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM5NH0.nJN2Kt1CQ6e-VeLcggz25pWrQODPMcN8O9A2ZvJXdY4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d4b08bcc-b14b-46e3-8d0c-27a045f3986a",
    "url": "/v2/service_plan_visibilities/d4b08bcc-b14b-46e3-8d0c-27a045f3986a",
    "created_at": "2016-04-22T19:33:14Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "e2071a48-077c-4217-9e67-c3483ef045af",
    "organization_guid": "3dd2c75f-5b87-4bbf-b2b7-1450c6567e83",
    "service_plan_url": "/v2/service_plans/e2071a48-077c-4217-9e67-c3483ef045af",
    "organization_url": "/v2/organizations/3dd2c75f-5b87-4bbf-b2b7-1450c6567e83"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 73287c60-41da-4e5f-9d6f-d8bf2346f23f
Content-Length: 533
X-Content-Type-Options: nosniff