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/e2f2d90f-c16f-4d12-8bd6-609c8e1b179c

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Usage Event

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNTk0ODY2NH0.2DdIqTnlEyiE9z1dZ_yv3oWbdIP4ux3P1Pori8MpHyY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_usage_events/e2f2d90f-c16f-4d12-8bd6-609c8e1b179c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNTk0ODY2NH0.2DdIqTnlEyiE9z1dZ_yv3oWbdIP4ux3P1Pori8MpHyY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "e2f2d90f-c16f-4d12-8bd6-609c8e1b179c",
    "url": "/v2/service_usage_events/e2f2d90f-c16f-4d12-8bd6-609c8e1b179c",
    "created_at": "2015-03-03T00:51:04Z"
  },
  "entity": {
    "state": "CREATED",
    "org_guid": "guid-4090d7bb-e4cb-41de-aea4-8a219adea306",
    "space_guid": "guid-388c188a-1dee-494e-918a-0177658a31d1",
    "space_name": "name-1038",
    "service_instance_guid": "guid-85427c62-755e-435d-bd75-43fdecc966b7",
    "service_instance_name": "name-1039",
    "service_instance_type": "type-4",
    "service_plan_guid": "guid-232fb04f-fd65-4f29-8a14-f6ae79a3ecf7",
    "service_plan_name": "name-1040",
    "service_guid": "guid-08b5167f-456b-427a-af0a-cbeac6ef38a0",
    "service_label": "label-34"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 931fd00d-21e1-404b-b7b5-481bbfed6b2b
Content-Length: 750
X-Content-Type-Options: nosniff