# TMFTMForumPatchCategory

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

## Input JSON

```@json
{
    "patch_id": "432b3763-2233-65cd-8ba3-a67a035aab74",
    "name": "Postpaid Addon updated",
    "description": "A category to hold all available cloud service offers updated",
    "subCategory": [
        {
            "name": "Cloud Services retest4",
            "id": "f5a2cf7f-8405-baeb-2a83-f371aa89a303"
        },
        {
            "name": "GS0 Category2-5",
            "id": "57f0ad75-63ab-3c7a-f738-8fa719c9858e"
        }
    ],
    "productOffering": [
        {
            "id": "edeafc77-336c-f915-bf13-78d65284de5c",
            "name": "50 GB Data Postpaid Addon"
        },
        {
            "name": "Postpaid Add On1",
            "id": "693bb8d1-1c23-8aa8-13f2-561466651a38"
        }
    ]
}
```

## Output JSON

```@json
{
    "productOffering": [
        {
            "id": "edeafc77-336c-f915-bf13-78d65284de5c",
            "name": "50 GB Data Postpaid Addon"
        },
        {
            "name": "Postpaid Add On1",
            "id": "693bb8d1-1c23-8aa8-13f2-561466651a38"
        }
    ],
    "subCategory": [
        {
            "name": "Cloud Services retest4",
            "id": "f5a2cf7f-8405-baeb-2a83-f371aa89a303"
        },
        {
            "name": "GS0 Category2-5",
            "id": "57f0ad75-63ab-3c7a-f738-8fa719c9858e"
        }
    ],
    "@type": "Category",
    "href": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/category/a0e5e000003boMeAAI",
    "validFor": {
        "startDateTime": "2020-08-24T00:00:00.000+0000",
        "endDateTime": "2024-03-25T00:00:00.000+0000"
    },
    "lifecycleStatus": "Active",
    "lastUpdate": "2023-01-19T07:47:10.000+0000",
    "isRoot": true,
    "name": "Postpaid Addon updated",
    "description": "A category to hold all available cloud service offers updated",
    "id": "432b3763-2233-65cd-8ba3-a67a035aab74"
}
```

## Usage

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

- [TMFTMForumPatchCategoryInputTransform](/docs/industries/communications/guide/TMFTMForumPatchCategoryInputTransform.md)
- [TMFTMForumCategoryResponseTransform](/docs/industries/communications/guide/TMFTMForumCategoryResponseTransform.md)
