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.eyJ1c2VyX2lkIjoidWFhLWlkLTg5IiwiZW1haWwiOiJlbWFpbC04MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2NzAwfQ.kXKfaHzL5YtSLmz-4_WI-syu4eGYxlwjJUvq19TxwAk
Host: example.org
Cookie: 

Route

GET /v2/service_usage_events/f3073eee-345c-402d-a11d-c6b6590c7925

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/f3073eee-345c-402d-a11d-c6b6590c7925" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg5IiwiZW1haWwiOiJlbWFpbC04MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2NzAwfQ.kXKfaHzL5YtSLmz-4_WI-syu4eGYxlwjJUvq19TxwAk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ce614866-4db5-46db-96fa-7627d98c0dce
Content-Length: 752
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "f3073eee-345c-402d-a11d-c6b6590c7925",
    "url": "/v2/service_usage_events/f3073eee-345c-402d-a11d-c6b6590c7925",
    "created_at": "2014-11-13T23:38:20+00:00"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-003d61c4-b8ab-4172-bcde-8709bd1934bf",
    "space_guid": "guid-ce340f2e-a6fc-408c-a130-52430f202362",
    "space_name": "name-494",
    "service_instance_guid": "guid-1c0f6a0a-8cd9-485b-a84f-ff41b3d4634f",
    "service_instance_name": "name-495",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-78a860dd-09d3-496c-a556-1def271873af",
    "service_plan_name": "name-496",
    "service_guid": "guid-a326efa8-fb8d-4304-9930-66c01b89418f",
    "service_label": "label-27"
  }
}