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/10a01694-387b-4439-ad94-74854ddf9735

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MzYxODcwOX0.VgXCNuB-9aLLWdsbaxegP9NpbqPO_cY6mcOTOnf-QxU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/10a01694-387b-4439-ad94-74854ddf9735" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MzYxODcwOX0.VgXCNuB-9aLLWdsbaxegP9NpbqPO_cY6mcOTOnf-QxU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "10a01694-387b-4439-ad94-74854ddf9735",
    "url": "/v2/service_usage_events/10a01694-387b-4439-ad94-74854ddf9735",
    "created_at": "2016-05-12T00:45:09Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-2686d869-de78-43f3-bf5a-86e9858305c4",
    "space_guid": "guid-6f193758-d0e9-4e40-817c-6786f87b0968",
    "space_name": "name-252",
    "service_instance_guid": "guid-884a8db9-e7d1-4e13-8159-86faeff47a7a",
    "service_instance_name": "name-253",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-318790da-751d-49ef-8658-6f946c8ff735",
    "service_plan_name": "name-254",
    "service_guid": "guid-f0afffb2-33b5-4443-9a4d-d932400e774b",
    "service_label": "label-16"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 07d3ff2c-8582-46fd-ba1d-5d7ec940cea6
Content-Length: 747
X-Content-Type-Options: nosniff