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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MCIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjZ9.ZSoOjhyPp7NdLA8dKlPHsIT7DFN5dZk-pkQlogvMUTg
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/962e5e19-56b4-46e9-99ba-5c8b362934d7

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/962e5e19-56b4-46e9-99ba-5c8b362934d7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MCIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjZ9.ZSoOjhyPp7NdLA8dKlPHsIT7DFN5dZk-pkQlogvMUTg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1c54d2f0-5332-47bf-94ff-7818b7793309
Content-Length: 752
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "962e5e19-56b4-46e9-99ba-5c8b362934d7",
    "url": "/v2/service_usage_events/962e5e19-56b4-46e9-99ba-5c8b362934d7",
    "created_at": "2014-11-24T19:32:46+00:00"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-571f03d7-6353-41ba-9477-49bfd47b8335",
    "space_guid": "guid-42837add-8d81-48ce-abe4-94e00c86754d",
    "space_name": "name-941",
    "service_instance_guid": "guid-df9cc579-c092-44b2-b4c7-9eb8c0252b38",
    "service_instance_name": "name-942",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-8e30628f-6c1d-40d3-bd31-5e110d72ed6e",
    "service_plan_name": "name-943",
    "service_guid": "guid-c2891fe2-aed3-4d16-8207-4d6a4580b51b",
    "service_label": "label-57"
  }
}