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/0249836b-e04c-45c7-b065-25e960a4f658

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOCIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTF9.A-Blj2TmJfpJ4dCrmIyA3l1ZMUT2QGXzf5z3xdziIak
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/0249836b-e04c-45c7-b065-25e960a4f658" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOCIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTF9.A-Blj2TmJfpJ4dCrmIyA3l1ZMUT2QGXzf5z3xdziIak" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0249836b-e04c-45c7-b065-25e960a4f658",
    "url": "/v2/service_plan_visibilities/0249836b-e04c-45c7-b065-25e960a4f658",
    "created_at": "2015-10-13T17:31:50Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "0f400f43-758a-40b3-b3b5-c8f63fe5feef",
    "organization_guid": "8229c5a8-c423-42f9-80e2-684f2110d4e3",
    "service_plan_url": "/v2/service_plans/0f400f43-758a-40b3-b3b5-c8f63fe5feef",
    "organization_url": "/v2/organizations/8229c5a8-c423-42f9-80e2-684f2110d4e3"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f85de64b-4ebc-47e5-bffc-30d6b9d06d8f
Content-Length: 533
X-Content-Type-Options: nosniff