Home
Version 3
Service Plan Visibilities API

Service Plan Visibilities API

Retrieve a Particular Service Plan Visibility

GET /v2/service_plan_visibilities/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Plan Visibility

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMCIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzR9.N0o9V4zW9EnMxGsHJBihxtXnYhBuTCjI0dhGYIy_xUQ
Host: example.org
Cookie: 

Route

GET /v2/service_plan_visibilities/a1d2438b-993e-4530-a1a1-5ed089a72e05

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/a1d2438b-993e-4530-a1a1-5ed089a72e05" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMCIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzR9.N0o9V4zW9EnMxGsHJBihxtXnYhBuTCjI0dhGYIy_xUQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: aa85d492-0190-47e1-ac0f-967279295e34
Content-Length: 533
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "a1d2438b-993e-4530-a1a1-5ed089a72e05",
    "url": "/v2/service_plan_visibilities/a1d2438b-993e-4530-a1a1-5ed089a72e05",
    "created_at": "2015-02-10T01:42:54Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "5b69f5f2-6e87-41f1-b959-dbfa27969f54",
    "organization_guid": "ce1b3027-59ad-4223-8b36-b365c3d3bbde",
    "service_plan_url": "/v2/service_plans/5b69f5f2-6e87-41f1-b959-dbfa27969f54",
    "organization_url": "/v2/organizations/ce1b3027-59ad-4223-8b36-b365c3d3bbde"
  }
}