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/d4e6a33f-9de8-41ee-a48d-4c7657f39260

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4OCIsImVtYWlsIjoiZW1haWwtMjU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NTl9.TTOgDFk3uBLVhNptUCvt9JkIHpF7XDpFBQnLiRtT3IY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/d4e6a33f-9de8-41ee-a48d-4c7657f39260" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4OCIsImVtYWlsIjoiZW1haWwtMjU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NTl9.TTOgDFk3uBLVhNptUCvt9JkIHpF7XDpFBQnLiRtT3IY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d4e6a33f-9de8-41ee-a48d-4c7657f39260",
    "url": "/v2/service_plan_visibilities/d4e6a33f-9de8-41ee-a48d-4c7657f39260",
    "created_at": "2016-04-06T00:17:39Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "75755f90-db00-4c8e-8fdd-151834dd854a",
    "organization_guid": "5ef2f920-78a7-4f37-93f7-45beb820c3f0",
    "service_plan_url": "/v2/service_plans/75755f90-db00-4c8e-8fdd-151834dd854a",
    "organization_url": "/v2/organizations/5ef2f920-78a7-4f37-93f7-45beb820c3f0"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 533
X-Content-Type-Options: nosniff