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/b43aef33-e3fc-49bf-b4e9-4da060609f6c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMSIsImVtYWlsIjoiZW1haWwtMjk4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NTN9.csFZ9aZHQCgb-K2FhkCQ1xKLwm4Vu1f263QQQIPqocM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/b43aef33-e3fc-49bf-b4e9-4da060609f6c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMSIsImVtYWlsIjoiZW1haWwtMjk4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NTN9.csFZ9aZHQCgb-K2FhkCQ1xKLwm4Vu1f263QQQIPqocM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b43aef33-e3fc-49bf-b4e9-4da060609f6c",
    "url": "/v2/service_usage_events/b43aef33-e3fc-49bf-b4e9-4da060609f6c",
    "created_at": "2016-03-14T22:30:53Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-492600a1-75d9-405a-b248-e96114ed1d93",
    "space_guid": "guid-aac0178a-6f47-4c87-b730-94cc3aafabf9",
    "space_name": "name-2437",
    "service_instance_guid": "guid-b09b0361-ccaf-45e9-9244-fe187afee491",
    "service_instance_name": "name-2438",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-280ce183-3f60-4b56-8546-a9871c99a5fa",
    "service_plan_name": "name-2439",
    "service_guid": "guid-f96c168b-07ef-4359-9145-da6f79226468",
    "service_label": "label-69"
  }
}

Headers

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