Get all attributes

get

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/attribute

Request

Query Parameters
  • The base class type of the resource.
  • The link to the location where the scheme of the resource is defined.
  • The class type of the resource.
  • The description of the resource.
  • Project Id
  • The comma-separated field names that are returned in the response. The field names are the names that you specify when you create or retrieve a resource.
  • The unique identifier of the resource item.
  • The current lifecycle status of the resource.
  • 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.
  • The current version of the resource.
  • enrich objects with usedBy information

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 : AttributeOracle
Type: object
Title: AttributeOracle
Show Source
Nested Schema : allowedUnits
Type: array
Show Source
Nested Schema : attributeRelationship
Type: array
Show Source
  • ProductSpecCharRelationship
    Title: ProductSpecCharRelationship
    Discriminator: { "propertyName":"@type", "mapping":{ "ProductSpecCharRelationship":"#/components/schemas/ProductSpecCharRelationship", "ProductSpecCharRelationshipOracle":"#/components/schemas/ProductSpecCharRelationshipOracle" } }
    An aggregation, migration, substitution, dependency or exclusivity relationship between/among productSpecCharacteristics.
Nested Schema : attributeValue
Type: array
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Nested Schema : TimePeriodOracle
Type: object
Title: TimePeriodOracle
Validity period of the related party
Show Source
Nested Schema : ProductSpecCharRelationship
Type: object
Title: ProductSpecCharRelationship
Discriminator: @type

Discriminator Values

An aggregation, migration, substitution, dependency or exclusivity relationship between/among productSpecCharacteristics.
Show Source
  • base class type (immediate parent) of the productSpecCharRelationship
  • hyperlink reference to schema describing this object
  • Class type of target product specification
  • The order in which a CharacteristicSpecification appears within another CharacteristicSpecification that defines a grouping of CharacteristicSpecifications. For example, a grouping may represent the name of an individual. The given name is first, the middle name is second, and the last name is third.
  • Hyperlink reference to the target product specification
  • the identifier of the associated product specification
  • Name of the target product specification characteristic
  • Allowed Values: [ "AGGREGATION", "MIGRATION", "SUBSTITUTION", "DEPENDENCY", "EXCLUSIVITY" ]
    Type of relationship such as aggregation, migration, substitution, dependency, exclusivity
  • TimePeriodOracle
    Title: TimePeriodOracle
    Validity period of the related party
Nested Schema : ProductSpecCharacteristicValueOracle
Title: ProductSpecCharacteristicValueOracle
Match All
Show Source
Nested Schema : ProductSpecCharacteristicValue
Type: object
Title: ProductSpecCharacteristicValue
Discriminator: @type

Discriminator Values

A number or text that can be assigned to a ProductSpecCharacteristic.
Show Source
  • base class type (immediate parent) of the ProductSpecCharacteristic
  • Hyperlink reference to schema describing this object
  • The class type of the characteristic value
  • Indicates if the value is the default value for a characteristic
  • Allowed Values: [ "OPEN", "CLOSED", "CLOSED_BOTTOM", "CLOSED_TOP" ]
    An indicator that specifies the inclusion or exclusion of the valueFrom and valueTo attributes. If applicable, possible values are "open", "closed", "closedBottom" and "closedTop".
  • Regular expression to define constraint on the allowed value
  • Allowed Values: [ "NONE", "SECOND", "MINUTE", "HOUR", "DAY", "MONTH", "BYTE", "KILOBYTE", "MEGABYTE", "GIGABYTE", "PAGES", "MOVIES", "TIME_INTERVAL", "QUANTITY", "MBPS", "GBPS" ]
    Could be minutes, GB...
  • TimePeriodOracle
    Title: TimePeriodOracle
    Validity period of the related party
  • value
    A discrete value that the characteristic can take on. the value type is defined by 'valueType' characteristic
  • The low range value that a characteristic can take on
  • The upper range value that a characteristic can take on
  • Allowed Values: [ "STRING", "NUMBER", "OBJECT", "ARRAY", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "URL" ]
    A kind of value that the characteristic can take on, such as numeric, text, and so forth
