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/96ca45db-6475-4992-b88f-dac75b04de39

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk3N30.Y05yxbKEjVqa7UVm5dO_5png1SafznWxBTT254Iw8DY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/96ca45db-6475-4992-b88f-dac75b04de39" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk3N30.Y05yxbKEjVqa7UVm5dO_5png1SafznWxBTT254Iw8DY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "96ca45db-6475-4992-b88f-dac75b04de39",
    "url": "/v2/service_plan_visibilities/96ca45db-6475-4992-b88f-dac75b04de39",
    "created_at": "2015-05-21T01:02:57Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "1122a285-707f-496d-8331-5de22f7f4dfe",
    "organization_guid": "b5a23395-e609-4bbe-9b76-395cd063ea32",
    "service_plan_url": "/v2/service_plans/1122a285-707f-496d-8331-5de22f7f4dfe",
    "organization_url": "/v2/organizations/b5a23395-e609-4bbe-9b76-395cd063ea32"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a8add7f6-1440-408d-864d-ce4bab5da2e9
Content-Length: 533
X-Content-Type-Options: nosniff