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/84bf3a74-2ccf-4538-9dbe-12fe8f710f73

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjJ9.tS2bc2VzHsBgoxDFEPNUx6tfAfZHmb5VlNUS-5brwsc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/84bf3a74-2ccf-4538-9dbe-12fe8f710f73" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjJ9.tS2bc2VzHsBgoxDFEPNUx6tfAfZHmb5VlNUS-5brwsc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "84bf3a74-2ccf-4538-9dbe-12fe8f710f73",
    "url": "/v2/service_usage_events/84bf3a74-2ccf-4538-9dbe-12fe8f710f73",
    "created_at": "2015-03-20T18:27:42Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-39a6e024-0dba-4c7e-9a2a-9c17bc5841e2",
    "space_guid": "guid-a85e968d-f342-482a-a873-22bae785e828",
    "space_name": "name-1687",
    "service_instance_guid": "guid-f3282d93-e548-4cc0-85ae-c265a008f4c9",
    "service_instance_name": "name-1688",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-e68a6dcb-cb87-4f5f-bb7d-798eb78009b5",
    "service_plan_name": "name-1689",
    "service_guid": "guid-f2f66783-ce73-4dc2-bf59-f1c2c30d4d94",
    "service_label": "label-69"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5ab82cb0-18f5-487a-b07f-bbcfe08fa6a6
Content-Length: 750
X-Content-Type-Options: nosniff