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/1bff05f6-6a83-482f-9a84-80c5710afd4c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5Njd9.TaxzNOJ2dFUWb71GlsLLngqlDVgPtiCIg7r2UHR08Tw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/1bff05f6-6a83-482f-9a84-80c5710afd4c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5Njd9.TaxzNOJ2dFUWb71GlsLLngqlDVgPtiCIg7r2UHR08Tw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "1bff05f6-6a83-482f-9a84-80c5710afd4c",
    "url": "/v2/service_usage_events/1bff05f6-6a83-482f-9a84-80c5710afd4c",
    "created_at": "2015-10-15T23:52:47Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-c0f237b2-0f88-4fec-a309-c3792828a556",
    "space_guid": "guid-7e1474b8-bb7d-4afa-8081-778b59f3de75",
    "space_name": "name-2308",
    "service_instance_guid": "guid-2e32d11c-eb6f-4b63-b711-aee8873db203",
    "service_instance_name": "name-2309",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-13c4643a-9eb7-48ed-9277-5d6d50ae7d82",
    "service_plan_name": "name-2310",
    "service_guid": "guid-a5141c01-18c7-42c2-8a0f-538b106d26d8",
    "service_label": "label-76"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8259629d-8ce6-403e-8e12-c2d8ba285b2d
Content-Length: 750
X-Content-Type-Options: nosniff