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.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMCIsImVtYWlsIjoiZW1haWwtMTUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTd9.Z-AURgwjia_q5EnoxIoWa2L6TYlkckidneZ4xKCDWOc
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/27136f3a-e8fc-4aad-941e-defa364136c0

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/27136f3a-e8fc-4aad-941e-defa364136c0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMCIsImVtYWlsIjoiZW1haWwtMTUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTd9.Z-AURgwjia_q5EnoxIoWa2L6TYlkckidneZ4xKCDWOc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9253d2c3-f634-40ee-89ae-017415ea5682
Content-Length: 750
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "27136f3a-e8fc-4aad-941e-defa364136c0",
    "url": "/v2/service_usage_events/27136f3a-e8fc-4aad-941e-defa364136c0",
    "created_at": "2015-02-13T22:34:57Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-04b7c7de-b644-4ede-a3ec-539e5227b56e",
    "space_guid": "guid-1982f64a-45fb-47c5-81b6-101a723761d8",
    "space_name": "name-1346",
    "service_instance_guid": "guid-e8be8841-232b-4366-b717-9ea65320c479",
    "service_instance_name": "name-1347",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-5a4f4731-b7a0-4dd1-8a6d-18b117443f7e",
    "service_plan_name": "name-1348",
    "service_guid": "guid-329afe12-67f0-4209-93aa-027827628445",
    "service_label": "label-34"
  }
}