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.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDN9.Tb4qsj6Yx4VwBxggnlfbh7VWkKlIQFhmBK665RSD0rs
Host: example.org
Cookie: 

Route

GET /v2/service_plan_visibilities/41f572a6-fffc-4288-96ef-3286d1ac9797

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/41f572a6-fffc-4288-96ef-3286d1ac9797" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDN9.Tb4qsj6Yx4VwBxggnlfbh7VWkKlIQFhmBK665RSD0rs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: dfd3d4a3-8bcb-4d5d-b272-1408dc666d50
Content-Length: 538
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "41f572a6-fffc-4288-96ef-3286d1ac9797",
    "url": "/v2/service_plan_visibilities/41f572a6-fffc-4288-96ef-3286d1ac9797",
    "created_at": "2014-11-05T01:02:23+00:00",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "8ac982c9-0b68-43ac-b6fd-4fd52616b3a3",
    "organization_guid": "270c94a9-74cc-4e66-b4c0-9695debdb78b",
    "service_plan_url": "/v2/service_plans/8ac982c9-0b68-43ac-b6fd-4fd52616b3a3",
    "organization_url": "/v2/organizations/270c94a9-74cc-4e66-b4c0-9695debdb78b"
  }
}