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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MSIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMjh9.UIpKQ60cVlYuZ8axs89hTI3qEq8CeCRFAeW2GC4tgYs
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/37ca3772-5c70-4dcf-8eb8-1b567888e5a4

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/37ca3772-5c70-4dcf-8eb8-1b567888e5a4" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MSIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMjh9.UIpKQ60cVlYuZ8axs89hTI3qEq8CeCRFAeW2GC4tgYs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3b573e09-2ffe-4633-8fbe-997d336573ac
Content-Length: 747
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "37ca3772-5c70-4dcf-8eb8-1b567888e5a4",
    "url": "/v2/service_usage_events/37ca3772-5c70-4dcf-8eb8-1b567888e5a4",
    "created_at": "2015-02-12T01:42:08Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-00d40e43-b3d9-4f48-979c-4ad62217de83",
    "space_guid": "guid-845449a1-3ac6-409f-8ed6-77cfde921f11",
    "space_name": "name-485",
    "service_instance_guid": "guid-71a77b98-1ba5-4cf6-bb3d-0c7356945305",
    "service_instance_name": "name-486",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-173df297-4567-4157-a4d3-459887a536b6",
    "service_plan_name": "name-487",
    "service_guid": "guid-03dfee25-7589-43d8-bbca-281557b97fe7",
    "service_label": "label-50"
  }
}