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/c95961db-7f99-4391-bc14-ec1d42710dcd

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc1IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUxNDEzNjc5fQ.uzdeuhMHsggtSJI9G6dAj-0Py8O_55hqdVy68hlozYw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/c95961db-7f99-4391-bc14-ec1d42710dcd" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc1IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUxNDEzNjc5fQ.uzdeuhMHsggtSJI9G6dAj-0Py8O_55hqdVy68hlozYw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c95961db-7f99-4391-bc14-ec1d42710dcd",
    "url": "/v2/service_usage_events/c95961db-7f99-4391-bc14-ec1d42710dcd",
    "created_at": "2015-12-22T18:27:59Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-9c025ef0-74b0-44ae-a342-03d9f6c2f1d0",
    "space_guid": "guid-ebb96a58-95d0-427c-a0c4-71d200998811",
    "space_name": "name-188",
    "service_instance_guid": "guid-2d3652fe-775b-4aa0-add0-8bc164c32460",
    "service_instance_name": "name-189",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-17f1b012-85f3-4e21-87ea-b07a27c3bea2",
    "service_plan_name": "name-190",
    "service_guid": "guid-fea6955f-b5f1-420e-b79f-c2a4f87a1637",
    "service_label": "label-19"
  }
}

Headers

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