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/76a04e69-5a24-4782-a9a2-caa95396cc03

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwOSIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDc4MjkyNn0.a1IUUVEzSYcRuscp0zBMxcA-DR5QrlD2itxX1QG6Gno
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/76a04e69-5a24-4782-a9a2-caa95396cc03" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwOSIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDc4MjkyNn0.a1IUUVEzSYcRuscp0zBMxcA-DR5QrlD2itxX1QG6Gno" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "76a04e69-5a24-4782-a9a2-caa95396cc03",
    "url": "/v2/service_usage_events/76a04e69-5a24-4782-a9a2-caa95396cc03",
    "created_at": "2015-10-07T00:35:26Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-7ed14ee6-56fe-4b6f-9f9d-44b67069e961",
    "space_guid": "guid-9ec28d1c-c743-492b-a236-c37d4d4a7323",
    "space_name": "name-403",
    "service_instance_guid": "guid-79c62ab5-d3a6-4528-8d2e-0cf99c701f6f",
    "service_instance_name": "name-404",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-1ae9d2ee-9dcd-4dc2-9f4c-926dbf598fe0",
    "service_plan_name": "name-405",
    "service_guid": "guid-9fde26c6-b302-4293-a2ac-a55ff24985c1",
    "service_label": "label-30"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: eade73f6-6e02-486d-8d77-06b02c530555
Content-Length: 747
X-Content-Type-Options: nosniff