Create or update a destination

put

https://{FusionAppsHost}/crmRestApi/resources/11.13.18.05/PublishingAPI/publishDestination/{id}

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : PublishDestinationOracle
Type: object
Title: PublishDestinationOracle
Show Source
Nested Schema : DestinationCharacteristicsOracle
Type: object
Title: DestinationCharacteristicsOracle
The publish destination characteristics
Show Source
Nested Schema : publishExclusionRule
Type: array
Show Source
Nested Schema : PublishExclusionRuleOracle
Type: object
Title: PublishExclusionRuleOracle
The publish exclusion rule
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : PublishDestinationOracle
Type: object
Title: PublishDestinationOracle
Show Source
Nested Schema : DestinationCharacteristicsOracle
Type: object
Title: DestinationCharacteristicsOracle
The publish destination characteristics
Show Source
Nested Schema : publishExclusionRule
Type: array
Show Source
Nested Schema : PublishExclusionRuleOracle
Type: object
Title: PublishExclusionRuleOracle
The publish exclusion rule
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 : Error
Type: object
Title: Error
Show Source

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
Show Source

404 Response

Your request includes a resource URI that doesn't exist.
Body ()
Root Schema : Error
Type: object
Title: Error
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
Show Source

500 Response

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

Examples

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

cURL Command

curl -u username:password -X PUT https://{FusionAppsHost}/crmRestApi/resources/11.13.18.05/PublishingAPI/publishDestination/{id}

Example of Request Body

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

{
    "name": "siebel-test",
    "type": "siebel",
    "id": 300100626551273,
    "mode": "Internal",
    "characteristics": {
        "order": 1
    },
    "publishExclusionRule": [
        {
            "resourceType": "productOffering",
            "exclusionRule": "(VALUEOF(productType) IN_LIST (COMMERCIAL_BUNDLE,SERVICE_BUNDLE))"
        }
    ]
}

Example of Response Body

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

{
    "name": "siebel-test",
    "type": "siebel",
    "lastUpdate": "2025-02-19T15:03:27.004Z",
    "lastUpdatedBy": "booth",
    "created": "2025-01-13T07:54:08.000Z",
    "createdBy": "booth",
    "id": 300100626551273,
    "mode": "Internal",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/PublishingAPI/publishDestination/300100626551273",
    "publishExclusionRule": [
        {
            "resourceType": "productOffering",
            "exclusionRule": "(VALUEOF(productType) IN_LIST (COMMERCIAL_BUNDLE,SERVICE_BUNDLE))"
        }
    ],
    "characteristics": {
        "order": 1
    }
}
Back to Top