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/a631725b-2abf-43b7-b562-b16f31b9ccaa

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMyIsImVtYWlsIjoiZW1haWwtMjc0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTF9.2qezGlR3pzudzjx5khePLInRbS7XU7IJljwzHO6engc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/a631725b-2abf-43b7-b562-b16f31b9ccaa" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMyIsImVtYWlsIjoiZW1haWwtMjc0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTF9.2qezGlR3pzudzjx5khePLInRbS7XU7IJljwzHO6engc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a631725b-2abf-43b7-b562-b16f31b9ccaa",
    "url": "/v2/service_plan_visibilities/a631725b-2abf-43b7-b562-b16f31b9ccaa",
    "created_at": "2016-01-13T17:29:51Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "efe63b36-561b-4980-971c-d309d1dcd654",
    "organization_guid": "acfa0940-e7f4-4d1a-9e6c-f58e817a48de",
    "service_plan_url": "/v2/service_plans/efe63b36-561b-4980-971c-d309d1dcd654",
    "organization_url": "/v2/organizations/acfa0940-e7f4-4d1a-9e6c-f58e817a48de"
  }
}

Headers

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