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/4a626e7a-cc39-4b8d-93d2-ffe344ab70ed

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtODdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzNjgyOTc4MH0.P-kg00--m4KJpPuJCWAnUxDdleKczUnxk1WUQgmbg3E
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/4a626e7a-cc39-4b8d-93d2-ffe344ab70ed" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtODdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzNjgyOTc4MH0.P-kg00--m4KJpPuJCWAnUxDdleKczUnxk1WUQgmbg3E" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4a626e7a-cc39-4b8d-93d2-ffe344ab70ed",
    "url": "/v2/service_usage_events/4a626e7a-cc39-4b8d-93d2-ffe344ab70ed",
    "created_at": "2015-07-06T23:23:00Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-a8274c8c-f91d-4b9e-93e1-ea934630b7bf",
    "space_guid": "guid-9065440b-685c-469c-b1a6-f504bcb670e5",
    "space_name": "name-423",
    "service_instance_guid": "guid-11f38423-31c1-4a32-93cd-39c3269241df",
    "service_instance_name": "name-424",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-f983ee15-297f-433f-95ac-f33108ec8270",
    "service_plan_name": "name-425",
    "service_guid": "guid-2d2b15d6-bfc7-4c49-9878-9ae7cec7b441",
    "service_label": "label-23"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0ddf98a8-8f29-41c9-ae0a-18273e5035f9
Content-Length: 747
X-Content-Type-Options: nosniff