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/3a94179a-5514-4c6f-8430-5ab4976d4f7d

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MSIsImVtYWlsIjoiZW1haWwtMjkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NzF9.6F7AryAxWghov7-gJ6HMyKDwVQT2HAH1jvQ7TNl50ZA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_plan_visibilities/3a94179a-5514-4c6f-8430-5ab4976d4f7d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MSIsImVtYWlsIjoiZW1haWwtMjkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NzF9.6F7AryAxWghov7-gJ6HMyKDwVQT2HAH1jvQ7TNl50ZA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "3a94179a-5514-4c6f-8430-5ab4976d4f7d",
    "url": "/v2/service_plan_visibilities/3a94179a-5514-4c6f-8430-5ab4976d4f7d",
    "created_at": "2015-03-20T18:27:51Z",
    "updated_at": null
  },
  "entity": {
    "service_plan_guid": "f3f948f6-45a4-4d87-b677-50f10baf179c",
    "organization_guid": "ee6581f8-850c-414a-a992-649655c1ec7f",
    "service_plan_url": "/v2/service_plans/f3f948f6-45a4-4d87-b677-50f10baf179c",
    "organization_url": "/v2/organizations/ee6581f8-850c-414a-a992-649655c1ec7f"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: fa8034cd-55b8-418e-bdc4-e7af9c0626d1
Content-Length: 533
X-Content-Type-Options: nosniff