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/e00abfce-4c12-45b2-9bc2-c385ead3c6b1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzB9.rbWIGvmNN3LnLXjm-L-_QwA2IOEA2N7LWv5jY-rSs_g
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/e00abfce-4c12-45b2-9bc2-c385ead3c6b1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzB9.rbWIGvmNN3LnLXjm-L-_QwA2IOEA2N7LWv5jY-rSs_g" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "e00abfce-4c12-45b2-9bc2-c385ead3c6b1",
    "url": "/v2/service_plan_visibilities/e00abfce-4c12-45b2-9bc2-c385ead3c6b1",
    "created_at": "2016-02-19T02:03:50Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "acc7fc1e-17b1-4024-8334-da8fa67d9397",
    "organization_guid": "415ac8bc-43c7-433e-ab19-99185b61fb92",
    "service_plan_url": "/v2/service_plans/acc7fc1e-17b1-4024-8334-da8fa67d9397",
    "organization_url": "/v2/organizations/415ac8bc-43c7-433e-ab19-99185b61fb92"
  }
}

Headers

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