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/aab5c591-3a17-4785-a5ea-c3f883f4bc7f

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNCIsImVtYWlsIjoiZW1haWwtMTU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDd9.ZzPTKs77Jk6WdLEb7hXuyiHN5n25qZPrnMpVSFJuNic
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/aab5c591-3a17-4785-a5ea-c3f883f4bc7f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNCIsImVtYWlsIjoiZW1haWwtMTU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDd9.ZzPTKs77Jk6WdLEb7hXuyiHN5n25qZPrnMpVSFJuNic" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "aab5c591-3a17-4785-a5ea-c3f883f4bc7f",
    "url": "/v2/service_usage_events/aab5c591-3a17-4785-a5ea-c3f883f4bc7f",
    "created_at": "2015-03-10T23:11:47Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-dcb33bdf-490c-4492-b3f9-413f86a7b0f4",
    "space_guid": "guid-d865cb70-23ae-4b64-a906-9dc5364c68a8",
    "space_name": "name-629",
    "service_instance_guid": "guid-cf02394a-5658-4ac6-b64c-29e45271915f",
    "service_instance_name": "name-630",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-7ad329d5-79db-4c33-9b1c-f8b9c8808d4d",
    "service_plan_name": "name-631",
    "service_guid": "guid-f923bb57-4a70-4a04-ba05-1502f5d12e20",
    "service_label": "label-20"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 479b061d-20ee-4b97-939a-77705d2ddf83
Content-Length: 747
X-Content-Type-Options: nosniff