Get all destinations

get

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

Request

Query Parameters
  • The number of resources to be returned in the response. The minimum value that can be specified is 1, and the maximum value that can be specified is 100,000. If the specified value is greater than 100,000, then it defaults to 100,000.
  • The name of the resource.
  • The record number from which the retrieval starts. The default value is zero. If no value is specified, then it defaults to zero. The value zero indicates that the retrieval will start from the beginning of the collection.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : schema
Type: array
Show Source
Nested 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 get all destinations by submitting a get request on the REST resource using cURL.

cURL Command

curl -u username:password -X POST https://{FusionAppsHost}/crmRestApi/resources/11.13.18.05/PublishingAPI/publishDestination -H 'Content-Type: application/json' | json_pp

Example of Response Body

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

[
    {
        "name": "siebel-test",
        "type": "siebel",
        "lastUpdate": "2024-11-28T06:35:58.039Z",
        "lastUpdatedBy": "booth",
        "created": "2024-11-28T06:32:45.000Z",
        "createdBy": "booth",
        "modificationNumber": 2,
        "id": 300100614433908,
        "mode": "Internal",
        "href": "https://cptaryeqy.fusionapps.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/PublishingAPI/publishDestination/300100614433908",
        "publishExclusionRule": [
            {
                "resourceType": "productOffering",
                "exclusionRule": "(VALUEOF(productType) IN_LIST (COMMERCIAL_BUNDLE,SERVICE_BUNDLE))"
            }
        ],
        "characteristics": {
            "order": 2
        }
    },
    {
        "name": "scd-test",
        "type": "scd",
        "lastUpdate": "2024-11-14T08:13:14.071Z",
        "lastUpdatedBy": "booth",
        "created": "2024-11-14T08:13:14.000Z",
        "createdBy": "booth",
        "modificationNumber": 1,
        "id": 300100613913186,
        "mode": "Internal",
        "entryLifecycleStatus": "Ready to publish",
        "href": "https://cptaryeqy.fusionapps.ocs.oc-test.com:443/crmRestApi/atcProductCatalog/11.13.18.05/PublishingAPI/publishDestination/300100613913186",
        "characteristics": {
            "order": 3
        }
    }
]
Back to Top