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/14d2c0e1-49f0-4355-b63c-f5c07879756f

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNCIsImVtYWlsIjoiZW1haWwtMjM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTZ9.elBm-PlclcCLt_JuOEqfwvVTLhZS-5q1vdnsJFGdgpI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/14d2c0e1-49f0-4355-b63c-f5c07879756f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNCIsImVtYWlsIjoiZW1haWwtMjM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTZ9.elBm-PlclcCLt_JuOEqfwvVTLhZS-5q1vdnsJFGdgpI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "14d2c0e1-49f0-4355-b63c-f5c07879756f",
    "url": "/v2/service_plan_visibilities/14d2c0e1-49f0-4355-b63c-f5c07879756f",
    "created_at": "2015-04-07T19:11:56Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "58cf8c4f-d588-4247-a8f5-b564603d5a10",
    "organization_guid": "e54b5aa4-2d1b-4503-9a86-f451aa841e0d",
    "service_plan_url": "/v2/service_plans/58cf8c4f-d588-4247-a8f5-b564603d5a10",
    "organization_url": "/v2/organizations/e54b5aa4-2d1b-4503-9a86-f451aa841e0d"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 211b4912-69dd-4b58-8978-056c6822d13b
Content-Length: 533
X-Content-Type-Options: nosniff