Service Usage Events API

Retrieve a Particular Service Usage Event

GET /v2/service_usage_events/:guid

Request

Route

GET /v2/service_usage_events/46a55ff9-96a1-442d-b8f5-21f4a6dd4a1a

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOCIsImVtYWlsIjoiZW1haWwtMjIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTl9.5dyRkuI9orqtiMi3Zh2wv9LBgJIC7YA4D1Qg44WZUS8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/46a55ff9-96a1-442d-b8f5-21f4a6dd4a1a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOCIsImVtYWlsIjoiZW1haWwtMjIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTl9.5dyRkuI9orqtiMi3Zh2wv9LBgJIC7YA4D1Qg44WZUS8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "46a55ff9-96a1-442d-b8f5-21f4a6dd4a1a",
    "url": "/v2/service_usage_events/46a55ff9-96a1-442d-b8f5-21f4a6dd4a1a",
    "created_at": "2016-06-08T16:41:39Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-c52b692e-4896-4f21-bbbb-17fa679efc2d",
    "space_guid": "guid-0220f8ce-2704-4c1b-bc8e-94f4cfb49c46",
    "space_name": "name-1987",
    "service_instance_guid": "guid-7741fcc1-0343-4630-8d76-1d8cd1af00e2",
    "service_instance_name": "name-1988",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-af7b1577-16fa-4ca3-a1ff-c90917382378",
    "service_plan_name": "name-1989",
    "service_guid": "guid-01954caf-cc7b-4242-b5f8-569cfedba078",
    "service_label": "label-66",
    "service_broker_name": "name-2929",
    "service_broker_guid": "guid-7cc11646-bf38-4f4e-b6e0-9581916a74d9"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3ae6e561-fb70-44e0-8082-e2a1ad87a445
Content-Length: 750
X-Content-Type-Options: nosniff