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/168b09f0-ed50-4e5c-b59d-5933e03761aa

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc3IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0MjYwNjM3fQ.SsI1BoT9VypZ74dK7RPnPWtb3bPQQk8qIgr-tR39Pwc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/168b09f0-ed50-4e5c-b59d-5933e03761aa" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc3IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0MjYwNjM3fQ.SsI1BoT9VypZ74dK7RPnPWtb3bPQQk8qIgr-tR39Pwc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "168b09f0-ed50-4e5c-b59d-5933e03761aa",
    "url": "/v2/service_usage_events/168b09f0-ed50-4e5c-b59d-5933e03761aa",
    "created_at": "2015-09-30T23:30:37Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-018db760-95f2-4499-b4ad-bd3a01c031e7",
    "space_guid": "guid-3a495ba2-9736-4749-a7b8-cf241c1adb3d",
    "space_name": "name-1087",
    "service_instance_guid": "guid-4446f9e4-41be-48ef-ae3f-c1999c8b2218",
    "service_instance_name": "name-1088",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-29ca71ad-0547-4a3c-9c44-6afccbf52727",
    "service_plan_name": "name-1089",
    "service_guid": "guid-c4fe61de-f2df-4b61-b43e-9c9ee7a63ada",
    "service_label": "label-17"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e346eaec-2138-40cf-8e00-fe360dc78eca
Content-Length: 750
X-Content-Type-Options: nosniff