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/f04478f9-73cf-4387-bb74-0ef50d2d0db8

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMiIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDV9.mLNVz8D-qZ18qS68-EyLXOHZgYAC7HR1-UhBYe_d2do
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/f04478f9-73cf-4387-bb74-0ef50d2d0db8" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMiIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDV9.mLNVz8D-qZ18qS68-EyLXOHZgYAC7HR1-UhBYe_d2do" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "f04478f9-73cf-4387-bb74-0ef50d2d0db8",
    "url": "/v2/service_usage_events/f04478f9-73cf-4387-bb74-0ef50d2d0db8",
    "created_at": "2016-02-19T02:04:05Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-be74c47b-c67b-4bea-902d-e1d7b989c778",
    "space_guid": "guid-89dce9ef-d1f1-4486-81e8-2c1252094861",
    "space_name": "name-2547",
    "service_instance_guid": "guid-6c862769-e5ce-4b6d-986d-0556e3c9a0d1",
    "service_instance_name": "name-2548",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-6aa33808-5e96-49ad-b7f7-a38819847ca2",
    "service_plan_name": "name-2549",
    "service_guid": "guid-0d2d5f3b-c9c1-4e1b-bbe4-426edfa1db08",
    "service_label": "label-62"
  }
}

Headers

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