Home
Version 3
Service Usage Events (experimental) API

Service Usage Events (experimental) API

Retrieve a Particular Service Usage Event

GET /v2/service_usage_events/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Usage Event

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MyIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDl9.tHseH8f3OajmbakR6V6gDTU9pr61N7w0IxDEAcgk4Gs
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/168a7bf6-9d64-471a-a457-9e5d181d7c9d

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/168a7bf6-9d64-471a-a457-9e5d181d7c9d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MyIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDl9.tHseH8f3OajmbakR6V6gDTU9pr61N7w0IxDEAcgk4Gs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3753ead5-cfea-4cf6-a2be-e0917ec42d05
Content-Length: 755
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "168a7bf6-9d64-471a-a457-9e5d181d7c9d",
    "url": "/v2/service_usage_events/168a7bf6-9d64-471a-a457-9e5d181d7c9d",
    "created_at": "2014-11-05T01:02:29+00:00"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-92784811-c016-4147-a38e-a1e7d0472b56",
    "space_guid": "guid-302e036a-3fca-425d-a2a1-d561548d5e2e",
    "space_name": "name-1167",
    "service_instance_guid": "guid-c5e77a71-ff07-4238-aba1-58c0f11ed772",
    "service_instance_name": "name-1168",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-2a144af7-438b-491f-8be2-5effcd3802c2",
    "service_plan_name": "name-1169",
    "service_guid": "guid-9644c704-d11a-4d28-b47a-dc1cb1211829",
    "service_label": "label-62"
  }
}