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/662d18ea-2c62-4fd5-91f4-324a284dc1df

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1OCIsImVtYWlsIjoiZW1haWwtMzI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2Mzh9.XkgOdUlGcFwuGVDYo1xYkzAnhrhpGNzu2ws-CahgWX4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/662d18ea-2c62-4fd5-91f4-324a284dc1df" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1OCIsImVtYWlsIjoiZW1haWwtMzI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2Mzh9.XkgOdUlGcFwuGVDYo1xYkzAnhrhpGNzu2ws-CahgWX4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "662d18ea-2c62-4fd5-91f4-324a284dc1df",
    "url": "/v2/service_usage_events/662d18ea-2c62-4fd5-91f4-324a284dc1df",
    "created_at": "2016-01-26T22:20:38Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-295b9211-a2d5-4c15-a258-6923ffdb5247",
    "space_guid": "guid-1504e709-2540-4a00-885d-efe980146053",
    "space_name": "name-2585",
    "service_instance_guid": "guid-2aca7e6d-0502-40e4-821f-afe01a3bcde4",
    "service_instance_name": "name-2586",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-c5abb1a6-ff30-4bec-9c23-ee706b975428",
    "service_plan_name": "name-2587",
    "service_guid": "guid-1da86826-df51-43ea-8ec8-6e9f734eaa7d",
    "service_label": "label-73"
  }
}

Headers

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