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/45c27d4e-0a6e-4fa7-976c-1ae6ca82464a

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0OCIsImVtYWlsIjoiZW1haWwtMzEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MzF9.dhoKx8ZYePo1Y-2zg7wP3WtqARQ_yXzCvKliCNyW4gE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/45c27d4e-0a6e-4fa7-976c-1ae6ca82464a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0OCIsImVtYWlsIjoiZW1haWwtMzEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MzF9.dhoKx8ZYePo1Y-2zg7wP3WtqARQ_yXzCvKliCNyW4gE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "45c27d4e-0a6e-4fa7-976c-1ae6ca82464a",
    "url": "/v2/service_plan_visibilities/45c27d4e-0a6e-4fa7-976c-1ae6ca82464a",
    "created_at": "2016-05-12T00:45:31Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "cac95568-0c68-4589-9c54-d6544237399a",
    "organization_guid": "8b4efa04-6d16-4371-8aae-22b5100aa50e",
    "service_plan_url": "/v2/service_plans/cac95568-0c68-4589-9c54-d6544237399a",
    "organization_url": "/v2/organizations/8b4efa04-6d16-4371-8aae-22b5100aa50e"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 53656df8-9100-4464-8cbb-c4822f8dc447
Content-Length: 533
X-Content-Type-Options: nosniff