Home
Version 3
Service Usage Events API

Service Usage Events API

Retrieve a Particular Service Usage Event

GET /v2/service_usage_events/:guid

Request

Route

GET /v2/service_usage_events/bb1f00c4-1967-4b66-968e-40f0efd21a7d

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMCIsImVtYWlsIjoiZW1haWwtMjUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDl9.iQZPF85-u5R3DYfyqwVwXDLpEp8_Lw4j4FylYORWs1A
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/bb1f00c4-1967-4b66-968e-40f0efd21a7d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMCIsImVtYWlsIjoiZW1haWwtMjUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDl9.iQZPF85-u5R3DYfyqwVwXDLpEp8_Lw4j4FylYORWs1A" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "bb1f00c4-1967-4b66-968e-40f0efd21a7d",
    "url": "/v2/service_usage_events/bb1f00c4-1967-4b66-968e-40f0efd21a7d",
    "created_at": "2015-11-03T00:54:09Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-96b9c5a1-3dd2-4307-b8a1-5ae577cd64e1",
    "space_guid": "guid-0041d3a7-e28c-4703-8282-2eda83b1b909",
    "space_name": "name-1239",
    "service_instance_guid": "guid-a8aea099-bbdc-4c7b-a556-e05f51153da7",
    "service_instance_name": "name-1240",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-7136e4de-de41-4577-89f9-7ccfe868bf83",
    "service_plan_name": "name-1241",
    "service_guid": "guid-eb260f6f-c84c-4463-ac88-056fbbad3bce",
    "service_label": "label-56"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 21346566-d985-4be6-a52b-1a47a977863a
Content-Length: 750
X-Content-Type-Options: nosniff