Get a Product Offering's Details

get

http://host:port/productCatalogManagement/v4/productOffering/{id}

Retrieves the details of the product offering based on ID.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The details of the product offering were retrieved successfully.
Body ()
Root Schema : ProductOfferingOracle
Type: object
Title: ProductOfferingOracle
Match All
Show Source
  • Discriminator: @type
    Discriminator: { "propertyName":"@type", "mapping":{ "ProductOffering":"#/components/schemas/ProductOffering", "ProductOfferingOracle":"#/components/schemas/ProductOfferingOracle" } }
    Represents entities that are orderable from the provider of the catalog. This resource includes pricing information.
  • Discriminator: @type
    Discriminator: { "propertyName":"@type", "mapping":{ "ProductOfferingOracle":"#/components/schemas/ProductOfferingOracle" } }
Nested Schema : Discriminator: @type
Type: object
Discriminator: @type

Discriminator Values

Represents entities that are orderable from the provider of the catalog. This resource includes pricing information.
Show Source
Nested Schema : Discriminator: @type
Type: object
Discriminator: @type

Discriminator Values

Show Source

400 Response

The server cannot process the request due to a client error.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

401 Response

The user's authentication credentials for the target resource are invalid.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

404 Response

The requested resource was not found, but it could be accessible in the future. Subsequent client requests are permitted.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

405 Response

The requested resource does not support the particular request method.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source

500 Response

When an unexpected condition is identified and no specific message is appropriate, this generic error message is displayed.
Body ()
Root Schema : Error
Type: object
Used when an API throws an error, typically with an HTTP error response-code.
Show Source
Back to Top

Examples

The following example shows how to get a product offering by ID using a charge offering with one time charge of $100 as an example by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET 'http://host:port/productCatalogManagement/v4/productOffering/OnetimeOfferRef'

Example of the Response Body

The following example shows the contents of the response body in JSON format for the one time offer.

{
    "@baseType": "ProductOffering",
    "@type": "ProductOfferingOracle",
    "description": "OnetimeOffer",
    "href": "/productCatalogManagement/v4/productOffering/OnetimeOffer",
    "id": "OnetimeOfferRef",
    "isBundle": false,
    "isSellable": false,
    "lastUpdate": "2023-03-28T23:56:21Z",
    "lifecycleStatus": "Active",
    "name": "OnetimeOfferRef",
    "productOfferingPrice": [
        {
            "@type": "ProductOfferingPriceRefOracle",
            "href": "/productCatalogManagement/v4/productOfferingPrice/OnetimeOfferPop",
            "id": "OnetimeOfferPop",
            "name": "OnetimeOfferPop"
        }
    ],
    "serviceCandidate": {
        "@referredType": "ServiceCandidate",
        "@type": "ServiceCandidateRef",
        "id": "TelcoGsm",
        "name": "TelcoGsm"
    },
    "version": "1.0"
}
Back to Top