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/b895a043-b896-4df6-9be3-12ec7693ab10

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NSIsImVtYWlsIjoiZW1haWwtMjY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTh9._AU0E7_ZQq1d4ALmk3nAkVoCj7Rwc_h2yBcV30v9J7k
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/b895a043-b896-4df6-9be3-12ec7693ab10" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NSIsImVtYWlsIjoiZW1haWwtMjY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTh9._AU0E7_ZQq1d4ALmk3nAkVoCj7Rwc_h2yBcV30v9J7k" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b895a043-b896-4df6-9be3-12ec7693ab10",
    "url": "/v2/service_usage_events/b895a043-b896-4df6-9be3-12ec7693ab10",
    "created_at": "2015-10-13T17:31:58Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-7e377bdc-05fa-456a-b6e6-5dc34f45f0ec",
    "space_guid": "guid-2ed39376-470c-46b1-8930-eb164cf1973c",
    "space_name": "name-1306",
    "service_instance_guid": "guid-71345572-9f1c-492b-82fc-96f5936586a5",
    "service_instance_name": "name-1307",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-2db8f934-e482-4422-9679-c3f9714d979f",
    "service_plan_name": "name-1308",
    "service_guid": "guid-ddb6cc7a-8887-4603-bee7-77f8f2ffe224",
    "service_label": "label-45"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: de30868e-2f0d-46b2-9846-77eb766988e0
Content-Length: 750
X-Content-Type-Options: nosniff