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/b1624ee9-4c54-48fa-ae06-3ec70886ee7e

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC03OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ5fQ.Wfd-RHrWRZ973I70l7DYmRCVmxkm_3fvaIaycwMFL-Y
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/b1624ee9-4c54-48fa-ae06-3ec70886ee7e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC03OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ5fQ.Wfd-RHrWRZ973I70l7DYmRCVmxkm_3fvaIaycwMFL-Y" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b1624ee9-4c54-48fa-ae06-3ec70886ee7e",
    "url": "/v2/service_usage_events/b1624ee9-4c54-48fa-ae06-3ec70886ee7e",
    "created_at": "2015-06-16T23:40:49Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-abd74986-3c1b-469b-8d98-6ff7a9dc897f",
    "space_guid": "guid-243531c2-0097-4a45-a8f9-35532b03cbfd",
    "space_name": "name-460",
    "service_instance_guid": "guid-c5c64982-fb40-4297-ae3d-ecc28c3bceb4",
    "service_instance_name": "name-461",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-f1806f80-43d7-4dbe-acda-c47fb78ad5eb",
    "service_plan_name": "name-462",
    "service_guid": "guid-51046531-e1b6-46e2-a9e1-7d031f25f34c",
    "service_label": "label-29"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 78628fc0-d843-4434-85d3-7ad0032169bf
Content-Length: 747
X-Content-Type-Options: nosniff