Create a catalog

post

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/catalog

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : CatalogOracle
Title: CatalogOracle
Match All
Show Source
  • Catalog
    Title: Catalog
    Discriminator: { "propertyName":"@type", "mapping":{ "Catalog":"#/components/schemas/Catalog", "CatalogOracle":"#/components/schemas/CatalogOracle" } }
  • type
Nested Schema : Catalog
Type: object
Title: Catalog
Discriminator: @type

Discriminator Values

Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Back to Top

Response

Supported Media Types

201 Response

Your request is successful and a new resource has been created.
Body ()
Root Schema : CatalogOracle
Title: CatalogOracle
Match All
Show Source
  • Catalog
    Title: Catalog
    Discriminator: { "propertyName":"@type", "mapping":{ "Catalog":"#/components/schemas/Catalog", "CatalogOracle":"#/components/schemas/CatalogOracle" } }
  • type
Nested Schema : Catalog
Type: object
Title: Catalog
Discriminator: @type

Discriminator Values

Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source

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 catalog 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/v5/catalog \ -H 'Content-Type: application/json' -D @create_catalog.json | json_pp

Example of Request Body

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

{
    "id": "ConsumerCatalog",
    "name": "ConsumerCatalog",
    "description": "ConsumerCatalog Description",
    "@baseType": "Catalog",
    "@type": "CatalogOracle",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "validFor": {
        "startDateTime": "2020-08-02T10:00:38.028Z",
        "endDateTime": "2021-08-03T10:00:38.029Z"
    },
    "catalogType": "PRODUCT",
    "project": {
        "id": "DBE_RI_ProdModel_PreSeed_PSP",
        "name": "DBE RI Product Model Preseed",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/DBE_RI_ProdModel_PreSeed_PSP",
        "version": "1.0",
        "@referredType": "ProjectOracle"
    },
    "relatedParty": [
        {
            "role": "ROLE1",
            "partyOrPartyRole": {
                "id": "PartyRoleID",
                "name": "PartyRoleName",
                "partyId": "partyid123",
                "partyName": "partyName",
                "@referredType": "PartyRole",
                "@type": "PartyRoleRef"
            },
            "@type": "RelatedPartyRefOrPartyRoleRef"
        }
    ],
    "category": [
        {
            "id": "88-4KXTW",
            "name": "2D Scanners",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/category/88-4KXTW",
            "version": "1.0",
            "@referredType": "CategoryOracle",
            "@type": "CategoryOracle"
        },
        {
            "id": "88-4KXTY",
            "name": "Android Scanners",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/category/88-4KXTY",
            "version": "1.0",
            "@referredType": "CategoryOracle",
            "@type": "CategoryOracle"
        }
    ]
}

Example of Response Body

The following example shows the contents of the request body in JSON format.
{
    "id": "ConsumerCatalog",
    "name": "ConsumerCatalog",
    "description": "ConsumerCatalog Description",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/catalog/ConsumerCatalog",
    "version": "1.0",
    "lifecycleStatus": "In design",
    "created": "2025-02-18T07:51:47.000Z",
    "createdBy": "booth",
    "lastUpdate": "2025-02-18T07:51:47.065Z",
    "lastUpdatedBy": "booth",
    "@type": "CatalogOracle",
    "@baseType": "Catalog",
    "catalogType": "PRODUCT",
    "validFor": {
        "startDateTime": "2020-08-02T10:00:38.028Z",
        "endDateTime": "2021-08-03T10:00:38.029Z"
    },
    "project": {
        "id": "DBE_RI_ProdModel_PreSeed_PSP",
        "name": "DBE RI Product Model Preseed",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/DBE_RI_ProdModel_PreSeed_PSP",
        "version": "1.0",
        "@referredType": "ProjectOracle"
    },
    "versionState": 0,
    "relatedParty": [
        {
            "role": "ROLE1",
            "partyOrPartyRole": {
                "id": "PartyRoleID",
                "name": "PartyRoleName",
                "partyId": "partyid123",
                "partyName": "partyName",
                "@referredType": "PartyRole",
                "@type": "PartyRoleRef"
            },
            "@type": "RelatedPartyRefOrPartyRoleRef"
        }
    ],
    "category": [
        {
            "id": "88-4KXTW",
            "name": "2D Scanners",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/category/88-4KXTW",
            "version": "1.0",
            "@referredType": "CategoryOracle",
            "@type": "CategoryOracle"
        },
        {
            "id": "88-4KXTY",
            "name": "Android Scanners",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/category/88-4KXTY",
            "version": "1.0",
            "@referredType": "CategoryOracle",
            "@type": "CategoryOracle"
        }
    ]
}
Back to Top