Home
Version 3
Service Usage Events (experimental) API

Service Usage Events (experimental) API

Retrieve a Particular Service Usage Event

GET /v2/service_usage_events/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Usage Event

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczODF9.8nrL3fVOGdUWF1GpXLvtnUwr3-ueahE3JULIGxsjC_Q
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/9a7c4034-a791-41d5-97fd-5fd7b4777058

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/9a7c4034-a791-41d5-97fd-5fd7b4777058" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczODF9.8nrL3fVOGdUWF1GpXLvtnUwr3-ueahE3JULIGxsjC_Q" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2c01ea09-21eb-40c9-9168-5aec3f90db34
Content-Length: 750
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "9a7c4034-a791-41d5-97fd-5fd7b4777058",
    "url": "/v2/service_usage_events/9a7c4034-a791-41d5-97fd-5fd7b4777058",
    "created_at": "2015-02-10T01:43:01Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-fbbaa4c6-21cb-4654-9fa0-df34381270c8",
    "space_guid": "guid-520ff60c-3452-47ba-994f-a17b9c7424b0",
    "space_name": "name-2017",
    "service_instance_guid": "guid-ee007fa3-0b01-42e8-ab46-845d325ffa1a",
    "service_instance_name": "name-2018",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-07494910-ae0e-41f2-91cb-2ff770f6bd52",
    "service_plan_name": "name-2019",
    "service_guid": "guid-67506c8f-943e-4659-87a2-5b689f1d09ce",
    "service_label": "label-74"
  }
}