Home
Version 3
Service Usage Events (experimental) API

Service Usage Events (experimental) API

Retrieve a Particular Service Usage Event

GET /v2/service_usage_events/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Usage Event

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NSIsImVtYWlsIjoiZW1haWwtMTg2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzd9.hHbEHklnEEmCyAG_UGjaxG8JxyuIffFFsY0gkYauJtM
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/e5f37131-0157-4b0a-a93a-a729c38ebb47

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/e5f37131-0157-4b0a-a93a-a729c38ebb47" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NSIsImVtYWlsIjoiZW1haWwtMTg2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzd9.hHbEHklnEEmCyAG_UGjaxG8JxyuIffFFsY0gkYauJtM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 38cfdb71-5c0c-4ffb-9d83-e7d27efc7290
Content-Length: 750
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "e5f37131-0157-4b0a-a93a-a729c38ebb47",
    "url": "/v2/service_usage_events/e5f37131-0157-4b0a-a93a-a729c38ebb47",
    "created_at": "2015-01-27T19:14:37Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-8b4656de-b447-47ea-b602-cac322e724fb",
    "space_guid": "guid-d895fab6-1c1a-4a9f-8714-13cfb1d0a78c",
    "space_name": "name-1476",
    "service_instance_guid": "guid-cbac5449-47a0-48ca-8a0e-e49f0147a796",
    "service_instance_name": "name-1477",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-effec64d-fe5e-441c-8ba3-a1e24ca89eee",
    "service_plan_name": "name-1478",
    "service_guid": "guid-7db20f60-0cfe-407e-8375-0abf8d80dda5",
    "service_label": "label-72"
  }
}