...
REQUEST |
GET /catalogManagement/productOffering/{42} Accept: application/json |
RESPONSE |
200 Content-Type: application/json
{ "id": "12",
"id": "13", "id": "12", "id": "15", "id": "64", "id": "28", "href": "http://serverlocation:port/slaManagement/serviceLevelAgreement/28", "href": "http://serverlocation:port/catalogManagement/productSpecification/13", "serviceCandidate": "resourceCandidate": { "productOfferingTerm": [
|
POST /catalogManagement/productOffering
This Uniform Contract operation is used to create a managed entity or a task.
Description :
· This operation creates a productOffering
· The resource represents a managed entity.
· The ID may be a string (or a string containing numbers).
Behavior :
- · Standard POST behavior.
- Returns HTTP/1.1 status code 201 if the request was successful.
- Any other special return and/or exception codes.
...
REQUEST |
POST catalogManagement/productOffering Content-type: application/json
{ "version": |
...
" |
...
1.0", " |
...
name": |
...
"Virtual Storage Medium", |
...
"Virtual Storage Medium", |
...
"true", |
...
"Active", |
...
{ |
...
"2013-04-19T16:42:23-04:00", |
...
"2013-06-19T00:00:00-04:00" |
...
[ |
...
"id": "12", |
...
"href": |
...
"http://serverlocation:port/catalogManagement/category/12", |
...
"2.0", |
...
"Cloud offerings" |
...
[ |
...
"13", |
...
"href": |
...
...
"Online Channel" |
...
[ |
...
"12", |
...
"href": |
...
...
"France" |
...
[ |
...
"15", |
...
"href": |
...
"http://serverlocation:port/catalogManagement/productOffering/15", |
...
"Active", |
...
"Offering 15" "serviceCandidate": { "resourceCandidate": { "productOfferingTerm": [ "name": "Monthly Price", "name": "Usage Price", |
RESPONSE |
201 Content-Type: application/json
{ |
...
{ |
...
"64", |
...
"href": |
...
"http://serverlocation:port/catalogManagement/productOffering/64", |
...
"Active", |
...
"Offering 64" |
...
{ |
...
"28", |
...
...
"Standard SLA" |
...
{ |
...
"id": |
...
"13", |
...
"href": |
...
...
"version": |
...
"2.0", |
...
"name": |
...
"specification product 1" "serviceCandidate": |
...
{ |
...
"id": |
...
"13", |
...
"href": |
...
...
"version": |
...
"2.0", |
...
"name": |
...
"specification service 1" "resourceCandidate": |
...
{ |
...
"13", |
...
"href": |
...
...
"version": |
...
"2.0", |
...
"name": |
...
"specification resource 1" "productOfferingTerm": |
...
[ |
...
"12 Month", |
...
"12 month contract", |
...
"12", |
...
{ |
...
"2013-04-19T16:42:23-04:00", |
...
"2013-06-19T00:00:00-04:00" |
...
[
|
...
"name": |
...
"Monthly Price", |
...
"monthlyprice", |
...
{ |
...
"startDateTime": |
...
"2013-04-19T16:42:23-04:00", |
...
"2013-06-19T00:00:00-04:00" |
...
"recurring", |
...
"", |
...
{ |
...
"12.00", |
...
"10.00", |
...
"20.00", |
...
"currencyCode": |
...
"EUR" |
...
"monthly" |
...
{ "name": |
...
"Usage Price", |
...
"usageprice", |
...
{ |
...
"2013-04-19T16:42:23-04:00", |
...
"2013-06-19T00:00:00-04:00" |
...
"priceType": |
...
"usage", |
...
"second", |
...
{ |
...
"12.00", |
...
"10.00", |
...
"20.00", |
...
"EUR" |
...
"" |
...