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.eyJ1c2VyX2lkIjoidWFhLWlkLTcwIiwiZW1haWwiOiJlbWFpbC00MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyMzIzNTMxfQ.Nse8fLTmHERzwUEHl8K3InXaOqhzR_0ok5k-Xs5ex0w
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/2b9351a9-5f7a-4218-9a4f-78ff42fefbc7

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/2b9351a9-5f7a-4218-9a4f-78ff42fefbc7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcwIiwiZW1haWwiOiJlbWFpbC00MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyMzIzNTMxfQ.Nse8fLTmHERzwUEHl8K3InXaOqhzR_0ok5k-Xs5ex0w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a1e5f6fa-3fae-4870-833e-18cb71f25616
Content-Length: 751
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "2b9351a9-5f7a-4218-9a4f-78ff42fefbc7",
    "url": "/v2/service_usage_events/2b9351a9-5f7a-4218-9a4f-78ff42fefbc7",
    "created_at": "2015-01-20T01:52:11+00:00"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-1050bc7c-bf60-4992-af89-f2cea60c3a3e",
    "space_guid": "guid-bede571a-e260-4ca3-ad0d-f1d1c1c725bd",
    "space_name": "name-239",
    "service_instance_guid": "guid-325e53bd-6cdb-423c-bdfe-7e4d8d38ed9b",
    "service_instance_name": "name-240",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-ff6b72b5-1156-49a3-b43e-b43d366fe6be",
    "service_plan_name": "name-241",
    "service_guid": "guid-b49b8595-59f0-4619-a821-679d8c63f50b",
    "service_label": "label-2"
  }
}