TMFTMForumCreateCategory

This IP is used to invoke the TM Forum API to create a category.

Input JSON

{
    "description": "new",
    "lastUpdate": "2023-02-23T07:04:26.000+0000",
    "lifecycleStatus": "Inactive",
    "name": "new",
    "validFor": {
        "endDateTime": "2024-03-25T00:00:00.000+0000",
        "startDateTime": "2020-08-24T00:00:00.000+0000"
    },
    "@type": "Category",
    "href": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/category/a0j4x0000052VfDAAU",
    "subCategory": [
        {
            "@type": "Catalog",
            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000052VfEAAU",
            "id": "f89a76ce-5587-df10-74e2-6d9352c9572a",
            "name": "updated++"
        },
        {
            "@type": "Catalog",
            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000032Qw1AAE",
            "id": "a47a6362-b2c4-5899-5ed1-cfb72a5af3af",
            "name": "updated++"
        }
    ]
}

Output JSON

{
    "description": "new",
    "id": "d07d1118-08af-ee76-d246-fe295fa4a0ee",
    "isRoot": true,
    "lastUpdate": "2023-02-23T07:04:26.000+0000",
    "lifecycleStatus": "Inactive",
    "name": "new",
    "validFor": {
        "endDateTime": "2024-03-25T00:00:00.000+0000",
        "startDateTime": "2020-08-24T00:00:00.000+0000"
    },
    "@type": "Category",
    "href": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/category/a0j4x0000052VfDAAU",
    "subCategory": [
        {
            "@type": "Catalog",
            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000052VfEAAU",
            "id": "f89a76ce-5587-df10-74e2-6d9352c9572a",
            "name": "updated++"
        },
        {
            "@type": "Catalog",
            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000032Qw1AAE",
            "id": "a47a6362-b2c4-5899-5ed1-cfb72a5af3af",
            "name": "updated++"
        }
    ]
}

Usage

This IP calls the TMFOpenAPICategoryService.invokeMethod Apex method and the following Data Raptors: