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/d9816968-c494-4fdc-94c4-f7136898470d

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDZ9.wDjZuIfLEfEsQn6hOzh7wEU4rZ_xSNx2cCIjoDjItfw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/d9816968-c494-4fdc-94c4-f7136898470d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDZ9.wDjZuIfLEfEsQn6hOzh7wEU4rZ_xSNx2cCIjoDjItfw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d9816968-c494-4fdc-94c4-f7136898470d",
    "url": "/v2/service_usage_events/d9816968-c494-4fdc-94c4-f7136898470d",
    "created_at": "2015-04-15T00:55:46Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-7781b0c2-ecb3-4745-8dbb-0a92e551d7eb",
    "space_guid": "guid-d17bb0d4-b3ad-463e-872c-98a6dfca9dc9",
    "space_name": "name-1796",
    "service_instance_guid": "guid-0e94fa0b-c9ac-474c-9013-b30f53d85072",
    "service_instance_name": "name-1797",
    "service_instance_type": "type-7",
    "service_plan_guid": "guid-b166c7a7-9df4-4f13-b00d-c5c9ec37c423",
    "service_plan_name": "name-1798",
    "service_guid": "guid-bf6f16a3-6af6-4c9c-9b71-27664ecad1a3",
    "service_label": "label-47"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 93bc0f4f-dbfb-4ecd-b179-3a46b0bd3b85
Content-Length: 750
X-Content-Type-Options: nosniff