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/d40668cd-b439-4190-b30a-ca6f7d3ecdbb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNyIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzh9.CxWNeJ_evn8jpOD-1p-wxVZ63ixpF0xudKmzJ5GqVSU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/d40668cd-b439-4190-b30a-ca6f7d3ecdbb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNyIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzh9.CxWNeJ_evn8jpOD-1p-wxVZ63ixpF0xudKmzJ5GqVSU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d40668cd-b439-4190-b30a-ca6f7d3ecdbb",
    "url": "/v2/service_plan_visibilities/d40668cd-b439-4190-b30a-ca6f7d3ecdbb",
    "created_at": "2015-09-11T18:38:58Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "837f4acb-61bb-4455-acd2-50b48af17ecb",
    "organization_guid": "fb8baa4b-10a1-49eb-8126-58c618e4b0b9",
    "service_plan_url": "/v2/service_plans/837f4acb-61bb-4455-acd2-50b48af17ecb",
    "organization_url": "/v2/organizations/fb8baa4b-10a1-49eb-8126-58c618e4b0b9"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ae2b1cee-0a01-4959-a1e8-cb1c77009d94
Content-Length: 533
X-Content-Type-Options: nosniff