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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NCIsImVtYWlsIjoiZW1haWwtMTE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTl9.eLnC259REC4cyLuJLbd4MwFwlHPYsn8nAuyKCtPkhjY
Host: example.org
Cookie: 

Route

GET /v2/service_plan_visibilities/a583ddb7-d8d9-463c-bd85-33bb686f5911

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/a583ddb7-d8d9-463c-bd85-33bb686f5911" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NCIsImVtYWlsIjoiZW1haWwtMTE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTl9.eLnC259REC4cyLuJLbd4MwFwlHPYsn8nAuyKCtPkhjY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ef9b3bba-fedb-4229-92e8-7769c5218ac4
Content-Length: 538
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "a583ddb7-d8d9-463c-bd85-33bb686f5911",
    "url": "/v2/service_plan_visibilities/a583ddb7-d8d9-463c-bd85-33bb686f5911",
    "created_at": "2014-11-24T19:32:39+00:00",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "7c7227bb-a087-41a4-9ad4-7c4e0d9b6b05",
    "organization_guid": "632ff63a-4dea-4292-9fa8-33cc75425adc",
    "service_plan_url": "/v2/service_plans/7c7227bb-a087-41a4-9ad4-7c4e0d9b6b05",
    "organization_url": "/v2/organizations/632ff63a-4dea-4292-9fa8-33cc75425adc"
  }
}