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/b98097a3-dfe2-45e5-969e-2e711cdbe8fc

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0NCIsImVtYWlsIjoiZW1haWwtMzEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTF9.GDeUSOW4o4FTHYse0zrnThX1Q7hVT7lLsd7aP_Hz7DM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/b98097a3-dfe2-45e5-969e-2e711cdbe8fc" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0NCIsImVtYWlsIjoiZW1haWwtMzEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTF9.GDeUSOW4o4FTHYse0zrnThX1Q7hVT7lLsd7aP_Hz7DM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b98097a3-dfe2-45e5-969e-2e711cdbe8fc",
    "url": "/v2/service_usage_events/b98097a3-dfe2-45e5-969e-2e711cdbe8fc",
    "created_at": "2016-03-17T21:41:31Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-01eb9ae8-a4a9-4080-b47b-2c49f7c99b95",
    "space_guid": "guid-aab0c245-883c-442d-aa0d-4a3ffdc9d422",
    "space_name": "name-2482",
    "service_instance_guid": "guid-e538a2e0-aedb-4765-93d9-80a97993703b",
    "service_instance_name": "name-2483",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-c117673e-b409-4fc5-bcc9-f5ea53ba8dac",
    "service_plan_name": "name-2484",
    "service_guid": "guid-45fdf4e4-5c89-4f6d-bbcd-fe5970a2a159",
    "service_label": "label-63"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 750
X-Content-Type-Options: nosniff