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/03eb78a8-61ca-4c3f-8518-8a5bc85075de

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOSIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDl9.OJohB3KQw11txlA9ulRHd20uSBHcr3qRi8JNc59qaLw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/03eb78a8-61ca-4c3f-8518-8a5bc85075de" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOSIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDl9.OJohB3KQw11txlA9ulRHd20uSBHcr3qRi8JNc59qaLw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "03eb78a8-61ca-4c3f-8518-8a5bc85075de",
    "url": "/v2/service_usage_events/03eb78a8-61ca-4c3f-8518-8a5bc85075de",
    "created_at": "2015-04-07T19:11:49Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-473d4997-f96a-448d-8ea1-56289510e736",
    "space_guid": "guid-c9d68ec4-740e-4aa8-becd-03f40fcb08f4",
    "space_name": "name-673",
    "service_instance_guid": "guid-d5c55e93-a246-43df-a3ec-3e79ac79f4e4",
    "service_instance_name": "name-674",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-3ef15de0-4e1d-4a17-aa17-9039a4f73f81",
    "service_plan_name": "name-675",
    "service_guid": "guid-39f7f545-71f7-4f66-8eaa-deec624e1393",
    "service_label": "label-20"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 982195da-20ab-4bb4-b62d-1e6324f5118f
Content-Length: 747
X-Content-Type-Options: nosniff