Nested Schema : ProductSpecCharacteristicValueOracle-allOf[1]
Type: object
Show Source
Nested Schema : attachment
Type: array
Show Source
Nested Schema : valueRelationship
Type: array
Show Source
Nested Schema : AttachmentRefOrValue
Type: object
Title: AttachmentRefOrValue
Complements the description of an element (for instance a product) through video, pictures...
Show Source
Nested Schema : Quantity
Type: object
Title: Quantity
A number and unit representing how many of an ProductOffering is available at the offered price.
Show Source
  • A quantity of something, typically the total of a thing or things in number, size, value, extent, or money.
  • Allowed Values: [ "NONE", "SECOND", "MINUTE", "HOUR", "DAY", "MONTH", "BYTE", "KILOBYTE", "MEGABYTE", "GIGABYTE", "PAGES", "MOVIES", "TIME_INTERVAL", "QUANTITY", "MBPS", "GBPS" ]
    The unit of measure for the quantity, such as meters, cubic yards, kilograms [ISO 80000], and the currency referring to [ISO 4217].
Nested Schema : ValueRelationshipOracle
Type: object
Title: ValueRelationshipOracle
Represent the value of a characteristic forming the constraint rule
Show Source
  • A length, surface, volume, dry measure, liquid measure, money, weight, time, and the like. In general, a determinate quantity or magnitude of the kind designated, taken as a standard of comparison for others of the same kind, in assigning to them numerical values, as 1 foot, 1 yard, 1 mile, 1 square foot.
  • value
    Value representing a Relationship attribute
Nested Schema : value
Value representing a Relationship attribute
Match One Schema
Show Source
Nested Schema : value-oneOf[1]
Type: object
Nested Schema : value-oneOf[4]
Type: array

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 attributes 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/productCatalogManagement/v1/attribute -H 'Content-Type: application/json' | json_pp

Example of Request Body

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


                  

Example of Response Body

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

[
    {
        "id": "ATT-1587858849-1722416891698",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/attribute/ATT-1587858849-1722416891698",
        "name": "Color_test",
        "version": "1.0",
        "lifecycleStatus": "In design",
        "valueType": "STRING",
        "@type": "AttributeOracle",
        "extensible": true,
        "configurable": true,
        "minCardinality": 0,
        "maxCardinality": 1,
        "validFor": {
            "startDateTime": "2024-07-31T00:00:00.000Z"
        },
        "attributeValue": [
            {
                "value": "Black",
                "valueType": "STRING",
                "unitOfMeasure": "NONE",
                "isDefault": true,
                "validFor": {
                    "startDateTime": "2024-07-31T00:00:00.000Z"
                },
                "sequence": 1
            },
            {
                "value": "Grey",
                "valueType": "STRING",
                "unitOfMeasure": "NONE",
                "isDefault": false,
                "validFor": {
                    "startDateTime": "2024-07-31T00:00:00.000Z"
                },
                "sequence": 2
            },
            {
                "value": "Red",
                "valueType": "STRING",
                "unitOfMeasure": "NONE",
                "isDefault": false,
                "validFor": {
                    "startDateTime": "2024-07-31T00:00:00.000Z"
                },
                "sequence": 3
            }
        ],
        "versionState": 0,
        "project": {
            "id": "AttributeTestInit",
            "name": "AttributeTestInit",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/AttributeTestInit",
            "version": "1.0"
        }
    },
    {
        "id": "AutoAttrID_G6THCVO7O9GRIFV",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/attribute/AutoAttrID_G6THCVO7O9GRIFV",
        "name": "AutoAttrNAME_G6THCVO7O9GRIFV",
        "description": "AutomationProject",
        "version": "1.0",
        "lifecycleStatus": "Launched",
        "valueType": "NUMBER",
        "@type": "AttributeOracle",
        "minCardinality": 0,
        "maxCardinality": 1,
        "validFor": {
            "startDateTime": "2024-07-16T00:00:00.000Z"
        },
        "attributeValue": [
            {
                "value": 9,
                "rangeInterval": "OPEN",
                "valueTo": "10",
                "valueFrom": "1",
                "valueType": "NUMBER",
                "isDefault": true,
                "validFor": {
                    "startDateTime": "2024-07-16T00:00:00.000Z"
                },
                "sequence": 1
            },
            {
                "value": 11,
                "rangeInterval": "OPEN",
                "valueTo": "20",
                "valueFrom": "11",
                "valueType": "NUMBER",
                "isDefault": false,
                "validFor": {
                    "startDateTime": "2024-07-16T00:00:00.000Z"
                },
                "sequence": 2
            }
        ],
        "versionState": 2,
        "project": {
            "id": "ProjectG6THCVO7O9GRIFV",
            "name": "AutoProjectG6THCVO7O9GRIFV",
            "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/ProjectG6THCVO7O9GRIFV",
            "version": "1.0"
        }
    },
	...
]
Back to Top