Download schema file

get

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/v1/schema/{name}

Returns a list of schemas that match the search criteria.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The list of schemas was returned successfully.
Body ()
Root Schema : Error
Type: object
Title: Error
The error resource.
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
The error resource.
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
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 get a schema file 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/v1/schema/Attachment.yml' \ -H 'Content-Type: application/json'

Example of Response Body

title: ProductOffering
type: object
parent: ProductOffering
description: 'Represents entities that are orderable from the provider of the catalog, this resource includes pricing information.'
properties:
  id:
    type: string
    maxLength: 30
    description: Unique identifier of the product offering
  href:
    type: string
    description: Reference of the Product offering
  name:
    type: string
    description: Name of the product offering
  description:
    type: string
    description: Description of the product offering
  isBundle:
    type: boolean
    description: 'isBundle determines whether a product offering represents a single product offering (false), or a bundle of product offerings (true).'
...

CategoryRef:
    type: object
    description: 'Category reference. The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource or service candidates.'
Back to Top