# TMFTMForumPatchCatalog

This IP is used to invoke the TM Forum API to update a catalog.

## Input JSON

```@json
{
    "patch_id": "7501e637-c2ef-7716-4bec-bd51a9f55cbd",
    "name": "Cloud Services mmmm new",
    "description": "A category to hold all available cloud service offers",
    "category": [
        {
            "@referredType": "vlocity_cmt__Catalog__c",
            "id": "a0487c71-5dfa-68fc-1ceb-cbfada841657",
            "name": "Cloud Storage mmm",
            "@type": "Catalog",
            "href": "/services/data/v48.0/sobjects/vlocity_cmt__CatalogRelationship__c/a2R5e000001M2WbEAK"
        },
        {
            "@referredType": "vlocity_cmt__Catalog__c",
            "id": "243b7814-d98d-41fd-265c-96085995a9ae",
            "name": "Software as a Service",
            "@type": "Catalog",
            "href": "/services/data/v48.0/sobjects/vlocity_cmt__CatalogRelationship__c/a2R5e000001M2WbEAK"
        }
    ]
}
```

## Output JSON

```@json
{
    "@referredType": "vlocity_cmt__Catalog__c",
    "description": "A category to hold all available cloud service offers",
    "href": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/catalog/a0j4x0000053ESBAA2",
    "id": "7501e637-c2ef-7716-4bec-bd51a9f55cbd",
    "isRoot": true,
    "lifecycleStatus": true,
    "name": "Cloud Services mmmm new",
    "category": [
        {
            "@referredType": "vlocity_cmt__Catalog__c",
            "id": "a0487c71-5dfa-68fc-1ceb-cbfada841657",
            "name": "Cloud Storage mmm",
            "@type": "Catalog",
            "href": "/services/data/v48.0/sobjects/vlocity_cmt__CatalogRelationship__c/a2R5e000001M2WbEAK"
        },
        {
            "@referredType": "vlocity_cmt__Catalog__c",
            "id": "243b7814-d98d-41fd-265c-96085995a9ae",
            "name": "Software as a Service",
            "@type": "Catalog",
            "href": "/services/data/v48.0/sobjects/vlocity_cmt__CatalogRelationship__c/a2R5e000001M2WbEAK"
        }
    ],
    "validFor": {
        "endDateTime": "2024-03-25T00:00:00.000+0000",
        "startDateTime": "2020-08-24T00:00:00.000+0000"
    },
    "@type": "Catalog"
}
```

## Usage

This IP calls the [TMFOpenAPICatalogService.invokeMethod](/docs/industries/communications/guide/TMFOpenAPICatalogService.md) Apex method and the following Data Raptors:

- [TMFTMForumTransformCatalogRequest](/docs/industries/communications/guide/TMFTMForumTransformCatalogRequest.md)
- [TMFTMForumTransformGetCatalogResponse](/docs/industries/communications/guide/TMFTMForumTransformGetCatalogResponse.md)
