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/32837e23-8296-44bd-8b89-7bf1001fe3cb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNiIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODd9.SBipJbL-y_-SQxAE0Hdb4261OomL_r1tg0iwscHfEOY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/32837e23-8296-44bd-8b89-7bf1001fe3cb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNiIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODd9.SBipJbL-y_-SQxAE0Hdb4261OomL_r1tg0iwscHfEOY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "32837e23-8296-44bd-8b89-7bf1001fe3cb",
    "url": "/v2/service_plan_visibilities/32837e23-8296-44bd-8b89-7bf1001fe3cb",
    "created_at": "2015-07-06T23:23:07Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "1005207e-5126-491b-96d2-3c7a5a4aa897",
    "organization_guid": "4ba3be9d-fe34-4438-a114-da32828d2a05",
    "service_plan_url": "/v2/service_plans/1005207e-5126-491b-96d2-3c7a5a4aa897",
    "organization_url": "/v2/organizations/4ba3be9d-fe34-4438-a114-da32828d2a05"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 58728213-0bdc-4561-aa15-d8b3681dc71f
Content-Length: 533
X-Content-Type-Options: nosniff