Update a destination
patch
https://{FusionAppsHost}/crmRestApi/resources/11.13.18.05/PublishingAPI/publishDestination/{id}
Updates the destination that matches the specified ID using the supplied request payload.
Request
Path Parameters
-
id(required): string
The ID of the resource item.
Supported Media Types
- application/json
Root Schema : PublishDestinationOracle
Type:
objectTitle:
PublishDestinationOracleThe publish destination resource.
Show Source
-
characteristics: object
DestinationCharacteristicsOracle
Title:
DestinationCharacteristicsOracleThe destination characteristic resource. -
created: string
(date-time)
The date and time when the record was created.
-
createdBy: string
The user who created the record.
-
description: string
The description of the Destination.
-
entryLifecycleStatus: string
The lifecycle status associated with Destination.
-
excludeReferences: boolean
Whether the publish destination has exclude references.
-
href: string
The hyperlink reference to the publish destination.
-
id: string
The ID of the publish destination.
-
isDesignTime: boolean
Whether the publish destination is design time.
-
lastUpdate: string
(date-time)
The date and time when the destination was last updated.
-
lastUpdatedBy: string
The user who updated the record.
-
mode: string
The mode of Destination like Internal etc.
-
name(required): string
The name of the destination. You can filter destinations by destination name, for example DestinationName=RecordName. DestinationName is the target name of the Fabric system descriptor for the registered spoke system projectPublishEvent target.
-
pauseEnabled: boolean
Whether the publish destination has pause enabled.
-
publishExclusionRule: array
publishExclusionRule
A list of publish exclusion rules associated with the publish destination.
-
type(required): string
The type of Destination like BRM etc.
-
url: string
The URL of the destination.
-
version: string
The version of Destination.
Nested Schema : DestinationCharacteristicsOracle
Type:
objectTitle:
DestinationCharacteristicsOracleThe destination characteristic resource.
Show Source
-
order: integer
The order of publish.
Nested Schema : publishExclusionRule
Type:
arrayA list of publish exclusion rules associated with the publish destination.
Show Source
-
Array of:
object PublishExclusionRuleOracle
Title:
PublishExclusionRuleOracleThe publish exclusion rule resource.
Nested Schema : PublishExclusionRuleOracle
Type:
objectTitle:
PublishExclusionRuleOracleThe publish exclusion rule resource.
Show Source
-
Description: string
A string. Description of the product rule.
-
ExclusionRule: string
The metering Expression applicable to the product rule.
-
id: string
The ID of the publish exclusion rule.
-
resourceType: string
The type or classification of the publish exclusion rule.
Response
Supported Media Types
- application/json
200 Response
The publish destination was updated successfully.
Root Schema : PublishDestinationOracle
Type:
objectTitle:
PublishDestinationOracleThe publish destination resource.
Show Source
-
characteristics: object
DestinationCharacteristicsOracle
Title:
DestinationCharacteristicsOracleThe destination characteristic resource. -
created: string
(date-time)
The date and time when the record was created.
-
createdBy: string
The user who created the record.
-
description: string
The description of the Destination.
-
entryLifecycleStatus: string
The lifecycle status associated with Destination.
-
excludeReferences: boolean
Whether the publish destination has exclude references.
-
href: string
The hyperlink reference to the publish destination.
-
id: string
The ID of the publish destination.
-
isDesignTime: boolean
Whether the publish destination is design time.
-
lastUpdate: string
(date-time)
The date and time when the destination was last updated.
-
lastUpdatedBy: string
The user who updated the record.
-
mode: string
The mode of Destination like Internal etc.
-
name(required): string
The name of the destination. You can filter destinations by destination name, for example DestinationName=RecordName. DestinationName is the target name of the Fabric system descriptor for the registered spoke system projectPublishEvent target.
-
pauseEnabled: boolean
Whether the publish destination has pause enabled.
-
publishExclusionRule: array
publishExclusionRule
A list of publish exclusion rules associated with the publish destination.
-
type(required): string
The type of Destination like BRM etc.
-
url: string
The URL of the destination.
-
version: string
The version of Destination.
Nested Schema : DestinationCharacteristicsOracle
Type:
objectTitle:
DestinationCharacteristicsOracleThe destination characteristic resource.
Show Source
-
order: integer
The order of publish.
Nested Schema : publishExclusionRule
Type:
arrayA list of publish exclusion rules associated with the publish destination.
Show Source
-
Array of:
object PublishExclusionRuleOracle
Title:
PublishExclusionRuleOracleThe publish exclusion rule resource.
Nested Schema : PublishExclusionRuleOracle
Type:
objectTitle:
PublishExclusionRuleOracleThe publish exclusion rule resource.
Show Source
-
Description: string
A string. Description of the product rule.
-
ExclusionRule: string
The metering Expression applicable to the product rule.
-
id: string
The ID of the publish exclusion rule.
-
resourceType: string
The type or classification of the publish exclusion rule.
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.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
404 Response
The resource with the specified URI couldn't be found.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
Examples
The following example shows how to update a destination by submitting a patch request on the REST resource using cURL.
cURL Command
curl -u username:password -X PATCH
https://{FusionAppsHost}/crmRestApi/resources/11.13.18.05/PublishingAPI/publishDestination
-H 'Content-Type: application/json' -D @patch_publishdestination.json |
json_pp
Example of Request Body
The following shows an example of the request body in JSON format.
{
"description": "siebel test"
}
Example of Response Body
The following shows an example of the response body in JSON format.
{
"name": "siebel-test",
"type": "siebel",
"lastUpdate": "2025-03-10T09:55:27.045Z",
"lastUpdatedBy": "booth",
"created": "2025-01-13T07:54:08.000Z",
"createdBy": "booth",
"id": 300100626551273,
"description": "siebel test",
"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
}
}