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/03de1124-9afe-41ff-b901-d6dbbf4367a6

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTd9.ueUdOI0gfy9uOnjOwWVd_nzqAIo0KWEF9oBWR527QIk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/03de1124-9afe-41ff-b901-d6dbbf4367a6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTd9.ueUdOI0gfy9uOnjOwWVd_nzqAIo0KWEF9oBWR527QIk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "03de1124-9afe-41ff-b901-d6dbbf4367a6",
    "url": "/v2/service_usage_events/03de1124-9afe-41ff-b901-d6dbbf4367a6",
    "created_at": "2015-05-21T01:03:17Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-5a024643-fb58-4156-bd64-6dac277a2078",
    "space_guid": "guid-63617f4c-fdee-4300-ba5d-65ab6edc0136",
    "space_name": "name-2017",
    "service_instance_guid": "guid-1dcbed9e-b3c5-4e85-a5c7-f75ea9c2a167",
    "service_instance_name": "name-2018",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-95c2a462-79c2-4a5a-87ba-6f22d2c58e6c",
    "service_plan_name": "name-2019",
    "service_guid": "guid-7227fdcf-928a-4baa-88c3-3e8682261d0f",
    "service_label": "label-84"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d2eb9f91-9266-42cd-b3e4-b9d98bdc2ff2
Content-Length: 750
X-Content-Type-Options: nosniff