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/840da052-36cb-49c5-ac75-110f576bd461

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMDR9.9ZeK2VgP3wqJt_z0Lnh1OkTMpNhzVVFMuGVhJBxfN2M
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/840da052-36cb-49c5-ac75-110f576bd461" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMDR9.9ZeK2VgP3wqJt_z0Lnh1OkTMpNhzVVFMuGVhJBxfN2M" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "840da052-36cb-49c5-ac75-110f576bd461",
    "url": "/v2/service_usage_events/840da052-36cb-49c5-ac75-110f576bd461",
    "created_at": "2015-08-06T00:36:44Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-9b855183-b380-4b74-94d8-d9465dd26e6f",
    "space_guid": "guid-df64d1f3-f234-43e2-bee8-8f3d40b26ea9",
    "space_name": "name-1668",
    "service_instance_guid": "guid-57412a10-de5d-4fb6-8396-668405db2f54",
    "service_instance_name": "name-1669",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-8a7f9a4d-d311-4203-b762-1568d2f7329c",
    "service_plan_name": "name-1670",
    "service_guid": "guid-0af579dc-97af-425c-ab8d-338a65bb421b",
    "service_label": "label-27"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3859ba6c-6254-4cce-8e86-d91a7a570c8f
Content-Length: 750
X-Content-Type-Options: nosniff