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/fc303269-0d1a-4df1-9534-cabca28ba027

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NSIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDl9.qV291s_qGRvvwRqmu9-Nka3QS9uf_pVclSksKKA03e8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/fc303269-0d1a-4df1-9534-cabca28ba027" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NSIsImVtYWlsIjoiZW1haWwtMTkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDl9.qV291s_qGRvvwRqmu9-Nka3QS9uf_pVclSksKKA03e8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fc303269-0d1a-4df1-9534-cabca28ba027",
    "url": "/v2/service_usage_events/fc303269-0d1a-4df1-9534-cabca28ba027",
    "created_at": "2015-08-31T21:50:09Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-41e8ce0c-f201-43e5-a358-e0f5a22b43d5",
    "space_guid": "guid-831d0cc8-f0cf-4566-92e7-0b28e6bec575",
    "space_name": "name-1017",
    "service_instance_guid": "guid-b283d459-5ffc-4ec2-b302-25422257efb1",
    "service_instance_name": "name-1018",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-ea621d77-1bf3-4419-b8f5-1c40e9ae7944",
    "service_plan_name": "name-1019",
    "service_guid": "guid-b5ec9338-d311-4b97-a73d-3322c91ce798",
    "service_label": "label-59"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 05d68fb1-c814-40db-886d-e8118658e3aa
Content-Length: 750
X-Content-Type-Options: nosniff