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/21b3f5ee-d017-4a34-884a-138b9e4b0910

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NSIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0MzR9.nc_BBJQ8cOKDX1eteTX0jBa9ya-aFInEmntTWNnuE2A
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/21b3f5ee-d017-4a34-884a-138b9e4b0910" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NSIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0MzR9.nc_BBJQ8cOKDX1eteTX0jBa9ya-aFInEmntTWNnuE2A" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "21b3f5ee-d017-4a34-884a-138b9e4b0910",
    "url": "/v2/service_plan_visibilities/21b3f5ee-d017-4a34-884a-138b9e4b0910",
    "created_at": "2016-03-14T22:30:34Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "43282d7a-3c9b-4015-83e0-841d5fec8710",
    "organization_guid": "9c0e9495-1501-4563-8087-4d838b0d440f",
    "service_plan_url": "/v2/service_plans/43282d7a-3c9b-4015-83e0-841d5fec8710",
    "organization_url": "/v2/organizations/9c0e9495-1501-4563-8087-4d838b0d440f"
  }
}

Headers

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