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/2ee87033-278d-4536-8996-9841a54efcd0

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MiIsImVtYWlsIjoiZW1haWwtODhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzOH0.k7bbK3nyt5mQ3B0v9KnyDObo0xDNeWs4joxh8ths7mI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/2ee87033-278d-4536-8996-9841a54efcd0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MiIsImVtYWlsIjoiZW1haWwtODhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzOH0.k7bbK3nyt5mQ3B0v9KnyDObo0xDNeWs4joxh8ths7mI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2ee87033-278d-4536-8996-9841a54efcd0",
    "url": "/v2/service_plan_visibilities/2ee87033-278d-4536-8996-9841a54efcd0",
    "created_at": "2015-10-15T23:52:18Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "cf1a8bbf-5624-4d5f-8609-d638391bfce2",
    "organization_guid": "e7cb5371-fa4a-4fc1-bf37-9e256eb02580",
    "service_plan_url": "/v2/service_plans/cf1a8bbf-5624-4d5f-8609-d638391bfce2",
    "organization_url": "/v2/organizations/e7cb5371-fa4a-4fc1-bf37-9e256eb02580"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9e8b095c-2d5f-49b5-85ad-3067f4cae486
Content-Length: 533
X-Content-Type-Options: nosniff