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/259dd930-ff13-4007-97d8-aee9df7df979

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MCIsImVtYWlsIjoiZW1haWwtMTA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDZ9.e1aA3mp3sbkdwTwepexEero4Magjqf80pRmvoifRK-g
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/259dd930-ff13-4007-97d8-aee9df7df979" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MCIsImVtYWlsIjoiZW1haWwtMTA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDZ9.e1aA3mp3sbkdwTwepexEero4Magjqf80pRmvoifRK-g" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "259dd930-ff13-4007-97d8-aee9df7df979",
    "url": "/v2/service_plan_visibilities/259dd930-ff13-4007-97d8-aee9df7df979",
    "created_at": "2015-06-04T00:05:06Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "4532c36a-70f9-49fe-8eaa-90f205db210c",
    "organization_guid": "cdc2f2f8-1dff-4121-bfdf-30e54d6602f3",
    "service_plan_url": "/v2/service_plans/4532c36a-70f9-49fe-8eaa-90f205db210c",
    "organization_url": "/v2/organizations/cdc2f2f8-1dff-4121-bfdf-30e54d6602f3"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5663c0f4-ef27-4dae-bdf9-f5c7382f7b85
Content-Length: 533
X-Content-Type-Options: nosniff