Create a product offering price

post

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productOfferingPrice

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : Discriminator: @type
Type: object
Discriminator: @type

Discriminator Values

Back to Top

Response

Supported Media Types

201 Response

Your request is successful and a new resource has been created.
Body ()
Root Schema : Discriminator: @type
Type: object
Discriminator: @type

Discriminator Values

400 Response

Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

401 Response

Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

404 Response

Your request includes a resource URI that doesn't exist.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

405 Response

HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

500 Response

The server encountered something unexpected that prevented it from completing the request.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source
Back to Top

Examples

The following example shows how to create a product offering price by submitting a POST request on the REST resource using cURL.

cURL Command

curl -u username:password -X POST https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productOfferingPrice/ \ -H 'Content-Type: application/json' -D @create_prodcutofferingprice.json | json_pp

Example of Request Body

The following example shows the contents of the request body in JSON format.

{
    "id": "POP-2030976863-1732773734387",
    "name": "OTF_PPlan",
    "version": "1.0",
    "priceType": "ONE_TIME_PRICE_PLAN",
    "@type": "ProductOfferPricePlanOracle",
    "@baseType": "ProductOfferingPriceOracle",
    "isBundle": false,
    "lifecycleStatus": "In design",
 
    "validFor": {
        "startDateTime": "2024-11-28T00:00:00.000Z"
    },
    "project": {
        "id": "P-3647998921-1732773405790",
        "name": "winter-project",
        "version": "1.0",
        "@referredType": "ProjectOracle"
    },
    "price": {
        "value": 15,
        "unit": "USD"
    },
    "oneTimeFeeType": "PURCHASE",
    "pricelist": [
        {
            "id": "PL-1165501578-1732773437321",
            "name": "PL_Dollar",
            "version": "1.0",
            "@referredType": "PricelistOracle",
            "@type": "PriceListRefOracle",
            "@baseType": "PricelistOracle"
        }
    ],
    "balanceElement": [
        {
            "id": "BE_USD_001",
            "name": "USD Balance Element",
            "@referredType": "BalanceElementOracle",
            "version": "1.0",
            "@type":"BalanceElementRefOracle"
        }
    ]
}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "id": "POP-2030976863-1732773734387",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/productOfferingPrice/POP-2030976863-1732773734387",
    "name": "OTF_PPlan",
    "version": "1.0",
    "priceType": "ONE_TIME_PRICE_PLAN",
    "@type": "ProductOfferPricePlanOracle",
    "@baseType": "ProductOfferingPriceOracle",
    "@schemaLocation": "https://{FusionAppsHost}/CatalogManagement/schema/oracle/ProductOfferPricePlanOracle.yml",
    "isBundle": false,
    "lastUpdate": "2024-11-28T06:06:00.008Z",
    "lifecycleStatus": "In design",
    "lastUpdatedBy": "booth",
    "created": "2024-11-28T06:03:06.000Z",
    "createdBy": "booth",
    "validFor": {
        "startDateTime": "2024-11-28T00:00:00.000Z"
    },
    "project": {
        "id": "P-3647998921-1732773405790",
        "name": "winter-project",
        "href": "https://{FusionAppsHost}/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-3647998921-1732773405790",
        "version": "1.0",
        "@referredType": "ProjectOracle"
    },
    "price": {
        "value": 15,
        "unit": "USD"
    },
    "oneTimeFeeType": "PURCHASE",
    "pricelist": [
        {
            "id": "PL-1165501578-1732773437321",
            "name": "PL_Dollar",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/pricelist/PL-1165501578-1732773437321",
            "version": "1.0",
            "@referredType": "PricelistOracle",
            "@type": "PriceListRefOracle",
            "@baseType": "PricelistOracle"
        }
    ]
}
Back to Top