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/ca96a59d-a835-49d4-8f19-c3441adeddbc

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4MyIsImVtYWlsIjoiZW1haWwtMjgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTJ9.0an2zxrxSY5GRaU_RgHFPk7qqBg928Jv8JYa1KxiiNI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/ca96a59d-a835-49d4-8f19-c3441adeddbc" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4MyIsImVtYWlsIjoiZW1haWwtMjgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTJ9.0an2zxrxSY5GRaU_RgHFPk7qqBg928Jv8JYa1KxiiNI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ca96a59d-a835-49d4-8f19-c3441adeddbc",
    "url": "/v2/service_plan_visibilities/ca96a59d-a835-49d4-8f19-c3441adeddbc",
    "created_at": "2015-04-15T00:55:52Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "8dd99006-80fb-47b7-96bf-d858d9fb1f50",
    "organization_guid": "ebf4d234-7b6c-4d9b-898d-fc117c071ea5",
    "service_plan_url": "/v2/service_plans/8dd99006-80fb-47b7-96bf-d858d9fb1f50",
    "organization_url": "/v2/organizations/ebf4d234-7b6c-4d9b-898d-fc117c071ea5"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0ab98ff6-3f8d-48cf-a841-cc0b857159a7
Content-Length: 533
X-Content-Type-Options: nosniff