Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/f1c2779c-c02c-4808-88a1-4e87bae39216
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the service plan
|
|
|
|
public
|
A boolean describing that the plan is visible to the all users
|
true
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/service_plans/f1c2779c-c02c-4808-88a1-4e87bae39216" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2MyIsImVtYWlsIjoiZW1haWwtMzMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDl9.j0WhhXSgpYFE9vcPpxtvt6ZvQSxOzEWqt-PILcqEINg" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f1c2779c-c02c-4808-88a1-4e87bae39216",
"url": "/v2/service_plans/f1c2779c-c02c-4808-88a1-4e87bae39216",
"created_at": "2016-02-19T02:04:09Z",
"updated_at": null
},
"entity": {
"name": "name-2678",
"free": false,
"description": "desc-229",
"service_guid": "0e5686ce-859b-410f-8e03-ae6a4efe799d",
"extra": null,
"unique_id": "94c9d50e-ff51-4b38-825b-ec2b4fd634df",
"public": true,
"active": true,
"service_url": "/v2/services/0e5686ce-859b-410f-8e03-ae6a4efe799d",
"service_instances_url": "/v2/service_plans/f1c2779c-c02c-4808-88a1-4e87bae39216/service_instances"
}
}
Headers