Create or update an array of channels

put

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/channels

Creates or updates the supplied array of channels in a single request.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 50
The channels resource.
Show Source
Nested Schema : ChannelOracle
Type: object
Title: ChannelOracle
The channel resource.
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
The project reference resource.
Show Source
Nested Schema : TimePeriod
Type: object
Title: TimePeriod
The period for which the productOffering is valid.
Show Source
Back to Top

Response

Supported Media Types

200 Response

The list of channels was created or updated successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ChannelOracle
Type: object
Title: ChannelOracle
The channel resource.
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
The project reference resource.
Show Source
Nested Schema : TimePeriod
Type: object
Title: TimePeriod
The period for which the productOffering is valid.
Show Source

400 Response

Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : Discriminator: @type
Type: object
Discriminator: @type

Discriminator Values

401 Response

Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Body ()
Root Schema : Error
Type: object
Title: Error
The error resource.
Show Source

404 Response

The resource with the specified URI couldn't be found.
Body ()
Root Schema : Error
Type: object
Title: Error
The error resource.
Show Source

405 Response

HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Body ()
Root Schema : Error
Type: object
Title: Error
The error resource.
Show Source

500 Response

The server encountered something unexpected that prevented it from completing the request.
Body ()
Root Schema : Error
Type: object
Title: Error
The error resource.
Show Source
Back to Top

Examples

The following example shows how to create or update an array of channels by submitting a put request on the REST resource using cURL.

cURL Command

curl -u username:password -X PUT https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/channels -H 'Content-Type: application/json' -D @put_channels.json | json_pp

Example of Request Body

The following shows an example of the request body in JSON format.

[
    {
        "id": "CH-907997178-1758188606986",
        "name": "channel-new",
        "validFor": {
            "startDateTime": "2025-09-18T00:00:00.000Z"
        },
        "@type": "ChannelOracle",
        "version": "1.0",
        "lifecycleStatus": "In design",
        "project": {
            "id": "P-3758355947-1758188571690",
            "name": "testReview2",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-3758355947-1758188571690",
            "version": "1.0",
            "@referredType": "ProjectOracle",
            "@type": "ProjectRef"
        },
        "isLocked": false,
        "versionState": 0
    },
    {
        "id": "CH-907997179-1759199707997",
        "name": "channel-new2310",
        "validFor": {
            "startDateTime": "2025-09-18T00:00:00.000Z"
        },
        "@type": "ChannelOracle",
        "version": "1.0",
        "lifecycleStatus": "In design",
        "project": {
            "id": "P-3758355947-1758188571690",
            "name": "testReview2",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-3758355947-1758188571690",
            "version": "1.0",
            "@referredType": "ProjectOracle",
            "@type": "ProjectRef"
        },
        "isLocked": false,
        "versionState": 0
    }
]

Example of Response Body

The following shows an example of the response body in JSON format.

[
    {
        "id": "CH-907997178-1758188606986",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/channels/CH-907997178-1758188606986",
        "name": "channel-new",
        "validFor": {
            "startDateTime": "2025-09-18T00:00:00.000Z"
        },
        "@type": "ChannelOracle",
        "version": "1.0",
        "created": "2025-09-18T09:43:35.000Z",
        "createdBy": "booth",
        "lastUpdate": "2025-10-24T08:05:09.004Z",
        "lastUpdatedBy": "booth",
        "lifecycleStatus": "In design",
        "project": {
            "id": "P-3758355947-1758188571690",
            "name": "testReview2",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-3758355947-1758188571690",
            "version": "1.0",
            "@referredType": "ProjectOracle",
            "@type": "ProjectRef"
        }
    },
    {
        "id": "CH-907997179-1759199707997",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/channels/CH-907997179-1759199707997",
        "name": "channel-new2310",
        "validFor": {
            "startDateTime": "2025-09-18T00:00:00.000Z"
        },
        "@type": "ChannelOracle",
        "version": "1.0",
        "created": "2025-10-23T07:52:18.000Z",
        "createdBy": "booth",
        "lastUpdate": "2025-10-23T07:52:18.372Z",
        "lastUpdatedBy": "booth",
        "lifecycleStatus": "In design",
        "project": {
            "id": "P-3758355947-1758188571690",
            "name": "testReview2",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-3758355947-1758188571690",
            "version": "1.0",
            "@referredType": "ProjectOracle",
            "@type": "ProjectRef"
        }
    }
]
Back to Top