---
schema_version: "1"
id: b795b050ee63c89ce6bc4bdb69e0501b4198ec9cc903a61abc1e8e7769388072
title: TMFTMForumCategoryRequestTransform
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/comms/guides/TMF620/DR/TMFTMForumCategoryRequestTransform.md
canonical_url: https://developer.salesforce.com/docs/industries/communications/guide/TMFTMForumCategoryRequestTransform.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 43d913f65c9d49c72caaccc5fd793e2fcd84973efe70258e9985104740daf60d
products:
  - Communications Cloud TM Forum API
  - Industries Integrations
---
# TMFTMForumCategoryRequestTransform

This Data Mapper is used in the [TMFTMForumCreateCategory](https://developer.salesforce.com/docs/industries/communications/IP/TMFTMForumCreateCategory.md) IP.

## Input JSON

```@json
{
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/Category.schema.json",
"@type": "Category",
"description": "A category to hold all available cloud service offers",
"isRoot": true,
"lifecycleStatus": "Active",
"name": "Cloud Services retest",
"subCategory": [
{
"@referredType": "Category",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/CategoryRef.schema.json",
"@type": "CategoryRef",
"href": "https://mycsp.com:8080/tmf-api/productCatalogManagement/v4/category/6087",
"id": "6087",
"name": "Software as a Service",
"version": "2.0"
}
],
"validFor": {
"endDateTime": "2024-03-25T00:00:00Z",
"startDateTime": "2020-08-24T00:00:00Z"
},
"version": "1.0"
}
```

## Output JSON

```@json
{
"validFor": {
"startDateTime": "2020-08-24T00:00:00Z",
"endDateTime": "2024-03-25T00:00:00Z"
},
"subCategory": [
{
"version": "2.0",
"name": "Software as a Service",
"id": "6087",
"href": "https://mycsp.com:8080/tmf-api/productCatalogManagement/v4/category/6087",
"@type": "CategoryRef",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/CategoryRef.schema.json",
"@referredType": "Category"
}
],
"version": "1.0",
"name": "Cloud Services retest",
"lifecycleStatus": "Active",
"isRoot": true,
"description": "A category to hold all available cloud service offers",
"@type": "Category",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/Category.schema.json"
}
```
