Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/14fcdd7d-6e0a-47ec-bdea-731049911898
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/14fcdd7d-6e0a-47ec-bdea-731049911898" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc4IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4MzkzfQ.U8xBX0tBWiykrG9v5gH9FKfn08pI-Dq3mQuHTV_RE3I" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "14fcdd7d-6e0a-47ec-bdea-731049911898",
"url": "/v2/service_plans/14fcdd7d-6e0a-47ec-bdea-731049911898",
"created_at": "2016-04-22T19:33:13Z",
"updated_at": null
},
"entity": {
"name": "name-150",
"free": false,
"description": "desc-10",
"service_guid": "5b1d4522-5853-482b-bd01-21cfcd5a9627",
"extra": null,
"unique_id": "2489bd84-a9b2-474f-b768-326582a9fa64",
"public": true,
"active": true,
"service_url": "/v2/services/5b1d4522-5853-482b-bd01-21cfcd5a9627",
"service_instances_url": "/v2/service_plans/14fcdd7d-6e0a-47ec-bdea-731049911898/service_instances"
}
}
Headers