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/60a1b882-5790-4895-ba2c-300ad8ae6ee8

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MSIsImVtYWlsIjoiZW1haWwtMjAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NTJ9.CuCNHu5o7hkjsdEDIQPLwgKws7AeXy3-dsK4hHG5LDU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/60a1b882-5790-4895-ba2c-300ad8ae6ee8" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MSIsImVtYWlsIjoiZW1haWwtMjAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NTJ9.CuCNHu5o7hkjsdEDIQPLwgKws7AeXy3-dsK4hHG5LDU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "60a1b882-5790-4895-ba2c-300ad8ae6ee8",
    "url": "/v2/service_usage_events/60a1b882-5790-4895-ba2c-300ad8ae6ee8",
    "created_at": "2015-03-05T19:15:52Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-6c05568c-8c3a-4957-9520-5e2e4f397472",
    "space_guid": "guid-bca8b534-6dfa-4d81-87a1-cb695235ef14",
    "space_name": "name-813",
    "service_instance_guid": "guid-9e5fd5f9-f6eb-468e-a4e7-3af04fabaa28",
    "service_instance_name": "name-814",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-932e5b2f-8b34-477f-bd5c-b3f8f6835d79",
    "service_plan_name": "name-815",
    "service_guid": "guid-c6e51dda-f0f6-4e9d-a300-a7037e771fab",
    "service_label": "label-48"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 16aaa2c6-7b2e-4111-ae44-236c31fc73d1
Content-Length: 747
X-Content-Type-Options: nosniff