Runtime Attribute Service API

AttributeDescriptors

attributeDescriptorsGet

View AttributeDescriptors.

View details about AttributeDescriptors.


/AttributeDescriptors

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/json"\
"https://localhost:9002/odata2webservices/RuntimeAttributeService/AttributeDescriptors?$top=&$skip=&$filter=&$inlinecount=&$expand="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributeDescriptorsApi;

import java.io.File;
import java.util.*;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        Integer $top = 56; // Integer | The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
        Integer $skip = 56; // Integer | The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
        String $filter = $filter_example; // String | A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html)
        String $inlinecount = ; // String | Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html)
        String $expand = $expand_example; // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)
        try {
            Wrapper result = apiInstance.attributeDescriptorsGet($top, $skip, $filter, $inlinecount, $expand);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AttributeDescriptorsApi;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        Integer $top = 56; // Integer | The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
        Integer $skip = 56; // Integer | The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
        String $filter = $filter_example; // String | A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html)
        String $inlinecount = ; // String | Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html)
        String $expand = $expand_example; // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)
        try {
            Wrapper result = apiInstance.attributeDescriptorsGet($top, $skip, $filter, $inlinecount, $expand);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
Integer *$top = 56; // The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html) (optional)
Integer *$skip = 56; // The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html) (optional)
String *$filter = $filter_example; // A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html) (optional)
String *$inlinecount = ; // Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html) (optional)
String *$expand = $expand_example; // Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html) (optional)

AttributeDescriptorsApi *apiInstance = [[AttributeDescriptorsApi alloc] init];

// View AttributeDescriptors.
[apiInstance attributeDescriptorsGetWith:$top
    $skip:$skip
    $filter:$filter
    $inlinecount:$inlinecount
    $expand:$expand
              completionHandler: ^(Wrapper output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RuntimeAttributeServiceApi = require('runtime_attribute_service_api');
var defaultClient = RuntimeAttributeServiceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new RuntimeAttributeServiceApi.AttributeDescriptorsApi()
var opts = { 
  '$top': 56, // {{Integer}} The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
  '$skip': 56, // {{Integer}} The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
  '$filter': $filter_example, // {{String}} A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html)
  '$inlinecount': , // {{String}} Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html)
  '$expand': $expand_example // {{String}} Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attributeDescriptorsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attributeDescriptorsGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new AttributeDescriptorsApi();
            var $top = 56;  // Integer | The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html) (optional) 
            var $skip = 56;  // Integer | The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html) (optional) 
            var $filter = $filter_example;  // String | A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html) (optional) 
            var $inlinecount = new String(); // String | Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html) (optional) 
            var $expand = $expand_example;  // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html) (optional) 

            try
            {
                // View AttributeDescriptors.
                Wrapper result = apiInstance.attributeDescriptorsGet($top, $skip, $filter, $inlinecount, $expand);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AttributeDescriptorsApi.attributeDescriptorsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\ApiAttributeDescriptorsApi();
$$top = 56; // Integer | The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
$$skip = 56; // Integer | The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
$$filter = $filter_example; // String | A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html)
$$inlinecount = ; // String | Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html)
$$expand = $expand_example; // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)

try {
    $result = $api_instance->attributeDescriptorsGet($$top, $$skip, $$filter, $$inlinecount, $$expand);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AttributeDescriptorsApi->attributeDescriptorsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributeDescriptorsApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';

my $api_instance = WWW::SwaggerClient::AttributeDescriptorsApi->new();
my $$top = 56; # Integer | The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
my $$skip = 56; # Integer | The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
my $$filter = $filter_example; # String | A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html)
my $$inlinecount = ; # String | Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html)
my $$expand = $expand_example; # String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)

eval { 
    my $result = $api_instance->attributeDescriptorsGet($top => $$top, $skip => $$skip, $filter => $$filter, $inlinecount => $$inlinecount, $expand => $$expand);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AttributeDescriptorsApi->attributeDescriptorsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.AttributeDescriptorsApi()
$top = 56 # Integer | The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html) (optional)
$skip = 56 # Integer | The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html) (optional)
$filter = $filter_example # String | A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html) (optional)
$inlinecount =  # String | Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html) (optional)
$expand = $expand_example # String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html) (optional)

try: 
    # View AttributeDescriptors.
    api_response = api_instance.attribute_descriptors_get($top=$top, $skip=$skip, $filter=$filter, $inlinecount=$inlinecount, $expand=$expand)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AttributeDescriptorsApi->attributeDescriptorsGet: %s\n" % e)

Parameters

Query parameters
Name Description
$top
Integer
The maximum number of items to return. If it's greater than or equal to the number of matching items existing in the platform, then all items will be returned. If it's less than the number of matching items in the platform, a subset containing top number of items will be returned. See [$top](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
$skip
Integer
The number of matching items to skip over before returning the result set. If skip is larger than the number of matching items then no items will be returned. See [$skip](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/cf34b9bbd7d94e0c9eb37e5147d20da1.html)
$filter
String
A predicate expression for selecting a subset of the items identified by the resource path. See [$filter](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/eaaf8deda5b34842b6857ed1e5f0dab6.html)
$inlinecount
String
Specifies if the total number of items should be included in the response. See [$inlinecount](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/04feab0a91ee4763939eeafc95d8d386.html)
$expand
String
Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)

Responses

Status: 200 - A collection of 0 or more AttributeDescriptors.

Status: 400 - Error responses that may occur due to an exception related to the filter query parameter.

Status: 401 - Unauthorized exception responses

Status: 403 - Forbidden exception responses

Status: 404 - Not Found exception responses for GET operations.


attributeDescriptorsIntegrationKeyDelete

Delete an AttributeDescriptor.

Deletes the AttributeDescriptor with the corresponding integrationKey.


/AttributeDescriptors(%27{integrationKey}%27)

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/json"\
"https://localhost:9002/odata2webservices/RuntimeAttributeService/AttributeDescriptors(%27{integrationKey}%27)"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributeDescriptorsApi;

import java.io.File;
import java.util.*;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        String integrationKey = integrationKey_example; // String | key: integrationKey
        String integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
        try {
            apiInstance.attributeDescriptorsIntegrationKeyDelete(integrationKey, integrationMessageId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsIntegrationKeyDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AttributeDescriptorsApi;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        String integrationKey = integrationKey_example; // String | key: integrationKey
        String integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
        try {
            apiInstance.attributeDescriptorsIntegrationKeyDelete(integrationKey, integrationMessageId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsIntegrationKeyDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
String *integrationKey = integrationKey_example; // key: integrationKey
String *integrationMessageId = integrationMessageId_example; // The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional)

AttributeDescriptorsApi *apiInstance = [[AttributeDescriptorsApi alloc] init];

// Delete an AttributeDescriptor.
[apiInstance attributeDescriptorsIntegrationKeyDeleteWith:integrationKey
    integrationMessageId:integrationMessageId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RuntimeAttributeServiceApi = require('runtime_attribute_service_api');
var defaultClient = RuntimeAttributeServiceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new RuntimeAttributeServiceApi.AttributeDescriptorsApi()
var integrationKey = integrationKey_example; // {{String}} key: integrationKey
var opts = { 
  'integrationMessageId': integrationMessageId_example // {{String}} The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.attributeDescriptorsIntegrationKeyDelete(integrationKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attributeDescriptorsIntegrationKeyDeleteExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new AttributeDescriptorsApi();
            var integrationKey = integrationKey_example;  // String | key: integrationKey
            var integrationMessageId = integrationMessageId_example;  // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional) 

            try
            {
                // Delete an AttributeDescriptor.
                apiInstance.attributeDescriptorsIntegrationKeyDelete(integrationKey, integrationMessageId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AttributeDescriptorsApi.attributeDescriptorsIntegrationKeyDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\ApiAttributeDescriptorsApi();
$integrationKey = integrationKey_example; // String | key: integrationKey
$integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.

try {
    $api_instance->attributeDescriptorsIntegrationKeyDelete($integrationKey, $integrationMessageId);
} catch (Exception $e) {
    echo 'Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributeDescriptorsApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';

my $api_instance = WWW::SwaggerClient::AttributeDescriptorsApi->new();
my $integrationKey = integrationKey_example; # String | key: integrationKey
my $integrationMessageId = integrationMessageId_example; # String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.

eval { 
    $api_instance->attributeDescriptorsIntegrationKeyDelete(integrationKey => $integrationKey, integrationMessageId => $integrationMessageId);
};
if ($@) {
    warn "Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.AttributeDescriptorsApi()
integrationKey = integrationKey_example # String | key: integrationKey
integrationMessageId = integrationMessageId_example # String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional)

try: 
    # Delete an AttributeDescriptor.
    api_instance.attribute_descriptors_integration_key_delete(integrationKey, integrationMessageId=integrationMessageId)
except ApiException as e:
    print("Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyDelete: %s\n" % e)

Parameters

Path parameters
Name Description
integrationKey*
String
key: integrationKey
Required
Header parameters
Name Description
integrationMessageId
String
The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.

Responses

Status: 200 - Indicates that the Attribute Descriptor was successfully deleted.

Status: 400 - Error responses that may occur when a DELETE request is made in an attempt to delete an item.

Status: 401 - Unauthorized exception responses

Status: 403 - Forbidden exception responses

Status: 404 - Not Found exception responses for PATCH and DELETE operations.


attributeDescriptorsIntegrationKeyGet

View an individual AttributeDescriptor.

Retrieves an AttributeDescriptor by its integrationKey.


/AttributeDescriptors(%27{integrationKey}%27)

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/json"\
"https://localhost:9002/odata2webservices/RuntimeAttributeService/AttributeDescriptors(%27{integrationKey}%27)?$expand="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributeDescriptorsApi;

import java.io.File;
import java.util.*;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        String integrationKey = integrationKey_example; // String | key: integrationKey
        String $expand = $expand_example; // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)
        try {
            Wrapper_1 result = apiInstance.attributeDescriptorsIntegrationKeyGet(integrationKey, $expand);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsIntegrationKeyGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AttributeDescriptorsApi;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        String integrationKey = integrationKey_example; // String | key: integrationKey
        String $expand = $expand_example; // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)
        try {
            Wrapper_1 result = apiInstance.attributeDescriptorsIntegrationKeyGet(integrationKey, $expand);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsIntegrationKeyGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
String *integrationKey = integrationKey_example; // key: integrationKey
String *$expand = $expand_example; // Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html) (optional)

AttributeDescriptorsApi *apiInstance = [[AttributeDescriptorsApi alloc] init];

// View an individual AttributeDescriptor.
[apiInstance attributeDescriptorsIntegrationKeyGetWith:integrationKey
    $expand:$expand
              completionHandler: ^(Wrapper_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RuntimeAttributeServiceApi = require('runtime_attribute_service_api');
var defaultClient = RuntimeAttributeServiceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new RuntimeAttributeServiceApi.AttributeDescriptorsApi()
var integrationKey = integrationKey_example; // {{String}} key: integrationKey
var opts = { 
  '$expand': $expand_example // {{String}} Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attributeDescriptorsIntegrationKeyGet(integrationKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attributeDescriptorsIntegrationKeyGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new AttributeDescriptorsApi();
            var integrationKey = integrationKey_example;  // String | key: integrationKey
            var $expand = $expand_example;  // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html) (optional) 

            try
            {
                // View an individual AttributeDescriptor.
                Wrapper_1 result = apiInstance.attributeDescriptorsIntegrationKeyGet(integrationKey, $expand);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AttributeDescriptorsApi.attributeDescriptorsIntegrationKeyGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\ApiAttributeDescriptorsApi();
$integrationKey = integrationKey_example; // String | key: integrationKey
$$expand = $expand_example; // String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)

try {
    $result = $api_instance->attributeDescriptorsIntegrationKeyGet($integrationKey, $$expand);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributeDescriptorsApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';

my $api_instance = WWW::SwaggerClient::AttributeDescriptorsApi->new();
my $integrationKey = integrationKey_example; # String | key: integrationKey
my $$expand = $expand_example; # String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)

eval { 
    my $result = $api_instance->attributeDescriptorsIntegrationKeyGet(integrationKey => $integrationKey, $expand => $$expand);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.AttributeDescriptorsApi()
integrationKey = integrationKey_example # String | key: integrationKey
$expand = $expand_example # String | Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html) (optional)

try: 
    # View an individual AttributeDescriptor.
    api_response = api_instance.attribute_descriptors_integration_key_get(integrationKey, $expand=$expand)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyGet: %s\n" % e)

Parameters

Path parameters
Name Description
integrationKey*
String
key: integrationKey
Required
Query parameters
Name Description
$expand
String
Specifies navigation properties for associated entries that will be inlined in the response body. By default, these navigation properties are represented as deferred links pointing to the item resource. See [$expand](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/d990bd1fbc98479d97078aa3890f5bb3.html)

Responses

Status: 200 - Success response with the retrieved AttributeDescriptor.

Status: 400 - Error responses that may occur when a DELETE request is made in an attempt to delete an item.

Status: 401 - Unauthorized exception responses

Status: 403 - Forbidden exception responses

Status: 404 - Not Found exception responses for GET operations.


attributeDescriptorsIntegrationKeyPatch

Update an existing AttributeDescriptor.

Updates the AttributeDescriptor with the corresponding integrationKey. For more information about the patch behavior see [Runtime Attribute Examples](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/7c5aff89a5fd4861a467a1a0f1a49408.html)


/AttributeDescriptors(%27{integrationKey}%27)

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://localhost:9002/odata2webservices/RuntimeAttributeService/AttributeDescriptors(%27{integrationKey}%27)"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributeDescriptorsApi;

import java.io.File;
import java.util.*;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        AttributeDescriptor body = ; // AttributeDescriptor | 
        String integrationKey = integrationKey_example; // String | key: integrationKey
        String prePersistHook = prePersistHook_example; // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String postPersistHook = postPersistHook_example; // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
        try {
            Wrapper_1 result = apiInstance.attributeDescriptorsIntegrationKeyPatch(body, integrationKey, prePersistHook, postPersistHook, integrationMessageId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsIntegrationKeyPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AttributeDescriptorsApi;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        AttributeDescriptor body = ; // AttributeDescriptor | 
        String integrationKey = integrationKey_example; // String | key: integrationKey
        String prePersistHook = prePersistHook_example; // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String postPersistHook = postPersistHook_example; // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
        try {
            Wrapper_1 result = apiInstance.attributeDescriptorsIntegrationKeyPatch(body, integrationKey, prePersistHook, postPersistHook, integrationMessageId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsIntegrationKeyPatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
AttributeDescriptor *body = ; // 
String *integrationKey = integrationKey_example; // key: integrationKey
String *prePersistHook = prePersistHook_example; // The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
String *postPersistHook = postPersistHook_example; // The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
String *integrationMessageId = integrationMessageId_example; // The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional)

AttributeDescriptorsApi *apiInstance = [[AttributeDescriptorsApi alloc] init];

// Update an existing AttributeDescriptor.
[apiInstance attributeDescriptorsIntegrationKeyPatchWith:body
    integrationKey:integrationKey
    prePersistHook:prePersistHook
    postPersistHook:postPersistHook
    integrationMessageId:integrationMessageId
              completionHandler: ^(Wrapper_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RuntimeAttributeServiceApi = require('runtime_attribute_service_api');
var defaultClient = RuntimeAttributeServiceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new RuntimeAttributeServiceApi.AttributeDescriptorsApi()
var body = ; // {{AttributeDescriptor}} 
var integrationKey = integrationKey_example; // {{String}} key: integrationKey
var opts = { 
  'prePersistHook': prePersistHook_example // {{String}} The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
  'postPersistHook': postPersistHook_example // {{String}} The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
  'integrationMessageId': integrationMessageId_example // {{String}} The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attributeDescriptorsIntegrationKeyPatch(bodyintegrationKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attributeDescriptorsIntegrationKeyPatchExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new AttributeDescriptorsApi();
            var body = new AttributeDescriptor(); // AttributeDescriptor | 
            var integrationKey = integrationKey_example;  // String | key: integrationKey
            var prePersistHook = prePersistHook_example;  // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional) 
            var postPersistHook = postPersistHook_example;  // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional) 
            var integrationMessageId = integrationMessageId_example;  // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional) 

            try
            {
                // Update an existing AttributeDescriptor.
                Wrapper_1 result = apiInstance.attributeDescriptorsIntegrationKeyPatch(body, integrationKey, prePersistHook, postPersistHook, integrationMessageId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AttributeDescriptorsApi.attributeDescriptorsIntegrationKeyPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\ApiAttributeDescriptorsApi();
$body = ; // AttributeDescriptor | 
$integrationKey = integrationKey_example; // String | key: integrationKey
$prePersistHook = prePersistHook_example; // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
$postPersistHook = postPersistHook_example; // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
$integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.

try {
    $result = $api_instance->attributeDescriptorsIntegrationKeyPatch($body, $integrationKey, $prePersistHook, $postPersistHook, $integrationMessageId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributeDescriptorsApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';

my $api_instance = WWW::SwaggerClient::AttributeDescriptorsApi->new();
my $body = WWW::SwaggerClient::Object::AttributeDescriptor->new(); # AttributeDescriptor | 
my $integrationKey = integrationKey_example; # String | key: integrationKey
my $prePersistHook = prePersistHook_example; # String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
my $postPersistHook = postPersistHook_example; # String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
my $integrationMessageId = integrationMessageId_example; # String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.

eval { 
    my $result = $api_instance->attributeDescriptorsIntegrationKeyPatch(body => $body, integrationKey => $integrationKey, prePersistHook => $prePersistHook, postPersistHook => $postPersistHook, integrationMessageId => $integrationMessageId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.AttributeDescriptorsApi()
body =  # AttributeDescriptor | 
integrationKey = integrationKey_example # String | key: integrationKey
prePersistHook = prePersistHook_example # String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
postPersistHook = postPersistHook_example # String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
integrationMessageId = integrationMessageId_example # String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional)

try: 
    # Update an existing AttributeDescriptor.
    api_response = api_instance.attribute_descriptors_integration_key_patch(body, integrationKey, prePersistHook=prePersistHook, postPersistHook=postPersistHook, integrationMessageId=integrationMessageId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AttributeDescriptorsApi->attributeDescriptorsIntegrationKeyPatch: %s\n" % e)

Parameters

Path parameters
Name Description
integrationKey*
String
key: integrationKey
Required
Header parameters
Name Description
Pre-Persist-Hook
String
The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
Post-Persist-Hook
String
The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
integrationMessageId
String
The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
Body parameters
Name Description
body *

Responses

Status: 200 - Indicates the Attribute Descriptor has been successfully updated.

Status: 400 - Error responses that may occur when a PATCH request is made in an attempt to update an item.

Status: 401 - Unauthorized exception responses

Status: 403 - Forbidden exception responses

Status: 404 - Not Found exception responses for PATCH and DELETE operations.

Status: 415 - Provided Media-Type is not supported


attributeDescriptorsPost

Create/Update AttributeDescriptors.

Creates a new Attribute Descriptor or updates an existing Attribute Descriptor if a corresponding one is found. For more information about the post behavior see [Runtime Attribute Examples](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/7c5aff89a5fd4861a467a1a0f1a49408.html)


/AttributeDescriptors

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://localhost:9002/odata2webservices/RuntimeAttributeService/AttributeDescriptors"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributeDescriptorsApi;

import java.io.File;
import java.util.*;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        AttributeDescriptors_body body = ; // AttributeDescriptors_body | 
        String prePersistHook = prePersistHook_example; // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String postPersistHook = postPersistHook_example; // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
        try {
            Wrapper_1 result = apiInstance.attributeDescriptorsPost(body, prePersistHook, postPersistHook, integrationMessageId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AttributeDescriptorsApi;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        AttributeDescriptors_body body = ; // AttributeDescriptors_body | 
        String prePersistHook = prePersistHook_example; // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String postPersistHook = postPersistHook_example; // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
        String integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
        try {
            Wrapper_1 result = apiInstance.attributeDescriptorsPost(body, prePersistHook, postPersistHook, integrationMessageId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
AttributeDescriptors_body *body = ; // 
String *prePersistHook = prePersistHook_example; // The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
String *postPersistHook = postPersistHook_example; // The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
String *integrationMessageId = integrationMessageId_example; // The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional)

AttributeDescriptorsApi *apiInstance = [[AttributeDescriptorsApi alloc] init];

// Create/Update AttributeDescriptors.
[apiInstance attributeDescriptorsPostWith:body
    prePersistHook:prePersistHook
    postPersistHook:postPersistHook
    integrationMessageId:integrationMessageId
              completionHandler: ^(Wrapper_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RuntimeAttributeServiceApi = require('runtime_attribute_service_api');
var defaultClient = RuntimeAttributeServiceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new RuntimeAttributeServiceApi.AttributeDescriptorsApi()
var body = ; // {{AttributeDescriptors_body}} 
var opts = { 
  'prePersistHook': prePersistHook_example // {{String}} The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
  'postPersistHook': postPersistHook_example // {{String}} The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
  'integrationMessageId': integrationMessageId_example // {{String}} The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attributeDescriptorsPost(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attributeDescriptorsPostExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new AttributeDescriptorsApi();
            var body = new AttributeDescriptors_body(); // AttributeDescriptors_body | 
            var prePersistHook = prePersistHook_example;  // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional) 
            var postPersistHook = postPersistHook_example;  // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional) 
            var integrationMessageId = integrationMessageId_example;  // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional) 

            try
            {
                // Create/Update AttributeDescriptors.
                Wrapper_1 result = apiInstance.attributeDescriptorsPost(body, prePersistHook, postPersistHook, integrationMessageId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AttributeDescriptorsApi.attributeDescriptorsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\ApiAttributeDescriptorsApi();
$body = ; // AttributeDescriptors_body | 
$prePersistHook = prePersistHook_example; // String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
$postPersistHook = postPersistHook_example; // String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
$integrationMessageId = integrationMessageId_example; // String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.

try {
    $result = $api_instance->attributeDescriptorsPost($body, $prePersistHook, $postPersistHook, $integrationMessageId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AttributeDescriptorsApi->attributeDescriptorsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributeDescriptorsApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';

my $api_instance = WWW::SwaggerClient::AttributeDescriptorsApi->new();
my $body = WWW::SwaggerClient::Object::AttributeDescriptors_body->new(); # AttributeDescriptors_body | 
my $prePersistHook = prePersistHook_example; # String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
my $postPersistHook = postPersistHook_example; # String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
my $integrationMessageId = integrationMessageId_example; # String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.

eval { 
    my $result = $api_instance->attributeDescriptorsPost(body => $body, prePersistHook => $prePersistHook, postPersistHook => $postPersistHook, integrationMessageId => $integrationMessageId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AttributeDescriptorsApi->attributeDescriptorsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.AttributeDescriptorsApi()
body =  # AttributeDescriptors_body | 
prePersistHook = prePersistHook_example # String | The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
postPersistHook = postPersistHook_example # String | The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html) (optional)
integrationMessageId = integrationMessageId_example # String | The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request. (optional)

try: 
    # Create/Update AttributeDescriptors.
    api_response = api_instance.attribute_descriptors_post(body, prePersistHook=prePersistHook, postPersistHook=postPersistHook, integrationMessageId=integrationMessageId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AttributeDescriptorsApi->attributeDescriptorsPost: %s\n" % e)

Parameters

Header parameters
Name Description
Pre-Persist-Hook
String
The execute method for the PrePersistHook invokes right before the Attribute Descriptor sent in the POST or PATCH request persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
Post-Persist-Hook
String
The execute method for the PostPersistHook invokes right after the item persists in the SAP Commerce platform. For more details see [Persistence Hooks](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/028a2af06880407cb4b1c0624693dadd.html)
integrationMessageId
String
The integrationMessageId header allows the user to trace any [InboundRequest](https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bad9b0b66bac476f8a4a5c4a08e4ab6b/485b479c3b294d88916edea277e409a4.html) back to the original POST, PATCH or DELETE request.
Body parameters
Name Description
body *

Responses

Status: 201 - Indicates the Attribute Descriptor has been successfully created/updated.

Status: 400 - Error responses that may occur due to an error occurring during an attempt to create a new Item.

Status: 401 - Unauthorized exception responses

Status: 403 - Forbidden exception responses

Status: 415 - Provided Media-Type is not supported


attributeDescriptorscountGet

View the total count of all AttributeDescriptors.

Displays the total count of all AttributeDescriptors.


/AttributeDescriptors/$count

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
-H "Accept: text/plain"\
"https://localhost:9002/odata2webservices/RuntimeAttributeService/AttributeDescriptors/$count"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributeDescriptorsApi;

import java.io.File;
import java.util.*;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        try {
            'String' result = apiInstance.attributeDescriptorscountGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorscountGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AttributeDescriptorsApi;

public class AttributeDescriptorsApiExample {

    public static void main(String[] args) {
        AttributeDescriptorsApi apiInstance = new AttributeDescriptorsApi();
        try {
            'String' result = apiInstance.attributeDescriptorscountGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AttributeDescriptorsApi#attributeDescriptorscountGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];

AttributeDescriptorsApi *apiInstance = [[AttributeDescriptorsApi alloc] init];

// View the total count of all AttributeDescriptors.
[apiInstance attributeDescriptorscountGetWithCompletionHandler: 
              ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RuntimeAttributeServiceApi = require('runtime_attribute_service_api');
var defaultClient = RuntimeAttributeServiceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new RuntimeAttributeServiceApi.AttributeDescriptorsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attributeDescriptorscountGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attributeDescriptorscountGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new AttributeDescriptorsApi();

            try
            {
                // View the total count of all AttributeDescriptors.
                'String' result = apiInstance.attributeDescriptorscountGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AttributeDescriptorsApi.attributeDescriptorscountGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\ApiAttributeDescriptorsApi();

try {
    $result = $api_instance->attributeDescriptorscountGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AttributeDescriptorsApi->attributeDescriptorscountGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributeDescriptorsApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';

my $api_instance = WWW::SwaggerClient::AttributeDescriptorsApi->new();

eval { 
    my $result = $api_instance->attributeDescriptorscountGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AttributeDescriptorsApi->attributeDescriptorscountGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.AttributeDescriptorsApi()

try: 
    # View the total count of all AttributeDescriptors.
    api_response = api_instance.attribute_descriptorscount_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AttributeDescriptorsApi->attributeDescriptorscountGet: %s\n" % e)

Parameters

Responses

Status: 200 - A success response displaying the total count of AttributeDescriptors.


Metadata

metadataGet

View the EDMX document for RuntimeAttributeService Attribute Descriptors

Requests for EDMX documents. The metadata is an Entity Data Model XML (EDMX) document that describes the entity types and their properties.


/$metadata

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
-H "Accept: application/xml"\
"https://localhost:9002/odata2webservices/RuntimeAttributeService/$metadata"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MetadataApi;

import java.io.File;
import java.util.*;

public class MetadataApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        MetadataApi apiInstance = new MetadataApi();
        try {
            apiInstance.metadataGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling MetadataApi#metadataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MetadataApi;

public class MetadataApiExample {

    public static void main(String[] args) {
        MetadataApi apiInstance = new MetadataApi();
        try {
            apiInstance.metadataGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling MetadataApi#metadataGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];

MetadataApi *apiInstance = [[MetadataApi alloc] init];

// View the EDMX document for RuntimeAttributeService Attribute Descriptors
[apiInstance metadataGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RuntimeAttributeServiceApi = require('runtime_attribute_service_api');
var defaultClient = RuntimeAttributeServiceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new RuntimeAttributeServiceApi.MetadataApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.metadataGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class metadataGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new MetadataApi();

            try
            {
                // View the EDMX document for RuntimeAttributeService Attribute Descriptors
                apiInstance.metadataGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MetadataApi.metadataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Swagger\Client\ApiMetadataApi();

try {
    $api_instance->metadataGet();
} catch (Exception $e) {
    echo 'Exception when calling MetadataApi->metadataGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MetadataApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';

my $api_instance = WWW::SwaggerClient::MetadataApi->new();

eval { 
    $api_instance->metadataGet();
};
if ($@) {
    warn "Exception when calling MetadataApi->metadataGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.MetadataApi()

try: 
    # View the EDMX document for RuntimeAttributeService Attribute Descriptors
    api_instance.metadata_get()
except ApiException as e:
    print("Exception when calling MetadataApi->metadataGet: %s\n" % e)

Parameters

Responses

Status: 200 - A valid EDMX schema.

Status: 401 - Unauthorized exception responses

Status: 403 - Forbidden exception responses