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/5325c370-03bd-4f1a-a000-cc5c6af5078a

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNzBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0OTUzMTUxNH0.YY5k_Yi5EBn7zL8STTBogmZPogTKkS8qePI1W6Q86OA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/5325c370-03bd-4f1a-a000-cc5c6af5078a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNzBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0OTUzMTUxNH0.YY5k_Yi5EBn7zL8STTBogmZPogTKkS8qePI1W6Q86OA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "5325c370-03bd-4f1a-a000-cc5c6af5078a",
    "url": "/v2/service_usage_events/5325c370-03bd-4f1a-a000-cc5c6af5078a",
    "created_at": "2015-11-30T23:38:34Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-99657d6d-5ced-4ee1-a526-d12630271602",
    "space_guid": "guid-96a23278-e5a1-416b-9baa-4bf3aebe2754",
    "space_name": "name-502",
    "service_instance_guid": "guid-cb3e9482-4394-4cab-9cd4-dc5332a1e1b9",
    "service_instance_name": "name-503",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-3240cf26-7b59-43c2-9cc4-c27b51ab3815",
    "service_plan_name": "name-504",
    "service_guid": "guid-e3965a21-1b9d-4134-83c3-bae02c1a11b2",
    "service_label": "label-18"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 747
X-Content-Type-Options: nosniff