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/6383e720-abd2-4ec9-b2d8-319b1a7c728f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMCIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzgzNzI2MX0.Pa80Mhlw6AgXvyS5Q-ry5gN9bSS9dom3UnZRXPSg9n8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/6383e720-abd2-4ec9-b2d8-319b1a7c728f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMCIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzgzNzI2MX0.Pa80Mhlw6AgXvyS5Q-ry5gN9bSS9dom3UnZRXPSg9n8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "6383e720-abd2-4ec9-b2d8-319b1a7c728f",
    "url": "/v2/service_usage_events/6383e720-abd2-4ec9-b2d8-319b1a7c728f",
    "created_at": "2016-01-19T19:41:01Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-01354424-a0a8-4ca2-9f48-ccd3d8846348",
    "space_guid": "guid-c2e321e1-145f-4cba-adc5-e63f03571502",
    "space_name": "name-379",
    "service_instance_guid": "guid-d2bfcfdd-cc74-4feb-a53f-b0c6db9c06d3",
    "service_instance_name": "name-380",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-31e8cee6-fec1-45fd-b725-67dc0cc175a5",
    "service_plan_name": "name-381",
    "service_guid": "guid-19d99e53-6a44-4264-9757-b0580d14a197",
    "service_label": "label-22"
  }
}

Headers

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