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/dbe876e7-fe2b-4f8d-b36a-8e19a20d2d9d

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2NDR9.xYv0FP6H3oKXY7eyFf4Z9MP2bQzkp3wLivJnV7RO4x4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/dbe876e7-fe2b-4f8d-b36a-8e19a20d2d9d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2NDR9.xYv0FP6H3oKXY7eyFf4Z9MP2bQzkp3wLivJnV7RO4x4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "dbe876e7-fe2b-4f8d-b36a-8e19a20d2d9d",
    "url": "/v2/service_usage_events/dbe876e7-fe2b-4f8d-b36a-8e19a20d2d9d",
    "created_at": "2016-04-16T01:24:04Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-4668113a-7e1a-443d-889f-e20ae4fbe6ed",
    "space_guid": "guid-3d00ee0b-7f4d-4aaf-90a2-80d9374e58f6",
    "space_name": "name-1241",
    "service_instance_guid": "guid-2216033c-573e-46df-bd47-05232a8975af",
    "service_instance_name": "name-1242",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-15cbb497-4ee9-4ea4-bf24-da8da2f1090f",
    "service_plan_name": "name-1243",
    "service_guid": "guid-67e5ff03-2b53-4637-ada1-1889c85bc9e3",
    "service_label": "label-58"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 58b4bf90-b291-45d0-b63f-3fdfa61095fe
Content-Length: 750
X-Content-Type-Options: nosniff