Zum Inhalt

Item Attributes

This service returns the available attributes and associated values. It also returns Translations for both names and values.

Service Endpoint

The base Endpoint is:

OutboundItemAttributesIISWebService/OutboundItemAttributesIISWebService

API Methods

Here are the available methods for the Item Attributes Service:

GetItemAttributes

Sample Request

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" 
  xmlns:out="http://tempuri.org/OutboundItemAttributesIISWebService/" 
  xmlns:x53="urn:microsoft-dynamics-nav/xmlports/x5371221">
   <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <wsa:Action>http://tempuri.org/OutboundItemAttributesIISWebService/OutboundItemAttributesIISWebService/GetItemAttributes</wsa:Action>
   </soap:Header>
   <soap:Body>
      <out:GetItemAttributes>
         <out:outboundItemAttributes/>
      </out:GetItemAttributes>
   </soap:Body>
</soap:Envelope>

Sample Response

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
   <s:Header>
      <a:Action s:mustUnderstand="1">http://tempuri.org/OutboundItemAttributesIISWebService/OutboundItemAttributesIISWebService/GetItemAttributesResponse</a:Action>
   </s:Header>  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetItemAttributesResponse xmlns="http://tempuri.org/OutboundItemAttributesIISWebService/">
         <outboundItemAttributes>
            <ItemAttribute Type="0" Blocked="false" Attribute_ID="1" xmlns="urn:microsoft-dynamics-nav/xmlports/x5371221">
               <Name>Farbe</Name>              <Unit_Of_Measure/>
               <Translations>
                  <Translation>
                     <Code>ENU</Code>
                     <Name>Color</Name>
                  </Translation>
               </Translations>
               <Values>
                  <Value Blocked="false" Value_ID="1">
                     <Value>Rot</Value>                    <ValueTranslations>
                        <ValueTranslation>
                           <Code>ENU</Code>
                           <Name>scarlet</Name>
                        </ValueTranslation>
                     </ValueTranslations>
                  </Value>
                  <Value Blocked="false" Value_ID="2">
                     <Value>Orange</Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="3">
                     <Value>Gelb</Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="4">
                     <Value>Grün</Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="5">
                     <Value>Blau</Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="6">
                     <Value>Violett</Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="7">
                     <Value>Lila</Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="8">
                     <Value>Schwarz</Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="9">
                     <Value>Weiß/Value>
                     <ValueTranslations/>
                  </Value>
                  <Value Blocked="false" Value_ID="51">
                     <Value/>
                     <ValueTranslations/>
                  </Value>
               </Values>
            </ItemAttribute>
         </outboundItemAttributes>
      </GetItemAttributesResponse>
   </s:Body>
</s:Envelope>

Field Information

Item Attribute Result Field Information

Name Description Type max. Length Occurance
🔑 No Specifies the item no. String 20 1..1
Name Specifies the attribute name. String 250 1..1
Unit_of_Measure Specifies the attribute name. String 30 0..1
Value The attribute value. String 250 1..1
Numeric_Value If available this contains the decimal/int value to a string. Decimal 0..1
Blocked Specifies wheter this is a valid attribute. boolean 0..1
Attribute_ID The attribute ID. integer 1..1
Value_ID The value ID. integer 1..1
Code If translations are available this specifies the NAV language code. String 10 0..1