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/18365c25-898b-4365-911d-6f6a09154297

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMyIsImVtYWlsIjoiZW1haWwtMjIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MDh9.AxiYbGsrU1VsCFkh-qY3xw9lLCpLP8o6dKftMmjoKDQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/18365c25-898b-4365-911d-6f6a09154297" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMyIsImVtYWlsIjoiZW1haWwtMjIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MDh9.AxiYbGsrU1VsCFkh-qY3xw9lLCpLP8o6dKftMmjoKDQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "18365c25-898b-4365-911d-6f6a09154297",
    "url": "/v2/service_plan_visibilities/18365c25-898b-4365-911d-6f6a09154297",
    "created_at": "2015-07-27T22:43:28Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "ea1ba716-e720-4aef-8a90-439924bb53d0",
    "organization_guid": "a1cc950b-ed5b-41eb-8eee-d9a8f85aa1ea",
    "service_plan_url": "/v2/service_plans/ea1ba716-e720-4aef-8a90-439924bb53d0",
    "organization_url": "/v2/organizations/a1cc950b-ed5b-41eb-8eee-d9a8f85aa1ea"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 354e8510-ba8a-4c54-b5fe-309cc40a97a0
Content-Length: 533
X-Content-Type-Options: nosniff