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/9ca93e7b-c4ab-4f50-8ef0-fe035e9dd50b

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NCIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NjR9.pU_KS9fNwtFQw5afQrfBDgNVuuW21fp2IiT9dL3Nbu4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/9ca93e7b-c4ab-4f50-8ef0-fe035e9dd50b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NCIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NjR9.pU_KS9fNwtFQw5afQrfBDgNVuuW21fp2IiT9dL3Nbu4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "9ca93e7b-c4ab-4f50-8ef0-fe035e9dd50b",
    "url": "/v2/service_usage_events/9ca93e7b-c4ab-4f50-8ef0-fe035e9dd50b",
    "created_at": "2015-03-18T22:52:44Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-2ae62622-63a1-4583-943d-9649404182dd",
    "space_guid": "guid-7386fb2b-6f23-44c3-a197-629b9c110b98",
    "space_name": "name-631",
    "service_instance_guid": "guid-267a7c19-4608-4bb0-855e-a385feca3c5c",
    "service_instance_name": "name-632",
    "service_instance_type": "type-1",
    "service_plan_guid": "guid-565ee5cf-675b-4395-845d-58e4913a32f8",
    "service_plan_name": "name-633",
    "service_guid": "guid-41eb1b23-041b-48dd-b587-559a28da4a31",
    "service_label": "label-40"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: cf5ef49c-ea55-4bea-a4ed-dc768534348d
Content-Length: 747
X-Content-Type-Options: nosniff