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/f61d174f-40d2-496c-aa79-a50958400d4d

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTd9.-eDPWhowXg-kWrVrWOtw5onEGqPjpfP09BhyxajtDGA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/f61d174f-40d2-496c-aa79-a50958400d4d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTd9.-eDPWhowXg-kWrVrWOtw5onEGqPjpfP09BhyxajtDGA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "f61d174f-40d2-496c-aa79-a50958400d4d",
    "url": "/v2/service_plan_visibilities/f61d174f-40d2-496c-aa79-a50958400d4d",
    "created_at": "2015-06-16T23:40:57Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "5d202070-c774-48b9-b7c0-cba6b43998e6",
    "organization_guid": "8e750f10-fe58-4424-919b-5c4d9091612b",
    "service_plan_url": "/v2/service_plans/5d202070-c774-48b9-b7c0-cba6b43998e6",
    "organization_url": "/v2/organizations/8e750f10-fe58-4424-919b-5c4d9091612b"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: afeb8abf-891e-43c6-bf30-ad20c75bbd51
Content-Length: 533
X-Content-Type-Options: nosniff