Adding a simple Service Catalog
Request:
POST /api/service_catalogs
{
"action" : "create",
"resource" : {
"name" : "Sample Service Catalog",
"description" : "Description of Sample Service Catalog",
"service_templates" : [
{ "href" : "http://localhost:3000/api/service_templates/3" },
{ "href" : "http://localhost:3000/api/service_templates/4" }
]
}
}
Response:
{
"results": [
{
"id": "7",
"href" : "http://localhost:3000/api/service_catalogs/7",
"name": "Sample Service Catalog",
"description": "Description of Sample Service Catalog"
}
]
}