TMFTMForumCreateCategory

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

Input JSON 

1{
2    "description": "new",
3    "lastUpdate": "2023-02-23T07:04:26.000+0000",
4    "lifecycleStatus": "Inactive",
5    "name": "new",
6    "validFor": {
7        "endDateTime": "2024-03-25T00:00:00.000+0000",
8        "startDateTime": "2020-08-24T00:00:00.000+0000"
9    },
10    "@type": "Category",
11    "href": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/category/a0j4x0000052VfDAAU",
12    "subCategory": [
13        {
14            "@type": "Catalog",
15            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000052VfEAAU",
16            "id": "f89a76ce-5587-df10-74e2-6d9352c9572a",
17            "name": "updated++"
18        },
19        {
20            "@type": "Catalog",
21            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000032Qw1AAE",
22            "id": "a47a6362-b2c4-5899-5ed1-cfb72a5af3af",
23            "name": "updated++"
24        }
25    ]
26}

Output JSON 

1{
2    "description": "new",
3    "id": "d07d1118-08af-ee76-d246-fe295fa4a0ee",
4    "isRoot": true,
5    "lastUpdate": "2023-02-23T07:04:26.000+0000",
6    "lifecycleStatus": "Inactive",
7    "name": "new",
8    "validFor": {
9        "endDateTime": "2024-03-25T00:00:00.000+0000",
10        "startDateTime": "2020-08-24T00:00:00.000+0000"
11    },
12    "@type": "Category",
13    "href": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/category/a0j4x0000052VfDAAU",
14    "subCategory": [
15        {
16            "@type": "Catalog",
17            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000052VfEAAU",
18            "id": "f89a76ce-5587-df10-74e2-6d9352c9572a",
19            "name": "updated++"
20        },
21        {
22            "@type": "Catalog",
23            "href": "/services/data/v57.0/sobjects/vlocity_cmt__Catalog__c/a0j4x0000032Qw1AAE",
24            "id": "a47a6362-b2c4-5899-5ed1-cfb72a5af3af",
25            "name": "updated++"
26        }
27    ]
28}

Usage 

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