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/609bbdfc-9af2-4e5d-b6db-958feedfe90e

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzOCIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDV9.-Lh5Wfreh345BffpLpe7Cc95R9_pnRnggJ6ZRvgcITk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/609bbdfc-9af2-4e5d-b6db-958feedfe90e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzOCIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDV9.-Lh5Wfreh345BffpLpe7Cc95R9_pnRnggJ6ZRvgcITk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "609bbdfc-9af2-4e5d-b6db-958feedfe90e",
    "url": "/v2/service_usage_events/609bbdfc-9af2-4e5d-b6db-958feedfe90e",
    "created_at": "2015-05-07T23:37:25Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-d3264b24-7f23-4325-88bc-865b35201faa",
    "space_guid": "guid-ac3471cc-497f-48d3-a1ba-ce971c9e69f6",
    "space_name": "name-2045",
    "service_instance_guid": "guid-940604d8-73fc-42b2-9822-00d8861c9674",
    "service_instance_name": "name-2046",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-a95aa0dc-3e64-462f-8a66-7c0a2397710a",
    "service_plan_name": "name-2047",
    "service_guid": "guid-4a7101d8-9b6d-4263-8f74-8a25568d7b88",
    "service_label": "label-85"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ad88d94a-b2fe-48c5-8171-77ef38b536f8
Content-Length: 750
X-Content-Type-Options: nosniff