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/588bbdcc-1513-45b8-8273-134cf4b18247

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNiIsImVtYWlsIjoiZW1haWwtMTQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzd9.p8I7zpDk-fwWZnYOLjyW3cNZejRc5THxywL6UHjTbw0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/588bbdcc-1513-45b8-8273-134cf4b18247" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNiIsImVtYWlsIjoiZW1haWwtMTQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzd9.p8I7zpDk-fwWZnYOLjyW3cNZejRc5THxywL6UHjTbw0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "588bbdcc-1513-45b8-8273-134cf4b18247",
    "url": "/v2/service_usage_events/588bbdcc-1513-45b8-8273-134cf4b18247",
    "created_at": "2015-09-11T18:38:57Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-f4dac576-5e6a-4faf-9114-ff41d29e73c9",
    "space_guid": "guid-80d6efaf-c13b-46a3-a60b-8ffdea7f0bf4",
    "space_name": "name-724",
    "service_instance_guid": "guid-b1ce55fb-8442-41ca-bbcb-6be689de89b1",
    "service_instance_name": "name-725",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-6bf91a60-b123-4c95-b3fd-1e4edc15e07f",
    "service_plan_name": "name-726",
    "service_guid": "guid-6614c2ee-9b0c-4076-b12f-1d208b8bd391",
    "service_label": "label-37"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4b8b9793-69de-4260-a823-e2fe7311cd2e
Content-Length: 747
X-Content-Type-Options: nosniff