Get a catalog

get

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/catalog/{id}

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : CatalogOracle
Title: CatalogOracle
Match All
Show Source
  • Catalog
    Title: Catalog
    Discriminator: { "propertyName":"@type", "mapping":{ "Catalog":"#/components/schemas/Catalog", "CatalogOracle":"#/components/schemas/CatalogOracle" } }
  • type
Nested Schema : Catalog
Type: object
Title: Catalog
Discriminator: @type

Discriminator Values

Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
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 a catalog by submitting a GET request on the REST resource using cURL.

cURL Command

curl -u username:password -X GET https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/catalog/ConsumerCatalog \ -H 'Content-Type: application/json'

Example of Response Body

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

{
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/catalog/ConsumerCatalog",
    "lastUpdate": "2020-07-31 14:15:54.0",
    "lifecycleStatus": "In design",
    "validFor": {
        "endDateTime": "2020-08-15 00:00:00.0",
        "startDateTime": "2019-08-15 16:42:23.0",
        "empty": false
    },
    "project": {
        "name": "SpringProject",
        "id": "SpringProject"
    },
    "description": "Description of Consumer Catalog",
    "version": "1.0",
    "category": [
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/TV",
            "@referredType": "CategoryOracle",
            "name": "RTPC-TV",
            "id": "TV"
        },
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/tv",
            "@referredType": "CategoryOracle",
            "name": "TV",
            "id": "tv"
        },
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/wireless",
            "@referredType": "CategoryOracle",
            "name": " Wireless",
            "id": "wireless"
        },
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/internet",
            "@referredType": "CategoryOracle",
            "name": "Internet",
            "id": "internet"
        },
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/broadband",
            "@referredType": "CategoryOracle",
            "name": "Broadband",
            "id": "broadband"
        },
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/multi-Play",
            "@referredType": "CategoryOracle",
            "name": "Multi-Play",
            "id": "multi-Play"
        },
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/voIP",
            "@referredType": "CategoryOracle",
            "name": "VoIP",
            "id": "voIP"
        },
        {
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/category/RHSEC",
            "@referredType": "CategoryOracle",
            "name": "Res Home Security",
            "id": "RHSEC"
        }
    ],
    "name": "Consumer Catalog",
    "id": "ConsumerCatalog",
    "@type": "CatalogOracle"
}
Back to Top