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/acd30df9-a65b-4743-a667-3ab207f58506

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc0IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4MzkzfQ.YAoYg7plFw7oBP4DZj8Blobs2IgBtMxvxhB2yU4F-B8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/acd30df9-a65b-4743-a667-3ab207f58506" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc0IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4MzkzfQ.YAoYg7plFw7oBP4DZj8Blobs2IgBtMxvxhB2yU4F-B8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "acd30df9-a65b-4743-a667-3ab207f58506",
    "url": "/v2/service_usage_events/acd30df9-a65b-4743-a667-3ab207f58506",
    "created_at": "2016-04-22T19:33:13Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-269c7a8a-62cb-4aff-a7a0-299ee470808b",
    "space_guid": "guid-950e4a0e-2367-47b3-adcc-6596ff5048e5",
    "space_name": "name-131",
    "service_instance_guid": "guid-cf266d44-269c-4ba9-9697-739ef8fd2ad0",
    "service_instance_name": "name-132",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-397b089c-6552-4908-9f5f-571053c2e303",
    "service_plan_name": "name-133",
    "service_guid": "guid-5db5127c-0c21-480d-bfe0-d2e63bd4806b",
    "service_label": "label-8"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: dba8d92d-ed22-4751-bd02-a2accbf8f5ef
Content-Length: 746
X-Content-Type-Options: nosniff