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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzl9.kIZhfRUQFdqGLuT_nSSWdnZINfksrh4CRh-5Nkw4z24
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/d5780c46-8103-4806-8160-7ffcc3c0abc3

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/d5780c46-8103-4806-8160-7ffcc3c0abc3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzl9.kIZhfRUQFdqGLuT_nSSWdnZINfksrh4CRh-5Nkw4z24" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f13e45eb-ad3d-439a-b8eb-42cc5be59512
Content-Length: 755
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "d5780c46-8103-4806-8160-7ffcc3c0abc3",
    "url": "/v2/service_usage_events/d5780c46-8103-4806-8160-7ffcc3c0abc3",
    "created_at": "2014-12-24T01:39:39+00:00"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-a9233992-fa3b-4740-9501-5bf672597575",
    "space_guid": "guid-d2e2c809-b85f-48f1-90d8-a4daa946a248",
    "space_name": "name-1899",
    "service_instance_guid": "guid-78f06a9f-bdab-470b-9292-5a7d36efcba7",
    "service_instance_name": "name-1900",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-5ac094ac-0745-4941-97d6-79427a05f323",
    "service_plan_name": "name-1901",
    "service_guid": "guid-fcf5bf28-5e39-4064-9249-78ce0a4f8487",
    "service_label": "label-67"
  }
}