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/a353104b-1290-418c-bc03-0e647afd0853

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NyIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTF9.rci_5YgIVLWPNExING9wpY-neK4BgC2x5ZZHd8Rf1uU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/a353104b-1290-418c-bc03-0e647afd0853" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NyIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTF9.rci_5YgIVLWPNExING9wpY-neK4BgC2x5ZZHd8Rf1uU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a353104b-1290-418c-bc03-0e647afd0853",
    "url": "/v2/service_plan_visibilities/a353104b-1290-418c-bc03-0e647afd0853",
    "created_at": "2016-06-08T16:41:31Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "2bf35919-3922-49f3-9e14-5fee035a1b05",
    "organization_guid": "e02678c3-44fb-4c0c-bd45-9354053c0707",
    "service_plan_url": "/v2/service_plans/2bf35919-3922-49f3-9e14-5fee035a1b05",
    "organization_url": "/v2/organizations/e02678c3-44fb-4c0c-bd45-9354053c0707"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6414ced1-d6f3-452e-8ac7-4cf5720496f5
Content-Length: 533
X-Content-Type-Options: nosniff