Develop > API calls > Release gate APIs > Marketplace Portal offering details

Marketplace Portal offering details

This API displays Marketplace Portal offering details.

URI Method Parameters Returns
providerInstanceId, offeringId GET

providerInstanceId - CSA provider ID

offeringId - CSA offering ID

200 - updated
400 - bad request
404 - not found

Examples

The following URL was sent:

https://csadevab7b9f275.csacloud.local:8444/csa/api/codar/release-gate/gate-action/offeringdetail/?providerInstanceId=8a828f165aa77526015aa81b959c0030&offeringId=1af3e0e4e952445f973dc2c4f048c2df

The following JSON was returned:

{

"members": [{

"container": {

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering:collection",

"@self": "/csa/api/service/offering/container/8ded6719cba04be18b73e6edd72f4d62"

},

"@content_version": 2,

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering",

"icon": "/csa/api/blobstore/technology_services.png?tag=library",

"hideRecurringPrice": false,

"description": "",

"type": "Full",

"hideInitialPriceAppr": false,

"design": {

"container": "8a828b775a02e18c015a1c74972d11cf",

"@type": "urn:x-hp:2012:software:cloud:data_model:service-blueprint",

"@self": "/csa/api/service/design/8a828b775a415ff7015a4baae31f02d7",

"name": "Nodejs platform - POC",

"type": "sequence",

"updateAvailable": false,

"version": "3.0"

},

"editByReqOrg": true,

"pricingExternal": false,

"state": "PUBLISHED",

"ext": {

"csa_name_key": "UI_test_1_5ca11637-28b4-48b5-93c6-1d6a374bc2ea"

},

"upgrades_from": [],

"@modified": "2017-02-17T11:02:55.333Z",

"hideInitialPrice": false,

"@deleted": false,

"version": "1.0.0",

"hideRecurringPriceAppr": false,

"tags": [],

"@created": "2017-02-17T11:02:00.116Z",

"@self": "/csa/api/service/offering/1af3e0e4e952445f973dc2c4f048c2df",

"name": "UI_test_1",

"upgrades_to": [],

"option_sets": [{

"ext": {

"csa_name_key": "0523ab09-ef60-4f28-68ad-6e2b7a0e758f"

},

"multi_select": false,

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering:option-set",

"@self": "/csa/api/service/offering/optionset/dd067a6642814a33879168ee26946331",

"original_name": "",

"name": "Level 0 - OS 1",

"icon": "/csa/api/blobstore/default.png?tag=library",

"options": [{

"ext": {

"csa_name_key": "f83218a0-c4db-fb40-ee7b-ca8c0ca95521"

},

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering:option",

"icon": "",

"description": "with 2 editable and 1 non-editable property",

"published": true,

"@self": "/csa/api/service/offering/option/a43f68eae1424e2794b1ba5ffa49e369",

"original_name": "",

"name": "Level 1 - Option 1",

"option_sets": [{

"ext": {

"csa_name_key": "94110b27-e3ce-5d5a-5289-b894863b9f57"

},

"multi_select": true,

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering:option-set",

"@self": "/csa/api/service/offering/optionset/a56d4c45ebbc47a09c68041ca9193a67",

"original_name": "",

"name": "Level 2 - OS 1",

"icon": "/csa/api/blobstore/default.png?tag=library",

"options": [{

"ext": {

"csa_name_key": "eebabb0b-0b24-b7e2-6a33-5e6705d75657"

},

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering:option",

"icon": "",

"description": "with 2 multi line and 1 confidential property",

"published": true,

"@self": "/csa/api/service/offering/option/d02416d8bcaa476183f665ac4f1e2c46",

"original_name": "",

"name": "Level 3 - Option 1",

"option_sets": [{

"ext": {

"csa_name_key": "e3996d7b-8dd2-3c65-9191-3c0b32ea79fc"

},

"multi_select": false,

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering:option-set",

"@self": "/csa/api/service/offering/optionset/df072ac8e7184e7e871ef7aa3e11030b",

"original_name": "",

"name": "Level 4 - OS 1",

"icon": "/csa/api/blobstore/default.png?tag=library",

"options": [{

"ext": {

"csa_name_key": "63287e96-f94a-4b15-60de-fc243c20e31e"

},

"@type": "urn:x-hp:2012:software:cloud:data_model:service-offering:option",

"icon": "",

"description": "Max depth we can achieve\n1 readonly string property, 2 editable string property",

"published": true,

"@self": "/csa/api/service/offering/option/1c9ae5606d1f4884b0f7e00f407648c4",

"original_name": "",

"name": "Level 5 - Option 1",

"option_sets": [],

"locked": false,

"selected": true,

"pricing": {

"recurrence": {

"period": "YEAR",

"amount": {

"currency": "USD",

"value": 0

},

"@self": "/csa/api/pricing/f80c6c9a32e74a72a433cc69131d47d4",

"pricingComputeType": "STATIC"

},

"initial": {

"@self": "/csa/api/pricing/0ac9c78edc474087a30a149ab0a76414",

"currency": "USD",

"pricingComputeType": "STATIC",

"value": 0

}

},

"properties": [{

"ext": {

"csa_name_key": "innermost dummy string property 1",

"csa_confidential": false

},

"@type": "urn:x-hp:2012:software:cloud:data_model:metamodel:property",

"multiplier": false,

"editable": false,

"input_type": "INPUT",

"description": "",

"published": false,

"property_value": "test",

"constraints": [{

"min_length": 0,

"@type": "urn:x-hp:2012:software:cloud:data_model:property:constraint:string:min-length",

"validate": true

}, {

"@type": "urn:x-hp:2012:software:cloud:data_model:property:constraint:string:max-length",

"max_length": 4000,

"validate": true

}, {

"@type": "urn:x-hp:2012:software:cloud:data_model:property:constraint:value:required",

"required": false,

"validate": true

}],

"multiplied": false,

"@self": "/csa/api/service/offering/property/362f18f1cb574ccf9148d7ed47a00f40",

"original_name": "",

"name": "innermost dummy string property 1",

"property_type": "STRING",

"locked": false,

"modifiable": true

},

}