Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/e0d5c67a-29e7-4ead-ac44-d03c69edcf83
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/e0d5c67a-29e7-4ead-ac44-d03c69edcf83" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5IiwiZW1haWwiOiJlbWFpbC0xOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUzODM3MjU0fQ.AJ04ZJSzcIKgShswDFsvetRUxdu19BWeRut89pRCrjw" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "e0d5c67a-29e7-4ead-ac44-d03c69edcf83",
"url": "/v2/service_plans/e0d5c67a-29e7-4ead-ac44-d03c69edcf83",
"created_at": "2016-01-19T19:40:54Z",
"updated_at": null
},
"entity": {
"name": "name-21",
"free": false,
"description": "desc-10",
"service_guid": "54b7e19a-dca4-4ce1-a025-00a0b7104863",
"extra": null,
"unique_id": "761d8149-2ad8-4537-bd30-bfc09a65e014",
"public": true,
"active": true,
"service_url": "/v2/services/54b7e19a-dca4-4ce1-a025-00a0b7104863",
"service_instances_url": "/v2/service_plans/e0d5c67a-29e7-4ead-ac44-d03c69edcf83/service_instances"
}
}
Headers