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/243d0282-dad0-4539-9da1-6f83baea4698

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0zNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM4fQ.tYpNpH8GmMGQolQwWKnTEuIyQyCVatEtTuHPsNPeQGU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/243d0282-dad0-4539-9da1-6f83baea4698" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0zNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM4fQ.tYpNpH8GmMGQolQwWKnTEuIyQyCVatEtTuHPsNPeQGU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "243d0282-dad0-4539-9da1-6f83baea4698",
    "url": "/v2/service_usage_events/243d0282-dad0-4539-9da1-6f83baea4698",
    "created_at": "2016-04-06T00:17:18Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-c305c588-c1f4-480e-a196-a947a965df0e",
    "space_guid": "guid-c85b7821-e2d5-41d2-8bc3-b34e3f49bcea",
    "space_name": "name-124",
    "service_instance_guid": "guid-895a099d-741c-4297-8919-8eb205bde33c",
    "service_instance_name": "name-125",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-1fa459d2-9521-4aed-9274-6157b3d93b37",
    "service_plan_name": "name-126",
    "service_guid": "guid-e70ab656-eada-4a7d-92bf-7ff68fd86380",
    "service_label": "label-8"
  }
}

Headers

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