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/aac23256-e665-4ba2-95b4-e068b53dc9d8

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0OSIsImVtYWlsIjoiZW1haWwtMzE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTJ9.CzkZpp77q2K73tVeteNn0-dywAzopYvnFCV_HeEmBW8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/aac23256-e665-4ba2-95b4-e068b53dc9d8" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0OSIsImVtYWlsIjoiZW1haWwtMzE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTJ9.CzkZpp77q2K73tVeteNn0-dywAzopYvnFCV_HeEmBW8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "aac23256-e665-4ba2-95b4-e068b53dc9d8",
    "url": "/v2/service_plan_visibilities/aac23256-e665-4ba2-95b4-e068b53dc9d8",
    "created_at": "2016-03-17T21:41:32Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "8c056eb3-9f9f-4d9b-89c1-574d12bb118b",
    "organization_guid": "d35406ef-e828-4afd-9e98-b08d865a826c",
    "service_plan_url": "/v2/service_plans/8c056eb3-9f9f-4d9b-89c1-574d12bb118b",
    "organization_url": "/v2/organizations/d35406ef-e828-4afd-9e98-b08d865a826c"
  }
}

Headers

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