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/432770b1-ada8-4785-86cc-fc02b0871279

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjV9.taz47fMm8Cy4UY2GgU4d73oBWUs61pryMD8RWi8DI-0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/432770b1-ada8-4785-86cc-fc02b0871279" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjV9.taz47fMm8Cy4UY2GgU4d73oBWUs61pryMD8RWi8DI-0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "432770b1-ada8-4785-86cc-fc02b0871279",
    "url": "/v2/service_usage_events/432770b1-ada8-4785-86cc-fc02b0871279",
    "created_at": "2015-11-13T17:02:45Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-1fcfdada-4f8e-4c5b-868d-c3e90e50be60",
    "space_guid": "guid-b7edddf1-883e-45d5-92c3-5ac877bfbaa5",
    "space_name": "name-1815",
    "service_instance_guid": "guid-8e81b8e6-7b08-4d01-b10c-e0e9c82c7707",
    "service_instance_name": "name-1816",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-33170e97-e5a4-4615-9539-a1b896be5e35",
    "service_plan_name": "name-1817",
    "service_guid": "guid-4499ba9f-1a2f-4ce0-a5a4-f421d5c0905c",
    "service_label": "label-69"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 750
X-Content-Type-Options: nosniff