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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDh9.0ZBtMyccn0YBwc_6vT_z0NaPbWT4EwOp-pXUNVWq5vY
Host: example.org
Cookie: 

Route

GET /v2/service_plan_visibilities/050ac863-b5d7-4c25-b86a-01f11f78a123

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/050ac863-b5d7-4c25-b86a-01f11f78a123" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDh9.0ZBtMyccn0YBwc_6vT_z0NaPbWT4EwOp-pXUNVWq5vY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 997d46ef-7e56-41b2-adff-1523dde23670
Content-Length: 533
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "050ac863-b5d7-4c25-b86a-01f11f78a123",
    "url": "/v2/service_plan_visibilities/050ac863-b5d7-4c25-b86a-01f11f78a123",
    "created_at": "2015-02-13T22:35:08Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "8dc9b90d-e985-4dfb-a77b-248d374f85fd",
    "organization_guid": "08629958-6a10-413f-bdb5-cf428da87711",
    "service_plan_url": "/v2/service_plans/8dc9b90d-e985-4dfb-a77b-248d374f85fd",
    "organization_url": "/v2/organizations/08629958-6a10-413f-bdb5-cf428da87711"
  }
}